CERN ROOT MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ROOT_MCP_MODE | No | Server mode: 'core' (lightweight) or 'extended' (full analysis). Default is 'core'. | |
| ROOT_MCP_CONFIG | No | Path to a YAML configuration file for persistent settings. | |
| ROOT_MCP_DATA_PATH | No | Path to the directory containing ROOT files. Can be set via command-line --data-path. | |
| ROOT_MCP_EXPORT_PATH | No | Directory for exported plots and data. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_filesC | List ROOT files in a resource |
| inspect_fileC | Inspect ROOT file structure and contents |
| list_branchesC | List branches in a TTree or RNTuple |
| validate_fileC | Validate ROOT file integrity |
| read_branchesB | Read branch data from a TTree or RNTuple |
| get_branch_statsC | Get statistics for branches (supports derived variables via defines) |
| export_dataC | Export branch data to JSON, CSV, or Parquet |
| switch_modeC | Switch between core and extended modes |
| get_server_infoA | Get server mode and capabilities |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| local_data | Local ROOT files for analysis |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MohamedElashri/root-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server