Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ROOT_MCP_MODENoServer mode: 'core' (lightweight) or 'extended' (full analysis). Default is 'core'.
ROOT_MCP_CONFIGNoPath to a YAML configuration file for persistent settings.
ROOT_MCP_DATA_PATHNoPath to the directory containing ROOT files. Can be set via command-line --data-path.
ROOT_MCP_EXPORT_PATHNoDirectory for exported plots and data.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
local_dataLocal 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