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.
Metadata
Release files for lightfall-mcp-bridge 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lightfall_mcp_bridge-0.1.0.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lightfall_mcp_bridge-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / lightfall_mcp_bridge-0.1.0.tar.gz
| Download URL | lightfall_mcp_bridge-0.1.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af4c6e82f0b4089a8d4f20eddcd9d118a4c54ce0db663f168dcfafb6da0eeb7c
|
|
BLAKE2b-256 checksum How to use checksums |
2a3d9ab1f0ed739d8cb0ffec4f10a9316d355b9ecb26c3550441fa3a226341a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency logRelease files / lightfall_mcp_bridge-0.1.0-py3-none-any.whl
| Download URL | lightfall_mcp_bridge-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c9c9c2029fb8dca2b8a185c25773a053c1c3d92a71470ffe07654f75eebb5c2
|
|
BLAKE2b-256 checksum How to use checksums |
ddf6e1207eb81fd356e53eb162f6c8f90231ba7926ff636361db06fa43735a70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency log