EPICS MCP Server
Provides tools to interact with EPICS process variables (PVs) via LangChain agents, enabling retrieval, setting, and detailed information fetching of PVs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EPICS MCP Serverget the value of temperature:water"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ARGUS
ARGUS is an MCP server that gives an AI assistant a unified operational
interface to an accelerator control room — not just EPICS. A single tool
call like diagnose_device("QF12") transparently pulls together live PV
values, archived trends, Kubernetes pod status, ArgoCD deployment state,
recent logbook entries, and documentation, and returns one structured
report. The LLM never needs to know (or ask) which backend answered.
ARGUS started as a fork of INFN's epics-mcp-server (a 3-tool EPICS-only
proof of concept) and has been rebuilt into a modular
provider → service → tool architecture. See
docs/architecture.md for the full picture.
Why not just expose EPICS functions as tools?
Because a control room isn't just PVs. A device like quadrupole QF12 is a PV group, an IOC, a Kubernetes pod, a GitOps deployment, a maintenance history, and a stack of documentation — and answering "what's wrong with QF12?" means correlating all of that. ARGUS exposes ~18 high-level, intent-shaped tools instead of hundreds of thin per-backend wrappers; each tool decides internally which of EPICS, the Archiver Appliance, ChannelFinder, Kubernetes, ArgoCD, Elasticsearch, the electronic logbook, or local documentation to query (in parallel, with per-backend timeouts and graceful degradation).
Related MCP server: EPICS MCP Server
Quickstart
python3.12 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp .env.example .env # at minimum, set EPICS_CA_ADDR_LIST
.venv/bin/python -m argus --transport stdioEvery provider besides EPICS is entirely optional — the server boots fine
with just EPICS_CA_ADDR_LIST set; unconfigured providers report themselves
as unconfigured rather than erroring, and diagnose_device() still
returns a graceful partial report. See .env.example for
every provider's config, and docs/providers.md for what
each one talks to.
Serve over SSE instead of stdio:
.venv/bin/python -m argus --transport sse --host 0.0.0.0 --port 8000Backward compatibility
The original 3 tools still exist, unchanged, so existing clients (including
the example scripts under test/) work with zero changes:
get_pv_value(pv_name)→{"status": "success", "value": ...}set_pv_value(pv_name, pv_value)→{"status": "success", "message": ...}get_pv_info(pv_name)→{"status": "success", "info": {...}}
get_pv/set_pv are the new, richer equivalents (include timestamp and
alarm severity); the legacy names are thin aliases with byte-identical
input schemas, enforced by
tests/tools/test_pv_tools_backward_compat.py.
Tools
Tool | What it does |
| Read/write/inspect a single PV |
| Legacy aliases of |
| Search PVs/channels by name, tag, or property (ChannelFinder) |
| Full device metadata: PVs, IOC, pod, namespace, rack, owner, docs |
| Quick health snapshot: live PVs + pod status |
| Full cross-system diagnostic report, one call |
| Aggregate status across a group of devices |
| Historical trend data for a PV (Archiver Appliance) |
| Recent alarm-tagged logbook entries for a device |
| Post a new entry to the operations logbook |
| Search historical application/IOC logs (Elasticsearch) |
| List IOCs and their Kubernetes pod status |
| Restart an IOC's pod |
| Machine-wide IOC health + recent alarm counts |
| Run a named, pre-approved operational procedure (scaffolded; no procedures ship yet — see ADR context) |
| Search technical documentation (local TF-IDF by default, or RAGFLOW — see providers.md) |
| Structured device inventory (IOCs, zones, devgroup/devfunc) parsed from a beamline's deploy YAML |
| Read a beamline config file's current content, git history, or a commit's diff (GitHub/GitLab) |
| Search issues/tickets across configured repos for past problems and resolutions (GitHub/GitLab) |
| Search/browse Phoebus save-and-restore configurations and snapshots (read-only) |
| Read a save-and-restore configuration's PV list, or a snapshot's saved values (read-only) |
Development
.venv/bin/pip install -r requirements-dev.txt
.venv/bin/pytestTests never require a running EPICS/Kubernetes/ArgoCD/etc. instance — every backend is mocked. See docs/developer-guide.md for how to add a new provider or tool, and docs/class-diagram.md for the object model.
EPICS Channel Access, for local testing
softIoc -d ~/EPICS/DB/test.db
caget temperature:water
caput temperature:water 100then point ARGUS at it with EPICS_CA_ADDR_LIST=127.0.0.1 in .env.
Deploying
Docker:
docker build -t argus .— runspython -m argus --transport stdioby default; override the command for SSE.Smithery:
smithery.yamllaunchespython -m argus --transport stdio.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Python-based server that interacts with EPICS process variables, allowing users to retrieve PV values, set PV values, and fetch detailed information about PVs through a standardized interface.Last updated4MIT
- Alicense-qualityDmaintenanceEnables interaction with EPICS (Experimental Physics and Industrial Control System) process variables through natural language. Supports reading PV values, setting PV values, and retrieving detailed PV information for monitoring and controlling hardware or software parameters.Last updated1MIT
- Flicense-qualityDmaintenanceEnables AI assistants to interact with SIEMENS PLC S7-1500/1200 controllers through their JSON-RPC API, supporting authentication, tag browsing, variable read/write operations, alarm management, and diagnostic buffer access.Last updated10
- Alicense-qualityDmaintenanceEnables AI assistants to interact with B\&R Automation Studio projects by building code, running ARsim simulators, and reading or writing OPC UA variables. It facilitates industrial automation development and real-time variable integration through natural language commands.Last updated12MIT
Related MCP Connectors
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/infn-epics/argus-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server