GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
ROOT-based MCP server exposing root_python and root_cpp tools (stdio transport).
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"root": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/omazapa/root-mcp:1.0.0"
]
}
}
}ターミナルでこれを実行します
claude mcp add root -- docker run -i --rm docker.io/omazapa/root-mcp:1.0.0プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"root": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/omazapa/root-mcp:1.0.0"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"root": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/omazapa/root-mcp:1.0.0"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント omazapa で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは12 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
Below is the architecture diagram for the root_mcp_server project. The image contains a visual representation of the components and their interactions.
Description:
root_python, root_cpp) and dispatches them to the in-process executor.This architecture keeps ROOT running in-process for low-latency execution while providing a web-backed path for interactive visualization.
pip install -e .
The easiest way to use this MCP server is through VS Code with GitHub Copilot Chat.
Make sure you have the GitHub Copilot Chat extension installed 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.
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).
Start the MCP server directly:
root_mcp_server
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()
result = await session.call_tool("root_python", arguments={ "code": "import ROOT; print(ROOT.gROOT.GetVersion())" }) print(result)
The server exposes two MCP tools:
root_pythonExecute Python code with ROOT automatically available in scope.
Arguments:
code (string): Python code to executeReturns:
{
"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}") """
root_cppExecute C++ code via ROOT's cling interpreter.
Arguments:
code (string): C++ code to executeReturns:
{
"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;
The server automatically detects C++ compilation errors by:
ROOT.gInterpreter.ProcessLine()error:, Error:, fatal error:)Errors are reported with ok=false and detailed error messages.
All code execution is logged to stderr (MCP console) with:
Example output:
============================================================
EXECUTING PYTHON CODE: 1 | import ROOT 2 | print(ROOT.gROOT.GetVersion()) ============================================================ ✓ EXECUTION SUCCESS STDOUT: 6.39/01
The server initializes TApplication and supports ROOT graphics:
# Test basic functionality
python test_mcp_client.py
python test_persistent_window.py
python test_histogram.py
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
See LICENSE file.
Contributions are welcome! Please feel free to submit a Pull Request.