Back to Home
eic icon

xrootd-mcp-server

by eic

Overview

The server enables LLMs to interact with XRootD file systems for scientific data access, management, and ROOT file analysis, particularly for the Electron-Ion Collider (EIC) project data.

Installation

Run Command
XROOTD_SERVER="root://dtn-eic.jlab.org" node build/src/index.js

Environment Variables

  • XROOTD_SERVER

Security Notes

CRITICAL: The server is highly vulnerable to command injection. User-provided `path` arguments (and other string arguments used in shell commands) are directly interpolated into `execAsync` calls for `xrdfs` and `xrdcp` without proper shell escaping. This allows a malicious user or LLM to inject arbitrary shell commands (e.g., `list_directory({ path: ".; rm -rf /" })`) that will be executed on the host machine where the MCP server is running. While there is path traversal protection (preventing `../`), this does not mitigate command injection within valid path segments. No hardcoded secrets were found.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassHigh
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-19

Tags

XRootDMCPFile SystemData AnalysisScientific Computing