{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_y7db4qgc26e6","handle":"mcp-run-python","url":"https://wellknown.network/agents/mcp-run-python","links":{"self":"https://wellknown.network/agents/mcp-run-python/record.json","html":"https://wellknown.network/agents/mcp-run-python","markdown":"https://wellknown.network/agents/mcp-run-python/record.md","api":"https://wellknown.network/api/v1/agents/mcp-run-python","status":"https://wellknown.network/api/v1/agents/mcp-run-python/status","claim":"https://wellknown.network/agents/mcp-run-python/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-run-python/claim.json","badge":"https://wellknown.network/agents/mcp-run-python/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-run-python/history","tools":"https://wellknown.network/api/v1/agents/mcp-run-python/tools"},"ard":{"identifier":"urn:air::server:mcp-run-python","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-run-python","summary":"Model Context Protocol server to run Python code in a sandbox.","description":"<div align=\"center\">\n  <h1>MCP Run Python</h1>\n</div>\n<div align=\"center\">\n  <a href=\"https://github.com/pydantic/mcp-run-python/actions/workflows/ci.yml?query=branch%3Amain\"><img src=\"https://github.com/pydantic/mcp-run-python/actions/workflows/ci.yml/badge.svg?event=push\" alt=\"CI\"></a>\n  <a href=\"https://pypi.python.org/pypi/mcp-run-python\"><img src=\"https://img.shields.io/pypi/v/mcp-run-python.svg\" alt=\"PyPI\"></a>\n  <a href=\"https://github.com/pydantic/mcp-run-python\"><img src=\"https://img.shields.io/pypi/pyversions/mcp-run-python.svg\" alt=\"versions\"></a>\n  <a href=\"https://github.com/pydantic/mcp-run-python/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/pydantic/mcp-run-python.svg\" alt=\"license\"></a>\n  <a href=\"https://logfire.pydantic.dev/docs/join-slack/\"><img src=\"https://img.shields.io/badge/Slack-Join%20Slack-4A154B?logo=slack\" alt=\"Join Slack\" /></a>\n</div>\n<br/>\n<div align=\"center\">\n  MCP server to run Python code in a sandbox.\n</div>\n<br/>\n\nCode is executed using [Pyodide](https://pyodide.org) in [Deno](https://deno.com/) and is therefore isolated from\nthe rest of the operating system.\n\n## Features\n\n- **Secure Execution**: Run Python code in a sandboxed WebAssembly environment\n- **Package Management**: Automatically detects and installs required dependencies\n- **Complete Results**: Captures standard output, standard error, and return values\n- **Asynchronous Support**: Runs async code properly\n- **Error Handling**: Provides detailed error reports for debugging\n\n_(This code was previously part of [Pydantic AI](https://github.com/pydantic/pydantic-ai) but was moved to a separate repo to make it easier to maintain.)_\n\n## Usage\n\nTo use this server, you must have both Python and [Deno](https://deno.com/) installed.\n\nThe server can be run with `deno` installed using `uvx`:\n\n```bash\nuvx mcp-run-python [-h] [--version] [--port PORT] [--deps DEPS] {stdio,streamable-http,streamable-http-stateless,example}\n```\n\nwhere:\n\n- `stdio` runs the server …","publisher":{"name":"Samuel Colvin","url":null},"homepage":"https://github.com/pydantic/mcp-run-python","repository":"https://github.com/pydantic/mcp-run-python/releases","version":"0.0.22","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:mcp-run-python","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":1,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mcp-run-python","registry":"pypi","observedAt":"2026-11-09T17:25:35.267Z","publishedAt":"2025-12-11T22:47:44.749442Z","latestVersion":"0.0.22"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-run-python","url":"https://pypi.org/project/mcp-run-python/","firstSeenAt":"2026-09-10T03:19:26.738Z","fetchedAt":"2026-11-09T17:23:50.587Z","normalizedAt":"2026-11-09T17:23:50.587Z"}]},"firstSeenAt":"2026-09-10T03:19:26.738Z","updatedAt":"2026-11-09T17:25:35.267Z"}