{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_jjhzsytv35hr","handle":"iflow-mcp-draphonix-mcp-code-mode","url":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode","links":{"self":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode/record.json","html":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode","markdown":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode/record.md","api":"https://wellknown.network/api/v1/agents/iflow-mcp-draphonix-mcp-code-mode","status":"https://wellknown.network/api/v1/agents/iflow-mcp-draphonix-mcp-code-mode/status","claim":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode/claim.json","badge":"https://wellknown.network/agents/iflow-mcp-draphonix-mcp-code-mode/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/iflow-mcp-draphonix-mcp-code-mode/history","tools":"https://wellknown.network/api/v1/agents/iflow-mcp-draphonix-mcp-code-mode/tools"},"ard":{"identifier":"urn:air::server:iflow-mcp-draphonix-mcp-code-mode","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"iflow-mcp_draphonix_mcp-code-mode","summary":"Code Execution MCP Server using DSpy and MCP","description":"# MCP Code Mode\n\nPrototype implementation for the Code Execution MCP Server with DSpy. The \"Code Execution with MCP\" architecture combines the strengths of Large Language Models at code generation with the Model Context Protocol for tool integration. This system enables an AI agent to write Python code that runs in an isolated sandbox while seamlessly calling external MCP tools.\n\n## Quick Start\n\n### 1. Installation\nRequires Python 3.11+ and Node.js 20+.\n\n```bash\n# Create virtual environment\npython3.11 -m venv .venv\nsource .venv/bin/activate\n\n# Install dependencies\npip install -e .[dev]\n\n# Install Node.js dependencies for reference servers\nnpm install -g npm@latest\n```\n\n### 2. Configuration\nCopy the example environment file and configure secrets:\n```bash\ncp .env.example .env\n```\n\nConfigure your MCP servers in `mcp_servers.json`:\n```json\n{\n  \"servers\": {\n    \"filesystem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@modelcontextprotocol/server-filesystem\", \"/your-working-folder\"],\n      \"description\": \"Local file system operations\"\n    }\n  }\n}\n```\n\n### 3. Running the Server\nLaunch the Code Execution MCP server:\n```bash\npython -m mcp_code_mode.executor_server\n```\n\n### 4. Verification\nVerify your setup by running the debug executor script. This script simulates an MCP client, connects to the server, and runs a test task to ensure the agent and tools are working correctly.\n\nBefore running the script:\n1. Configure the MCP servers you want to interact with in `mcp_servers.json`.\n2. Define the specific task you want the agent to perform by editing the `task` variable in `scripts/debug_executor.py`.\n\n```bash\npython scripts/debug_executor.py\n```\n\n## Development Commands\n\n| Command | Description |\n|---------|-------------|\n| `pytest` | Run all tests |\n| `ruff check .` | Lint the codebase |\n| `black .` | Format the codebase |\n| `mypy src` | Type check the source |\n| `python scripts/test_dspy_sandbox.py` | Sanity check the sandbox |\n| `python scripts/debug_executor.py` | In…","publisher":{"name":"Codex","url":null},"homepage":null,"repository":null,"version":"0.1.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:iflow-mcp_draphonix_mcp-code-mode","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"dev.filesystem","name":"Filesystem","confidence":0.882,"provenance":"derived"},{"slug":"code.execution","name":"Code Execution","confidence":0.859,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.814,"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_draphonix_mcp-code-mode","registry":"pypi","observedAt":"2026-10-28T04:28:18.867Z","publishedAt":"2026-02-02T03:35:41.344300Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"iflow-mcp_draphonix_mcp-code-mode","url":"https://pypi.org/project/iflow-mcp_draphonix_mcp-code-mode/","firstSeenAt":"2026-09-09T18:22:01.713Z","fetchedAt":"2026-10-28T04:26:35.845Z","normalizedAt":"2026-10-28T04:26:35.845Z"}]},"firstSeenAt":"2026-09-09T18:22:01.713Z","updatedAt":"2026-10-28T04:28:18.867Z"}