L
Lightfall MCP Bridge
MCP server bridging Claude Code to running Lightfall instances via NATS
Created 6/4/2026
Updated about 18 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.
Quick Setup
Installation guide for this server
Install Package (if required)
uvx lightfall-mcp-bridge
Cursor configuration (mcp.json)
{
"mcpServers": {
"als-controls-lightfall-mcp-bridge": {
"command": "uvx",
"args": [
"lightfall-mcp-bridge"
]
}
}
}