MCP Dynamic Proxy
A dynamic MCP (Model Context Protocol) proxy server that provides progressive discovery and lazy loading of MCP servers, reducing initial context size from 20-300 tools to just 3 core tools.
How it works
Assistant (Cursor) -MCP-> MCP Dynamic Proxy -MCP-> MCP Servers (AWS, PostgreSQL, etc.)
The proxy exposes only 3 core tools that let you discover and interact with any number of configured MCP servers without loading them all upfront.
Tools
mcp_list_servers
List all configured MCP servers with their metadata (id, description, tags, principal tools).
Parameters: None
Returns: {count: int, servers: [...]}
mcp_list_tools
List all tools from a specific MCP server with their JSON schemas. Automatically loads the server if needed.
Parameters:
server_id(required): The MCP server ID (e.g.,"aws-knowledge-mcp-server")
Returns: {server_id: str, status: "loaded" | "error", tool_count: int, tools: [...], error?: str}
mcp_execute_tool
Execute a tool from a specific MCP server. Automatically loads the server if needed.
Parameters:
server_id(required): The MCP server IDtool_name(required): The tool name (e.g.,"aws___read_documentation")arguments(required): Dictionary matching the tool's JSON schema
Returns: {server_id: str, tool_name: str, status: "success" | "error", result?: any, error?: str}
Configuration
config/mcp.json
Create a config/mcp.json file with your MCP server configurations:
{
"version": "1.0",
"mcpServers": {
"aws-knowledge-mcp-server": {
"description": "AWS knowledge base with documentation, best practices, and service information",
"tags": ["aws", "documentation", "cloud", "knowledge"],
"tools": ["aws___read_documentation", "aws___search_documentation"],
"command": "uvx",
"args": ["fastmcp", "run", "https://knowledge-mcp.global.api.aws"]
},
"microsoft.docs.mcp": {
"description": "Microsoft Learn documentation and Azure documentation access",
"tags": ["microsoft", "azure", "documentation", "learn"],
"tools": ["microsoft_docs_search", "microsoft_code_sample_search", "microsoft_docs_fetch"],
"command": "uvx",
"args": ["fastmcp", "run", "https://learn.microsoft.com/api/mcp"]
}
}
}
Configuration fields:
description: Human-readable descriptiontags: List of tags for organizationtools: Optional list of principal tool names (not exhaustive)command: Command to start the MCP serverargs: Arguments for the commandenv: Optional environment variables (supports${VAR_NAME}expansion)
Cursor Configuration
Add to your Cursor MCP configuration:
{
"mcpServers": {
"mcp-dynamic-proxy": {
"command": "uvx",
"args": ["mcp-dynamic-proxy"],
"env": {
"MCP_CONFIG_PATH": "/path/to/config/mcp.json"
}
}
}
}
License
MIT
Metadata
Release files for mcp-dynamic-proxy 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_dynamic_proxy-0.1.6.tar.gz | 27.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_dynamic_proxy-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.3 kB
Release files / mcp_dynamic_proxy-0.1.6.tar.gz
| Download URL | mcp_dynamic_proxy-0.1.6.tar.gz |
|---|---|
| Size | 27.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f0e03e4eb8ef4926159d9cce7c3eecf8ff18ded6ae2fd6534b4db1317caa1d2
|
|
BLAKE2b-256 checksum How to use checksums |
15142cc0eca1ad64e7db6128987ba85e73be0d47c7cbbe26a02d7a0c87deae52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / mcp_dynamic_proxy-0.1.6-py3-none-any.whl
| Download URL | mcp_dynamic_proxy-0.1.6-py3-none-any.whl |
|---|---|
| Size | 35.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1c25df829f8dc787edd3d7a8c7b27d2a43e3c0f8b8f096ac183f2331df04ad4
|
|
BLAKE2b-256 checksum How to use checksums |
3ed9c80891c22ac5ed031c499b6c3e03284ef52aecedb73b4672bdeea5efa814
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for mcp-dynamic-proxy 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.