Skip to content

Switch mcp-run-python server to use deno #1340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 3, 2025
Merged

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Apr 2, 2025

Switch from node/npm/npx to deno so we can ensure isolation using deno's sandboxing.

Usage of the new JSR package:

deno run \
  -N -R=node_modules -W=node_modules \
  --node-modules-dir=auto \
  jsr:@pydantic/mcp-run-python \
  [stdio|sse|warmup]

Copy link
Contributor

hyperlint-ai bot commented Apr 2, 2025

PR Change Summary

Updated the MCP Run Python documentation to reflect the use of Deno instead of Node for executing Python code.

  • Changed the execution environment from Node to Deno in the README.
  • Updated the command to run the server to include Deno-specific flags.
  • Clarified the transport options for running the server.

Modified Files

  • mcp-run-python/README.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

Copy link

github-actions bot commented Apr 2, 2025

Docs Preview

commit: f4b556c
Preview URL: https://daf27817-pydantic-ai-previews.pydantic.workers.dev

@samuelcolvin samuelcolvin changed the title Mcp run python deno Switch mcp-run-python server to use deno Apr 2, 2025
@samuelcolvin samuelcolvin enabled auto-merge (squash) April 3, 2025 09:35
@samuelcolvin samuelcolvin merged commit 583ac1a into main Apr 3, 2025
15 checks passed
@samuelcolvin samuelcolvin deleted the mcp-run-python-deno branch April 3, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants