SuperAPI AI Directory

mcp-gateway

Meta-server that reduces Claude Code tool bloat via progressive disclosure, auto-starting Playwright and Context7 and provisioning MCP servers on demand.

Open website

About this tool

PMCP (Progressive MCP) is a gateway located between AI coding assistants and external services. AI assistants connect to external software via MCP (Model Context Protocol); if they connect directly to multiple MCP servers, all tool definitions are loaded into the context at once, consuming a large number of tokens and slowing things down. PMCP first provides a brief capability menu and only fetches the detailed schema when a tool is actually used, thereby reducing token costs.

Main capabilities: downstream servers are asleep by default (lazy by default), and only those listed in autoStart are started in advance; new servers can be enabled on demand from a catalog of 90+ without restarting the assistant; the assistant sees about 26 stable meta-tools; built-in output size limits and optional secret redaction; core capability matching requires no API key.

Usage: use pmcp setup to generate the MCP client configuration for Claude or OpenCode; adding --write writes it directly (for Claude it is ~/.mcp.json, for OpenCode it is ~/.config/opencode/opencode.json). For multiple sessions or multiple clients, a shared HTTP service can be run; for local testing, single-process stdio mode can be used. Starting with 3.0.0, the repository's .mcp.json, .pmcp/manifest.yaml, and .mcp-gateway-policy.yaml must first be approved with pmcp trust approve <absolute path>; if you need to stay on 2.x, you can pin pmcp<3.

Limitations and security: by default it binds to 127.0.0.1, HTTP transport is unauthenticated by default, and exposing it beyond the local machine requires choosing an authentication mode and terminating TLS in front of it; since 2.0.0, /mcp supports only POST, and /health is used for health checks. In resource-server mode, tokens are validated according to the OAuth 2.1 resource server, with strict validation of issuer, JWKS URL, audience, etc., and startup failure causes shutdown. PMCP is not an authorization server and does not provide dynamic client registration, SSO, RBAC, billing, or multi-tenant identity services. User-level and explicit configuration sources are treated as trusted input and should be treated like code.