🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

mcp-smart-proxy

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-smart-proxy

Token-efficient MCP server gateway with semantic tool search

pipPyPI
Version
0.1.1
Weekly downloads
86
Maintainers
1
Created

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/

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts