{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_pcw8q4s3gbk9","handle":"code-execution-mcp","url":"https://wellknown.network/agents/code-execution-mcp","links":{"self":"https://wellknown.network/agents/code-execution-mcp/record.json","html":"https://wellknown.network/agents/code-execution-mcp","markdown":"https://wellknown.network/agents/code-execution-mcp/record.md","api":"https://wellknown.network/api/v1/agents/code-execution-mcp","status":"https://wellknown.network/api/v1/agents/code-execution-mcp/status","claim":"https://wellknown.network/agents/code-execution-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/code-execution-mcp/claim.json","badge":"https://wellknown.network/agents/code-execution-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/code-execution-mcp/history","tools":"https://wellknown.network/api/v1/agents/code-execution-mcp/tools"},"ard":{"identifier":"urn:air::server:code-execution-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"code-execution-mcp","summary":"MCP server exposing Agent Zero's code execution capabilities","description":"# Code Execution MCP Server\n\nA Model Context Protocol (MCP) server that exposes [Agent Zero's](https://github.com/agent0ai/agent-zero) battle-tested code execution capabilities.\n\nThis MCP server allows any AI agent (Claude, Cursor, Windsurf, etc.) to execute terminal commands and Python code on the host system using Agent Zero's proven implementation.\n\n## Features\n\n- **Execute Terminal Commands**: Run shell commands with full session persistence\n- **Execute Python Code**: Run Python code via IPython with session management\n- **Multiple Sessions**: Maintain separate execution contexts\n- **Smart Output Handling**: Automatic prompt detection, timeout management, and dialog detection\n- **Cross-Platform**: Works on Linux, macOS, and Windows (experimental)\n\n## MCP Client Configuration (no installation needed)\n\nAdd to your application MCP config:\n\n- simple case using uvx\n\n```json\n{\n  \"mcpServers\": {\n    \"code-execution\": {\n      \"command\": \"uvx\",\n      \"args\": [\"code-execution-mcp\"]\n    }\n  }\n}\n```\n\n- or pipx if uvx is not installed\n\n```json\n{\n  \"mcpServers\": {\n    \"code-execution\": {\n      \"command\": \"pipx\",\n      \"args\": [\"run\", \"code-execution-mcp\"]\n    }\n  }\n}\n```\n\n## Additional configuration\n\nThe MCP server can be configured via environment variables:\n\n```bash\n# Shell executable (default: /bin/bash on Unix, powershell.exe on Windows)\nexport CODE_EXEC_EXECUTABLE=/bin/bash\n\n# Init commands (semicolon-separated, run when creating new sessions, empty by default)\nexport CODE_EXEC_INIT_COMMANDS=\"source /path/to/venv/bin/activate;export PATH=\\$PATH:/custom/bin\"\n\n# Timeout configuration (in seconds)\nexport CODE_EXEC_FIRST_OUTPUT_TIMEOUT=30      # Wait for first output\nexport CODE_EXEC_BETWEEN_OUTPUT_TIMEOUT=15    # Wait between output chunks\nexport CODE_EXEC_DIALOG_TIMEOUT=5             # Detect dialog prompts\nexport CODE_EXEC_MAX_EXEC_TIMEOUT=180         # Maximum execution time\n\n# Log directory (default empty = logging disabled)\nexport CODE_EXEC_LOG_DIR=/path/to/logs\n```\n\n…","publisher":null,"homepage":null,"repository":null,"version":"0.1.3","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:code-execution-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"code.execution","name":"Code Execution","confidence":1,"provenance":"derived"},{"slug":"dev.terminal","name":"Terminal & Shell","confidence":1,"provenance":"derived"},{"slug":"ai.prompting","name":"Prompt Management","confidence":0.791,"provenance":"derived"}],"categories":["ai","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":"code-execution-mcp","registry":"pypi","observedAt":"2026-09-15T11:23:10.886Z","publishedAt":"2025-11-26T13:38:48.778159Z","latestVersion":"0.1.3"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"code-execution-mcp","url":"https://pypi.org/project/code-execution-mcp/","firstSeenAt":"2026-09-09T11:31:31.422Z","fetchedAt":"2026-09-15T11:22:34.444Z","normalizedAt":"2026-09-15T11:22:34.444Z"}]},"firstSeenAt":"2026-09-09T11:31:31.422Z","updatedAt":"2026-09-15T11:23:10.886Z"}