Token-efficient MCP server gateway with semantic tool search
Project description
mcp-smart-proxy
mcp-name: io.github.daedalus/mcp-smart-proxy
Token-efficient MCP server gateway with semantic tool search
Install
pip install -e .
Usage
from mcp_smart_proxy import MCPSmartProxyServer, load_config
config = load_config("proxy.yaml")
server = MCPSmartProxyServer(config)
CLI
mcp-smart-proxy serve --config proxy.yaml
mcp-smart-proxy serve --config proxy.yaml --watch ./servers/
mcp-smart-proxy index --config proxy.yaml
mcp-smart-proxy status --config proxy.yaml
mcp-smart-proxy validate --config proxy.yaml
The --watch option monitors a directory for .yaml, .yml, or .json files containing
upstream server configurations. Add, modify, or remove files to dynamically update the
available servers at runtime.
API
Config
load_config(path)- Load configuration from YAML or JSON filevalidate_config(path)- Validate configuration file
Server
MCPSmartProxyServer- Main server class
Development
pip install -e ".[dev]"
pytest
ruff format src/ tests/
ruff check src/ tests/
mypy src/
Project details
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 mcp_smart_proxy-0.1.1.tar.gz.
File metadata
- Download URL: mcp_smart_proxy-0.1.1.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0722485e46efe3e6ba298148c131530c1a97b11555a8d1c22a3edfa21fb3e77
|
|
| MD5 |
78c23aabbfc02bdbf844979f9a10418f
|
|
| BLAKE2b-256 |
89d9d0d4adda456a045de46729436aa189de140a006593ed25b39f196cf6ec35
|
Provenance
The following attestation bundles were made for mcp_smart_proxy-0.1.1.tar.gz:
Publisher:
pypi-publish.yml on daedalus/mcp-smart-proxy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_smart_proxy-0.1.1.tar.gz -
Subject digest:
d0722485e46efe3e6ba298148c131530c1a97b11555a8d1c22a3edfa21fb3e77 - Sigstore transparency entry: 1181984673
- Sigstore integration time:
-
Permalink:
daedalus/mcp-smart-proxy@96c2e4347d444f9f3ac432eac810e3178294089a -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@96c2e4347d444f9f3ac432eac810e3178294089a -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_smart_proxy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_smart_proxy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.8 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 |
a74f0f78cae893f7ed7df04813400be3363f3599f92e5b14dd65bf6ba4438ec5
|
|
| MD5 |
803a3fb5b1a84939fafbe9911a6353b0
|
|
| BLAKE2b-256 |
f90109fb9638c3cf520ec63edaf5ce94f297be1d2d75780008de91ef826fed2b
|
Provenance
The following attestation bundles were made for mcp_smart_proxy-0.1.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on daedalus/mcp-smart-proxy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_smart_proxy-0.1.1-py3-none-any.whl -
Subject digest:
a74f0f78cae893f7ed7df04813400be3363f3599f92e5b14dd65bf6ba4438ec5 - Sigstore transparency entry: 1181984688
- Sigstore integration time:
-
Permalink:
daedalus/mcp-smart-proxy@96c2e4347d444f9f3ac432eac810e3178294089a -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@96c2e4347d444f9f3ac432eac810e3178294089a -
Trigger Event:
release
-
Statement type: