EPICS-MCP服务器
概述
EPICS MCP 服务器是一款基于 Python 的服务器,旨在与 EPICS(实验物理和工业控制系统)过程变量 (PV) 交互。它提供了一组工具来检索 PV 值、设置 PV 值以及获取有关 PV 的详细信息。该服务器使用 mcp 框架构建,并通过 stdio 进行通信,因此非常适合集成到更大型的控制系统或工作流程中。
该工具在使用 EPICS PV 监控和控制硬件或软件参数的环境中特别有用。
特征
EPICS MCP 服务器提供以下工具:
获取 pv_value
在存储库中创建或更新单个文件
输入:
pv_name(字符串):PV 变量的名称。
返回:包含状态(
success或error)和检索到的值或错误消息的 JSON 对象。
设置 pv_value
为指定的 PV 设置新值。
输入:
pv_name(字符串):PV 变量的名称。pv_value(字符串):要为 PV 设置的新值。
返回:包含状态(
success或error)和确认消息或错误消息的 JSON 对象。
获取 pv_info
获取有关指定 PV 的详细信息。
输入:
pv_name(字符串):PV 变量的名称。
返回:一个 JSON 对象,包含状态(
success或error)以及有关 PV 或错误消息的详细信息。
与 Langchain 一起使用
要将其与 Langchain 一起使用,您必须安装项目所需的依赖项。
朗查因
史诗
在使用 EPCIS mcp 服务器之前,您必须在本地计算机上成功安装 EPCIS,确保 IOC 能够正常启动,并验证
caget、caput和cainfo等功能是否正常运行。详细安装说明请参阅https://epics-controls.org/resources-and-support/base/ 。
测试结果
Mcp 客户端:
结果:
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.
基于 Python 的服务器与 EPICS 过程变量交互,允许用户通过标准化界面检索 PV 值、设置 PV 值以及获取有关 PV 的详细信息。
Related MCP Servers
- -security-license-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 -155MIT License
- -security-license-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 -35MIT License
- -security-license-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 -14MIT License
- -security-license-qualityA Python-based MCP server that uses uv for dependency management, requiring Python 3.13+ to run.