L
Lightfall MCP Bridge
MCP server bridging Claude Code to running Lightfall instances via NATS
创建于 6/4/2026
更新于 about 4 hours ago
README
Repository documentation and setup instructions
lightfall-mcp-bridge
MCP server that bridges Claude Code to running Lightfall beamline control instances via NATS.
What it does
Provides three MCP tools:
list_instances— Discover Lightfall instances on the NATS buslist_actions— Get available actions from a specific instanceexecute_action— Invoke an action (run plans, abort, query state, etc.)
Actions are discovered dynamically — the bridge never needs updating when Lightfall adds new capabilities.
Installation
pip install -e .
Configuration
Add to your Claude Code MCP config (.mcp.json or settings):
{
"lightfall": {
"command": "python",
"args": ["-m", "lightfall_bridge", "--nats-url", "nats://localhost:4222"]
}
}
Optional: --default-prefix als.7011 to set a default Lightfall instance.
Requirements
- A running NATS server (local or remote)
- A running Lightfall instance with IPC enabled
Development
python -m venv .venv
.venv/Scripts/activate # or source .venv/bin/activate on Unix
pip install -e ".[dev]"
pytest
Integration tests require a NATS server at localhost:4222 and are skipped otherwise.
快速设置
此服务器的安装指南
安装包 (如果需要)
uvx lightfall-mcp-bridge
Cursor 配置 (mcp.json)
{
"mcpServers": {
"als-controls-lightfall-mcp-bridge": {
"command": "uvx",
"args": [
"lightfall-mcp-bridge"
]
}
}
}