{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_wfar4wxkbcyf","handle":"iflow-mcp-philschmid-code-sandbox-mcp","url":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp","links":{"self":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp/record.json","html":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp","markdown":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp/record.md","api":"https://wellknown.network/api/v1/agents/iflow-mcp-philschmid-code-sandbox-mcp","status":"https://wellknown.network/api/v1/agents/iflow-mcp-philschmid-code-sandbox-mcp/status","claim":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp/claim.json","badge":"https://wellknown.network/agents/iflow-mcp-philschmid-code-sandbox-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/iflow-mcp-philschmid-code-sandbox-mcp/history","tools":"https://wellknown.network/api/v1/agents/iflow-mcp-philschmid-code-sandbox-mcp/tools"},"ard":{"identifier":"urn:air::server:iflow-mcp-philschmid-code-sandbox-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"iflow-mcp_philschmid-code-sandbox-mcp","summary":"A simple code sandbox MCP server","description":"# Code Sandbox MCP Server\n\nThe Code Sandbox MCP Server is a lightweight, STDIO-based Model Context Protocol (MCP) Server, allowing AI assistants and LLM applications to safely execute code snippets using containerized environments. It is uses the [llm-sandbox](https://github.com/vndee/llm-sandbox) package to execute the code snippets. \n\n![Code Sandbox MCP](./assets/code-sandbox-mcp.png)\n\n**How It Works:**\n1. Starts a container session (podman, docker, etc.) and ensures the session is open.\n2. Writes the `code` to a temporary file on the host.\n3. Copies this temporary file into the container at the configured `workdir`.\n4. Executes the language-specific commands to run the code, e.g. python `python3 -u code.py` or javascript `node -u code.js`\n5. Captures the output and error streams from the container.\n6. Returns the output and error streams to the client.\n7. Stops and removes the container. \n\n**Available Tools:**\n- **run_python_code** - Executes a snippet of Python code in a secure, isolated sandbox.\n  - `code` (string, required): The Python code to execute.\n- **run_js_code** - Executes a snippet of JavaScript (Node.js) code in a secure, isolated sandbox.\n  - `code` (string, required): The JavaScript code to execute.\n\n## Installation\n\n```bash\npip install git+https://github.com/philschmid/code-sandbox-mcp.git\n```\n\n## Getting Started: Usage with an MCP Client\n\nExamples:\n- [Local Client Python](./examples/test_local_client_python.py) example for running python code\n- [Gemini SDK](./examples/test_gemini.py) example for running python code with the Gemini SDK\n- [Calling Gemini from a client](./examples/test_client_gemini_call.py) example for running python code that uses the Gemini SDK and passes through the Gemini API key\n- [Local Client Javascript](./examples/test_local_client_js.py) example for running javascript code\n\nTo use the Code Sandbox MCP server, you need to add it to your MCP client's configuration file (e.g., in your AI assistant's settings). The server is …","publisher":null,"homepage":"https://github.com/philschmid/code-sandbox-mcp","repository":"https://github.com/philschmid/code-sandbox-mcp/issues","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:iflow-mcp_philschmid-code-sandbox-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"code.execution","name":"Code Execution","confidence":1,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["code","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":"iflow-mcp_philschmid-code-sandbox-mcp","registry":"pypi","observedAt":"2026-09-15T19:23:30.936Z","publishedAt":"2026-02-07T21:41:42.545070Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"iflow-mcp_philschmid-code-sandbox-mcp","url":"https://pypi.org/project/iflow-mcp_philschmid-code-sandbox-mcp/","firstSeenAt":"2026-09-09T20:25:02.776Z","fetchedAt":"2026-09-15T19:22:38.248Z","normalizedAt":"2026-09-15T19:22:38.248Z"}]},"firstSeenAt":"2026-09-09T20:25:02.776Z","updatedAt":"2026-09-15T19:23:30.936Z"}