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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lightfall_mcp_bridge-0.1.0.tar.gz.
File metadata
- Download URL: lightfall_mcp_bridge-0.1.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af4c6e82f0b4089a8d4f20eddcd9d118a4c54ce0db663f168dcfafb6da0eeb7c
|
|
| MD5 |
f2c74cad004c676fa370addc40cfc77c
|
|
| BLAKE2b-256 |
2a3d9ab1f0ed739d8cb0ffec4f10a9316d355b9ecb26c3550441fa3a226341a2
|
Provenance
The following attestation bundles were made for lightfall_mcp_bridge-0.1.0.tar.gz:
Publisher:
release.yml on als-controls/lightfall-mcp-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightfall_mcp_bridge-0.1.0.tar.gz -
Subject digest:
af4c6e82f0b4089a8d4f20eddcd9d118a4c54ce0db663f168dcfafb6da0eeb7c - Sigstore transparency entry: 2423552705
- Sigstore integration time:
-
Permalink:
als-controls/lightfall-mcp-bridge@26d73f34f8e625d6ccea8200321a64bfce79f6ec -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/als-controls
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26d73f34f8e625d6ccea8200321a64bfce79f6ec -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightfall_mcp_bridge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lightfall_mcp_bridge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c9c9c2029fb8dca2b8a185c25773a053c1c3d92a71470ffe07654f75eebb5c2
|
|
| MD5 |
69bb5f0f376045f987e22feb1a7ff463
|
|
| BLAKE2b-256 |
ddf6e1207eb81fd356e53eb162f6c8f90231ba7926ff636361db06fa43735a70
|
Provenance
The following attestation bundles were made for lightfall_mcp_bridge-0.1.0-py3-none-any.whl:
Publisher:
release.yml on als-controls/lightfall-mcp-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightfall_mcp_bridge-0.1.0-py3-none-any.whl -
Subject digest:
5c9c9c2029fb8dca2b8a185c25773a053c1c3d92a71470ffe07654f75eebb5c2 - Sigstore transparency entry: 2423552763
- Sigstore integration time:
-
Permalink:
als-controls/lightfall-mcp-bridge@26d73f34f8e625d6ccea8200321a64bfce79f6ec -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/als-controls
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26d73f34f8e625d6ccea8200321a64bfce79f6ec -
Trigger Event:
push
-
Statement type: