Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

ROOT MCP Server

von omazapaVersion 1.0.0i★ –iLäuft auf deinem Computer
Name in der Registryio.github.omazapa/root-mcp

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

ROOT-based MCP server exposing root_python and root_cpp tools (stdio transport).

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Sonstiges

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Die Registry nennt keinen Schlüssel zum Eintragen.

Du brauchst

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "root": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/omazapa/root-mcp:1.0.0"
      ]
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add root -- docker run -i --rm docker.io/omazapa/root-mcp:1.0.0

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "root": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/omazapa/root-mcp:1.0.0"
      ]
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "root": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/omazapa/root-mcp:1.0.0"
      ]
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 6. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto omazapa bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Sonstigesi

  • Mehr Sterne als 0 % der anderen 32531 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 1 % der anderen 32531 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 32531 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist ROOT MCP Server sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (1.0.0) kam vor 12 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Docker auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, Reelsaw

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Spec Driven Development

von formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Läuft auf deinem Computer★ 440MITAktualisiert vor 14 Monaten
Installieren

Remote Desktop Commander

von desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Läuft in der Cloud★ 211Aktualisiert gestern
Installieren

Reelsaw

von osbytes

Drive a self-hosted Reelsaw: turn long videos into vertical clips, edit, re-render and export them.

Läuft auf deinem ComputerAktualisiert heute
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

root_mcp_server: MCP Server for ROOT

Model Context Protocol server for executing Python and C++ code with PyROOT


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 graphics are enabled, canvases created in the ROOT session are available via the embedded HTTP server; clients can open the provided URL to inspect plots interactively.
  • Artifacts & Outputs: execution results (stdout/stderr and error metadata) are returned to the MCP client; interactive canvases are accessible via the HTTP endpoint.

This architecture keeps ROOT running in-process for low-latency execution while providing a web-backed path for interactive visualization.

Installation

Prerequisites
  • ROOT (6.x or later) with PyROOT enabled
  • Python 3.10+
Install the package
pip install -e .

Usage

Option 1: VS Code with GitHub Copilot Chat

The easiest way to use this MCP server is through VS Code with GitHub Copilot Chat.

1. Install GitHub Copilot Chat extension

Make sure you have the GitHub Copilot Chat extension installed in VS Code.

2. Configure MCP server in VS Code

Add the MCP server configuration to your VS Code settings. Open your settings.json (Ctrl/Cmd + Shift + P → "Preferences: Open User Settings (JSON)") and add:

{

"github.copilot.chat.codeGeneration.instructions": [ { "text": "Use ROOT MCP server for data analysis" } ], "mcp.servers": { "root/mcp-server": { "type": "stdio", "command": "root_mcp_server", "args": [] } } }

Important: Replace /path/to/ROOT/build/bin/thisroot.sh with the actual path to your ROOT installation's thisroot.sh script.

3. Use in Copilot Chat

Once configured, you can use the MCP tools in GitHub Copilot Chat:

@workspace Use #root_python to execute Python code with PyROOT
@workspace Use #root_cpp to execute C++ code with ROOT

The server will automatically log executed code and results to the MCP console (visible in VS Code's Output panel).

Option 2: Command line

Start the MCP server directly:

root_mcp_server
Option 3: Programmatic usage
from mcp.client.stdio import stdio_client, StdioServerParameters

from mcp.client.session import ClientSession

server_params = StdioServerParameters( command="bash", args=["-lc", "source /path/to/thisroot.sh && python3 -m root_mcp_server.cli"], env=None )

async with stdio_client(server_params) as (read, write): async with ClientSession(read, write) as session: await session.initialize()

Execute Python code

result = await session.call_tool("root_python", arguments={ "code": "import ROOT; print(ROOT.gROOT.GetVersion())" }) print(result)

Available Tools

The server exposes two MCP tools:

1. root_python

Execute Python code with ROOT automatically available in scope.

Arguments:

  • code (string): Python code to execute

Returns:

{

"ok": boolean, "stdout": string, "stderr": string, "error": string | null, "error_type": string | null }

Example:

code = """

import ROOT h = ROOT.TH1F("h", "Gaussian", 100, -5, 5) for i in range(10000): h.Fill(ROOT.gRandom.Gaus(0, 1)) print(f"Mean: {h.GetMean():.3f}") """

2. root_cpp

Execute C++ code via ROOT's cling interpreter.

Arguments:

  • code (string): C++ code to execute

Returns:

{

"ok": boolean, "stdout": string, "stderr": string, "error": string | null, "error_type": string | null }

Example:

TH1F* h = new TH1F("h", "Gaussian;X;Y", 100, -5, 5);

for(int i=0; i<10000; i++) h->Fill(gRandom->Gaus(0,1)); TCanvas* c = new TCanvas("c", "Canvas", 900, 600); h->Draw(); c->Update(); std::cout << "Mean: " << h->GetMean() << std::endl;

Features in Detail

Error Detection

The server automatically detects C++ compilation errors by:

  • Checking the return code from ROOT.gInterpreter.ProcessLine()
  • Scanning stderr for error keywords (error:, Error:, fatal error:)

Errors are reported with ok=false and detailed error messages.

Console Logging

All code execution is logged to stderr (MCP console) with:

  • Pretty-printed code with line numbers
  • Execution status (✓ success / ❌ failure)
  • Complete stdout, stderr, and error details

Example output:

============================================================

EXECUTING PYTHON CODE: 1 | import ROOT 2 | print(ROOT.gROOT.GetVersion()) ============================================================ ✓ EXECUTION SUCCESS STDOUT: 6.39/01

Graphics Support

The server initializes TApplication and supports ROOT graphics:

  • TCanvas windows (batch mode can be disabled)
  • Histogram plotting
  • ROOT event loop for interactive graphics
  • Object persistence to prevent garbage collection

Development

Running tests
# Test basic functionality

python test_mcp_client.py

Test persistent graphics

python test_persistent_window.py

Test histogram creation

python test_histogram.py

Project Structure
root_mcp_server/

├── root_mcp_server/ │ ├── init.py │ ├── cli.py # Entry point │ ├── executor.py # Code execution │ └── server.py # MCP server definition ├── test_mcp_client.py ├── test_persistent_window.py ├── test_histogram.py └── README.md

License

See LICENSE file.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

PopNx fragen