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 server enabling interaction with Proxmox hypervisors. It supports secure authentication and provides tools for managing nodes, VMs, clusters, and storage.Last updated -138PythonMIT 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
- -securityAlicense-qualityA server that enables programmatic interaction with an already running Abaqus/CAE GUI application, allowing users to execute Python scripts and retrieve message logs through the Model Context Protocol (MCP).Last updated -41PythonMIT License
- -securityAlicense-qualityAn enhanced Python-based MCP server that enables complete VM lifecycle management and monitoring of Proxmox virtualization platforms through natural language, with 11 REST API endpoints for seamless integration.Last updated -6PythonMIT License