Integrates with LangChain framework to enable AI agents to interact with EPICS process variables through stdio communication, allowing automated control and monitoring of industrial control systems.
Provides tools for interacting with EPICS (Experimental Physics and Industrial Control System) process variables, enabling retrieval of PV values, setting PV values, and fetching detailed PV information for monitoring and controlling hardware or software parameters.
EPICS-MCP-Server
Overview
- The EPICS MCP Server is a Python-based server designed to interact with EPICS (Experimental Physics and Industrial Control System) process variables (PVs). It provides a set of tools to retrieve PV values, set PV values, and fetch detailed information about PVs. The server is built using the mcp framework and communicates over stdio, making it suitable for integration into larger control systems or workflows.
- This tool is particularly useful in environments where EPICS PVs are used for monitoring and controlling hardware or software parameters.
Features
- The EPICS MCP Server provides the following tools:
- get_pv_value
- Create or update a single file in a repository
- Inputs:
pv_name
(string): The name of the PV variable.
- Returns: A JSON object containing the status (
success
orerror
) and the retrieved value or an error message.
- set_pv_value
- Set a new value for a specified PV.
- Inputs:
pv_name
(string): The name of the PV variable.pv_value
(string): The new value to be set for the PV.
- Returns: A JSON object containing the status (
success
orerror
) and a confirmation message or an error message.
- get_pv_info
- Fetches detailed information about a specified PV.
- Inputs:
pv_name
(string): The name of the PV variable.
- Returns: A JSON object containing the status (
success
orerror
) and the detailed information about the PV or an error message.
Usage with Langchain
- To use this with Langchain, you must install the dependencies required for the project.
Langchain
EPICS
- Before using the EPCIS mcp server, you must successfully install EPCIS on your local machine, ensure that IOC can start normally, and verify that functions such as
caget
,caput
, andcainfo
are working properly. For detailed installation instructions, please refer to https://epics-controls.org/resources-and-support/base/.
Test Result
- Mcp client:
- Result:
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables 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.
Related MCP Servers
- AsecurityAlicenseAqualityEnables integration with Vapi APIs through function calling via the Model Context Protocol, allowing AI models to access Vapi's capabilities.Last updated -814325TypeScriptMIT License
- -securityAlicense-qualityA 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 updated -2PythonMIT License
Ecovacs MCP Serverofficial
AsecurityAlicenseAqualityA control server that enables AI assistants to interact with Ecovacs robot vacuums through MCP protocol, supporting device listing, cleaning control, charging control, and status queries.Last updated -414PythonMIT License- AsecurityFlicenseAqualityProvides real-time system metrics and information through a Model Context Protocol interface, enabling access to CPU usage, memory statistics, disk information, network status, and running processes.Last updated -72Python