stdio MCP front-end for the edt-bridge 1C:EDT plugin: proxies to a running EDT, or auto-starts a headless one
Project description
edt-bridge-mcp
English · Русский
stdio MCP front-end for the edt-bridge 1C:EDT plugin.
The Java plugin serves MCP as plain JSON-RPC over HTTP on 127.0.0.1:8770 – which means an
MCP client configured with that URL loses the server whenever EDT is not running. This wrapper
is what the client talks to instead:
- EDT open (GUI or headless) → every request is forwarded to the live bridge;
- EDT closed → it auto-starts a headless EDT (
1cedtcliwith a keepalive pipe, the same recipe asrun-headless.ps1) and forwards once the model is ready; - plugin jar missing → it delivers the jar itself from the latest GitHub release
(checksum-verified) into EDT's
dropins/before starting – a barepipx install edt-bridge-mcpis enough to get a working bridge; - a client session never hangs on startup: while the backend is starting,
tools/listreturns an empty list and anotifications/tools/list_changedfollows when ready.
Install
pipx install edt-bridge-mcp # or: pipx install ./python from a checkout
Register in an MCP client
claude mcp add edt-bridge -- edt-bridge-mcp --workspace "D:\\path\\to\\edt-workspace"
Self-update
edt-bridge-mcp self-update # refresh the plugin jar (GitHub Releases) + the wrapper (PyPI)
edt-bridge-mcp self-update --jar-only # only the jar
edt-bridge-mcp self-update --pip-only # only the wrapper
A running EDT (GUI or headless) keeps the old jar loaded until it restarts; the wrapper restarts its own headless instance on the next auto-start.
Configuration
CLI flags override the environment.
| Env | Flag | Meaning |
|---|---|---|
EDT_BRIDGE_PORT |
--port |
bridge port (default 8770) |
EDT_BRIDGE_TOKEN |
– | write-tools token, forwarded as Authorization: Bearer and injected into the headless JVM |
EDT_BRIDGE_WORKSPACE |
--workspace |
EDT workspace path – required for the headless auto-start |
EDT_BRIDGE_EDT_DIR |
--edt-dir |
EDT install dir (.../1cedt); newest install auto-detected when omitted |
EDT_BRIDGE_START_TIMEOUT |
--start-timeout |
seconds to wait for a starting backend (default 360) |
EDT_BRIDGE_AUTOSTART |
--no-autostart |
set 0/pass the flag for proxy-only mode |
Safety
- If a GUI EDT is running but the bridge port is dead (plugin missing there), the wrapper
refuses to start a headless instance – the GUI holds the workspace lock. It still delivers
the jar into
dropins/when missing, so restarting that EDT activates the bridge. - If a headless
1cedtcliis already starting, the wrapper waits for it instead of spawning a second one.
Project details
Release history Release notifications | RSS feed
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 edt_bridge_mcp-0.3.0.tar.gz.
File metadata
- Download URL: edt_bridge_mcp-0.3.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280de9eb61f52bd8c849defcac425d0415563ed2fe4446ff5b7e42838f2791c6
|
|
| MD5 |
b805b1619972d1221924698aaf3ef8c6
|
|
| BLAKE2b-256 |
6adce2d85fa82abed3b1f5f5734f10dcbf7288114953660f472901636fbbbe2b
|
Provenance
The following attestation bundles were made for edt_bridge_mcp-0.3.0.tar.gz:
Publisher:
pypi-publish.yml on keyfire/edt-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edt_bridge_mcp-0.3.0.tar.gz -
Subject digest:
280de9eb61f52bd8c849defcac425d0415563ed2fe4446ff5b7e42838f2791c6 - Sigstore transparency entry: 2195140987
- Sigstore integration time:
-
Permalink:
keyfire/edt-bridge@d58f8d9bdd198bdd6805c47bd001652e33992e6e -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/keyfire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d58f8d9bdd198bdd6805c47bd001652e33992e6e -
Trigger Event:
push
-
Statement type:
File details
Details for the file edt_bridge_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: edt_bridge_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
219a4bcbf9f570f58fbed22c3e922fd3bcef8dc40ab0fffe5f6a57b945b182db
|
|
| MD5 |
ebdaacd705ebe3663b2d7709b04acf5a
|
|
| BLAKE2b-256 |
73366d612405371586d516a65d2a285468064104603ce4d9b9609353def16655
|
Provenance
The following attestation bundles were made for edt_bridge_mcp-0.3.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on keyfire/edt-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edt_bridge_mcp-0.3.0-py3-none-any.whl -
Subject digest:
219a4bcbf9f570f58fbed22c3e922fd3bcef8dc40ab0fffe5f6a57b945b182db - Sigstore transparency entry: 2195141000
- Sigstore integration time:
-
Permalink:
keyfire/edt-bridge@d58f8d9bdd198bdd6805c47bd001652e33992e6e -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/keyfire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d58f8d9bdd198bdd6805c47bd001652e33992e6e -
Trigger Event:
push
-
Statement type: