{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_vjhgfwzk328m","handle":"root-mcp-server-2","url":"https://wellknown.network/agents/root-mcp-server-2","links":{"self":"https://wellknown.network/agents/root-mcp-server-2/record.json","html":"https://wellknown.network/agents/root-mcp-server-2","markdown":"https://wellknown.network/agents/root-mcp-server-2/record.md","api":"https://wellknown.network/api/v1/agents/root-mcp-server-2","status":"https://wellknown.network/api/v1/agents/root-mcp-server-2/status","claim":"https://wellknown.network/agents/root-mcp-server-2/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/root-mcp-server-2/claim.json","badge":"https://wellknown.network/agents/root-mcp-server-2/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/root-mcp-server-2/history","tools":"https://wellknown.network/api/v1/agents/root-mcp-server-2/tools"},"ard":{"identifier":"urn:air::server:root-mcp-server-2","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"root-mcp-server","summary":"MCP server for ROOT: execute Python and C++ directly via PyROOT","description":"<div align=\"center\">\n\n<img src=\"https://root.cern/img/logos/ROOT_Logo/misc/generic-logo-color-512.png\" alt=\"ROOT Logo\" width=\"200\"/>\n\n# root_mcp_server: MCP Server for ROOT\n\n**Model Context Protocol server for executing Python and C++ code with PyROOT**\n\n[![ROOT](https://img.shields.io/badge/ROOT-6.x-blue.svg)](https://root.cern/)\n[![MCP](https://img.shields.io/badge/MCP-Protocol-green.svg)](https://modelcontextprotocol.io/)\n[![Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/)\n\n</div>\n\n---\n\nMinimal MCP (Model Context Protocol) server that allows LLMs and other MCP clients to execute Python and C++ code directly using PyROOT, without HTTP endpoints or external APIs.\n\n## Features\n\n- **Direct Python execution**: Run Python code with PyROOT available automatically\n- **Direct C++ execution**: Run C++ code via ROOT's cling interpreter\n- **In-process**: All code runs in the same process (no subprocess isolation)\n- **Error detection**: Automatic detection of C++ compilation errors via return codes and stderr\n- **Console logging**: Pretty-printed code execution with results in MCP console\n- **Graphics support**: TCanvas and ROOT graphics objects with event loop support\n\n## Architecture\n\nBelow is the architecture diagram for the `root_mcp_server` project. The image contains a visual representation of the components and their interactions.\n\n![Architecture Diagram](./diagram.png)\n\nDescription:\n\n- **MCP Client (VS Code / CLI / Programmatic)**: connects to the MCP server and sends execution requests. Clients can be interactive (e.g. VS Code + Copilot Chat) or scripted CLI clients.\n- **FastMCP Server**: receives MCP tool calls (`root_python`, `root_cpp`) and dispatches them to the in-process executor.\n- **RootExecutor (in-process PyROOT)**: runs Python or C++ code with the ROOT runtime, manages graphics mode, and can expose an embedded HTTP server (THttpServer) for interactive canvases.\n- **ROOT Web Canvas (THttpServer / JSROOT)**: when graphic…","publisher":null,"homepage":null,"repository":null,"version":"0.1.6","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:root-mcp-server","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"}],"categories":["code"],"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":"root-mcp-server","registry":"pypi","observedAt":"2026-10-28T21:26:35.067Z","publishedAt":"2025-11-23T22:08:02.071881Z","latestVersion":"0.1.6"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"root-mcp-server","url":"https://pypi.org/project/root-mcp-server/","firstSeenAt":"2026-09-10T11:27:22.500Z","fetchedAt":"2026-10-28T21:25:34.340Z","normalizedAt":"2026-10-28T21:25:34.340Z"}]},"firstSeenAt":"2026-09-10T11:27:22.500Z","updatedAt":"2026-10-28T21:26:35.068Z"}