Moltrouter Protocol Daemon: serve, route, bridge, validate
Project description
mrpd — Moltrouter Protocol Daemon
One installable package that can:
- serve MRP endpoints for local tools (
mrpd serve) - route intents as a client (
mrpd route ...) (v0: registry query + ranking) - bridge other tool ecosystems (OpenAPI/MCP) into MRP (
mrpd bridge ...) - mrpify existing systems with a guided flow (
mrpd mrpify ...) - validate MRP envelopes against schemas/fixtures (
mrpd validate) (working)
Status
Minimal server + validation are working.
Implemented:
- Bundled canonical JSON Schemas + fixtures
mrpd validate(including--fixtures)mrpd route(v0: query + rank + fetch manifests)mrpd bridge openapi+mrpd mrpify openapimrpd bridge mcp(scaffold) +mrpd mrpify mcp
Planned next:
- negotiate/execute
- MCP bridge execute (stdio)
Dev
python -m venv .venv
. .venv/bin/activate # (Windows PowerShell: .\.venv\Scripts\Activate.ps1)
pip install -e .
mrpd serve --reload
Bridge / Mrpify (v0)
OpenAPI:
mrpd bridge openapi --spec openapi.yaml --out-dir ./mrp-openapi-bridge
mrpd mrpify openapi --spec openapi.yaml --out-dir ./mrp-openapi-bridge \
--provider-id service:openapi/bridge --public-base-url https://YOUR_DOMAIN
MCP (stdio scaffold):
mrpd bridge mcp --tools-json tools.json --mcp-command node --mcp-arg server.js
mrpd mrpify mcp --tools-json tools.json --mcp-command node --mcp-arg server.js \
--provider-id service:mcp/bridge --public-base-url https://YOUR_DOMAIN
Validate
Run the bundled conformance fixtures:
mrpd validate --fixtures
Validate a single envelope JSON file:
mrpd validate --path path/to/envelope.json
Route (v0)
mrpd route queries a registry and prints ranked candidates. Registry entries must include manifest_url.
Defaults:
- Registry base URL:
https://www.moltrouter.dev - No raw bootstrap fallback is used unless explicitly configured (see below).
Examples:
mrpd route "inspect router capability" --capability router --policy no_pii --limit 5
Optional bootstrap (mostly for offline/dev):
- Env var:
MRP_BOOTSTRAP_REGISTRY_RAW(supportsfile://...) - Or CLI:
mrpd route ... --bootstrap-raw file:///C:/path/to/registry.json
Example:
mrpd route "inspect router capability" --capability router --policy no_pii \
--bootstrap-raw "file:///C:/path/to/registry.json"
Endpoints (initial)
GET /.well-known/mrp.jsonGET /mrp/manifestPOST /mrp/helloPOST /mrp/discoverPOST /mrp/negotiatePOST /mrp/execute
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 mrpd-0.1.1.tar.gz.
File metadata
- Download URL: mrpd-0.1.1.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5130866f9e7268add1a95df8f4e0760c441040d4ce702414eaeca028a4049a9
|
|
| MD5 |
1e5b9fdeaf712324a7139850ed690a6c
|
|
| BLAKE2b-256 |
7479c68c2105c5bf94958c9a49821d6c0cd774e65657bfdf139a3e50050dbbfa
|
Provenance
The following attestation bundles were made for mrpd-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on thorthur22/Moltrouter-Protocol-Daemon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mrpd-0.1.1.tar.gz -
Subject digest:
e5130866f9e7268add1a95df8f4e0760c441040d4ce702414eaeca028a4049a9 - Sigstore transparency entry: 909904660
- Sigstore integration time:
-
Permalink:
thorthur22/Moltrouter-Protocol-Daemon@5b2e6770c0be5059c07d2f0e0e02aa740b1f7c73 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/thorthur22
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5b2e6770c0be5059c07d2f0e0e02aa740b1f7c73 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mrpd-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mrpd-0.1.1-py3-none-any.whl
- Upload date:
- Size: 41.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bf8cd8d18ce371f4cfad67ac686b6f8a8e1c3f64737c42aaeb800e8358be0d7
|
|
| MD5 |
6f13041e3e030861cdadd8e33838a00a
|
|
| BLAKE2b-256 |
1844f1456d60573feb96c1c981d069f1b31ce4df8509045d8282c563d98e52dc
|
Provenance
The following attestation bundles were made for mrpd-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on thorthur22/Moltrouter-Protocol-Daemon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mrpd-0.1.1-py3-none-any.whl -
Subject digest:
4bf8cd8d18ce371f4cfad67ac686b6f8a8e1c3f64737c42aaeb800e8358be0d7 - Sigstore transparency entry: 909904661
- Sigstore integration time:
-
Permalink:
thorthur22/Moltrouter-Protocol-Daemon@5b2e6770c0be5059c07d2f0e0e02aa740b1f7c73 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/thorthur22
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5b2e6770c0be5059c07d2f0e0e02aa740b1f7c73 -
Trigger Event:
push
-
Statement type: