# pmcp

> pmcp is an open-source MCP server for developer tools. Gateway that lets AI coding assistants use many MCP tools without loading them all up. It is available on CLI, API, Self-hosted, Linux, macOS and Windows.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/consiliency/pmcp
- **GitHub stars:** 24
- **License:** MIT
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

PMCP sits between an AI coding assistant and the external MCP servers it connects to, so the assistant sees a small fixed set of gateway tools instead of every downstream tool definition. Downstream servers stay dormant until a tool is first used, which keeps context usage low when many integrations are configured.

An assistant can search a catalog of tools, describe a tool's schema on demand, and invoke it through a single gateway endpoint. Servers from a manifest of 90+ entries can be provisioned while the session is running, without restarting the client. Lifecycle controls let an operator connect, disconnect or restart individual servers.

It is aimed at developers and teams who run assistants such as Claude Code with many connected tools and hit context limits. The gateway runs locally over stdio or as a shared HTTP service, with optional bearer or OAuth resource-server authentication for shared deployments.

## Features

- **On-demand tool loading:** Downstream servers connect lazily on first use, so unused tool schemas never enter the assistant's context.
- **Single gateway connection:** The client connects to one server that exposes a fixed set of meta-tools for search, describe and invoke.
- **Runtime server provisioning:** Servers from a manifest can be installed and started during a session without restarting the assistant.
- **Policy and output guardrails:** Allow and deny rules, output size caps and optional secret redaction apply to tool traffic.
- **Shared HTTP service mode:** One gateway instance can serve several clients, with bearer token or OAuth resource-server authentication.
- **Capability matching:** Natural language requests are matched to installed CLIs or MCP server candidates without an API key.

## Good for

- Reduce token overhead for an assistant configured with dozens of MCP servers
- Add a new integration such as GitHub or a database to a running coding session
- Share one gateway between several developer sessions or clients on a team host
- Let an assistant pick between a native CLI and an MCP server for a given task

## Tools

From the tool list in its README, going by the names, 2 of 7 tools read data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `gateway.catalog_search` (name suggests: reads): Search available tools and return compact capability cards.
- `gateway.describe` (name suggests: reads): Get detailed schema and metadata for a specific tool.
- `gateway.invoke`: Call a downstream tool with argument validation.
- `gateway.refresh`: Reload backend configs and reconnect servers.
- `gateway.health`: Get gateway and server health status.
- `gateway.request_capability`: Match a natural language capability request to CLI guidance or server candidates.
- `gateway.provision`: Install and start MCP servers on demand.

## FAQ

### How do I install PMCP?

It can be installed with uv (uv pip install pmcp), run directly with uvx pmcp, or installed with pip install pmcp.

### Which clients are supported?

The README gives configuration examples for Claude, OpenCode, Codex CLI and Gemini CLI, and states that PMCP works with any MCP-compatible client.

### Does PMCP need an API key?

Capability matching needs no API key. Individual downstream servers may require their own credentials, such as GitHub's personal access token.

### Is the HTTP transport secure by default?

No. The HTTP transport is unauthenticated by default and binds to 127.0.0.1, so an auth mode and a TLS reverse proxy are needed for any wider exposure.

### Is pmcp free?

Yes. pmcp is open source, so you can use and self-host it for free.

### What are the best alternatives to pmcp?

The closest alternatives to pmcp are Perforce Agentic Gateway, Ncp, MCP Gateway, MCPJungle and McpMux.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [Perforce Agentic Gateway](https://ai-powered.com/mcp/perforce-agentic-gateway): Perforce Agentic Gateway is an MCP server for developer tools.
- [Ncp](https://ai-powered.com/mcp/ncp): Ncp is an open-source MCP server for developer tools.
- [MCP Gateway](https://ai-powered.com/mcp/mcp-gateway-2): MCP Gateway is an open-source MCP server for developer tools.
- [MCPJungle](https://ai-powered.com/mcp/mcpjungle): MCPJungle is an open-source MCP server for developer tools.
- [McpMux](https://ai-powered.com/mcp/mcpmux-2): McpMux is an open-source MCP server for developer tools.
- [agent](https://ai-powered.com/mcp/agent-2): agent is an open-source MCP server for developer tools.
- [mcp-server-toolkit](https://ai-powered.com/mcp/mcp-server-toolkit): mcp-server-toolkit is an open-source MCP server for developer tools.
- [AAI Gateway](https://ai-powered.com/mcp/aai-gateway): AAI Gateway is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/pmcp-3
