MCP server for ROOT: execute Python and C++ directly via PyROOT
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"root-mcp-server-2","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
<div align="center"> <img src="https://root.cern/img/logos/ROOT_Logo/misc/generic-logo-color-512.png" alt="ROOT Logo" width="200"/> # root_mcp_server: MCP Server for ROOT **Model Context Protocol server for executing Python and C++ code with PyROOT** [](https://root.cern/) [](https://modelcontextprotocol.io/) [](https://www.python.org/) </div> --- Minimal 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. ## Features - **Direct Python execution**: Run Python code with PyROOT available automatically - **Direct C++ execution**: Run C++ code via ROOT's cling interpreter - **In-process**: All code runs in the same process (no subprocess isolation) - **Error detection**: Automatic detection of C++ compilation errors via return codes and stderr - **Console logging**: Pretty-printed code execution with results in MCP console - **Graphics support**: TCanvas and ROOT graphics objects with event loop support ## Architecture Below is the architecture diagram for the `root_mcp_server` project. The image contains a visual representation of the components and their interactions.  Description: - **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. - **FastMCP Server**: receives MCP tool calls (`root_python`, `root_cpp`) and dispatches them to the in-process executor. - **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. - **ROOT Web Canvas (THttpServer / JSROOT)**: when graphic…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.