EPICS Channel Access

v0.1.2
io.github.K-Dense-AI/labmcp-epics Checked 15 hours ago Published 2 months ago

MCP server for EPICS Channel Access: read, monitor and guarded writes of process variables.

Values you need

VariableWhat it is
LABMCP_ADDRESSoptional Instrument address, e.g. serial:///dev/ttyUSB0 or tcp://192.168.1.50:5025
LABMCP_SIMULATEoptional Set to 1 to use the built-in simulator (no hardware)
LABMCP_READ_ONLYoptional Set to 1 to disable all state-changing tools
LABMCP_LIMITSoptional Safety limit overrides, e.g. max_temperature_c=80

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add labmcp-epics -- uvx labmcp-epics==0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "labmcp-epics": {
      "args": [
        "labmcp-epics==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "labmcp-epics": {
      "args": [
        "labmcp-epics==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "labmcp-epics": {
      "args": [
        "labmcp-epics==0.1.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.labmcp-epics]
command = "uvx"
args = ["labmcp-epics==0.1.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_connection_info, get_command_log, reconnect, get_pv, get_pvs, pv_info, monitor_pv, put_pv, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json