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.
A 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.
Related MCP Servers
- -securityAlicense-qualityA Python-based MCP server that integrates OpenAPI-described REST APIs into MCP workflows, enabling dynamic exposure of API endpoints as MCP tools.Last updated -239PythonMIT License
- -securityFlicense-qualityThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.Last updated -Python
PeakMojo Serverofficial
-securityAlicense-qualityA Python server implementation that enables integration with the PeakMojo API, providing access to various resources like users, personas, scenarios, and tools for managing PeakMojo functionality.Last updated -PythonMIT License- AsecurityAlicenseAqualityA server that provides a persistent Python REPL environment through the MCP protocol, allowing execution of Python code, variable management, and package installation.Last updated -33PythonMIT License