Skip to main content

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 file
  • validate_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

mcp_smart_proxy-0.1.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_smart_proxy-0.1.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

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

Hashes for mcp_smart_proxy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d0722485e46efe3e6ba298148c131530c1a97b11555a8d1c22a3edfa21fb3e77
MD5 78c23aabbfc02bdbf844979f9a10418f
BLAKE2b-256 89d9d0d4adda456a045de46729436aa189de140a006593ed25b39f196cf6ec35

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_smart_proxy-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_smart_proxy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a74f0f78cae893f7ed7df04813400be3363f3599f92e5b14dd65bf6ba4438ec5
MD5 803a3fb5b1a84939fafbe9911a6353b0
BLAKE2b-256 f90109fb9638c3cf520ec63edaf5ce94f297be1d2d75780008de91ef826fed2b

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page