ViperJuice/pmcp
MCP Gateway - A meta-server for minimal Claude Code tool bloat with progressive disclosure
Platform-specific configuration:
{
"mcpServers": {
"pmcp": {
"command": "npx",
"args": [
"-y",
"pmcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<!-- mcp-name: io.github.ViperJuice/pmcp -->
[](https://pypi.org/project/pmcp/) [](LICENSE)
Progressive disclosure for MCP - Minimal context bloat with on-demand tool discovery and dynamic server provisioning.
When Claude Code connects directly to multiple MCP servers (GitHub, Jira, DB, etc.), it loads all tool schemas into context. This causes:
Anthropic has highlighted context bloat as a key challenge with MCP tooling.
PMCP acts as a single MCP server that Claude Code connects to. Instead of exposing all downstream tools, it provides:
# With uv (recommended)
uv pip install pmcp
# Or run directly without installing
uvx pmcp
# With pip
pip install pmcp
> Capability matching is built-in — no API key needed. gateway.request_capability > uses a three-tier pure-Python router: explicit name match → category match → search guidance.
pmcp setupPMCP includes a wizard-style helper that can render ready-to-use MCP client config for Claude and OpenCode.
Use pmcp setup to print the generated config:
pmcp setup --client claude --mode stdio # ClaudeLoading reviews...