793 B
793 B
pyMCPBroker
Small FastAPI broker exposing three stable meta-tools over MCP backends:
meta_treemeta_descmeta_call
Scope
Current implementation:
- MCP
stdiobackend only - persistent subprocess per backend
initialize+notifications/initialized- paginated
tools/list tools/call- allow/deny wildcard filters
- backend overrides
- broker-side JSON Schema validation
- compact structured error payloads
- result truncation with shape-preserving best effort
- optional shared secret
(
Authorization: Bearer <secret>orX-Api-Key)
Run
pip install .
python -m pyMCPBroker 0.0.0.0:8100 /config.jsonOptional shared secret:
python -m pyMCPBroker 0.0.0.0:8100 /config.json mysecretExample config: examples/config.example.json