PluginBench
MCP Server
Active

Perforce Agentic Gateway MCP Server

io.github.perforce/perforce-agentic-gateway

Local MCP gateway that proxies AI clients to many MCP servers with token-efficient code mode.

What is the Perforce Agentic Gateway MCP server?

Perforce Agentic Gateway (PAG) is a local MCP gateway that acts as a single connection point for AI clients to access multiple MCP servers. It manages server processes, handles credentials via OS Keychain, and exposes a small fixed set of tools to keep AI context efficient while maintaining access to a full catalog of servers.

PAG simplifies working with multiple MCP servers by running as a single stdio MCP server that your AI client connects to once. Instead of configuring each MCP server separately, you configure servers through PAG's dashboard and catalog. It keeps your AI client fast by not forwarding every downstream tool; instead it exposes a small set of PAG tools (explore, execute) that let the assistant search and run commands across all connected servers efficiently.

How to install Perforce Agentic Gateway

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "perforce-agentic-gateway": {
      "command": "uvx",
      "args": [
        "perforce-agentic-gateway"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • pag__explore — Searches the MCP server catalog; returns only the slice the assistant asks for to keep context efficient.
  • pag__execute — Runs JavaScript that calls downstream tools, enabling loops and fan-out across servers in one round trip instead of many.

Use cases

  • Connect one AI client to dozens of MCP servers without configuring each separately
  • Manage credentials for multiple servers centrally via OS Keychain
  • Enable Perforce product servers (P4, BlazeMeter, Perfecto, Delphix, IPLM) with automatic discovery and setup
  • Add custom servers (local commands, containers, remote HTTP endpoints) to your catalog
  • Run complex multi-server workflows efficiently with JavaScript execution in the sandbox

Perforce Agentic Gateway MCP server FAQ

What is Perforce Agentic Gateway?

PAG is a local MCP gateway that proxies your AI client to multiple MCP servers through a single connection, managing processes, credentials, and a searchable catalog of available tools.

Is PAG free?

PAG is governed by the Perforce Agentic Gateway Terms of Use; check the LICENSE.md file in the repository for details.

How do I install PAG in Claude or Cursor?

In Claude Code, run `claude mcp add pag -- uvx perforce-agentic-gateway@latest`. In Cursor or other clients using `.mcp.json`, add PAG as an MCP server with command `uvx` and args `["perforce-agentic-gateway@latest"]`.

Do I need to authenticate PAG itself?

PAG stores credentials for individual servers in your OS Keychain; when you enable a server that needs credentials, PAG provides a dashboard link to enter them securely.

What are the prerequisites?

You need `uv` (the Python package manager). Docker or Podman is required only for servers that run as containers. Each server you add may have its own dependencies (Node for npx servers, API accounts, etc.).

Can I add servers not in the catalog?

Yes, you can add custom servers directly—local commands, containers, or remote HTTP endpoints—and PAG will manage them alongside catalog servers.

README (reference)

Source of truth, from the repository.

<picture> <source media="(prefers-color-scheme: dark)" srcset="logo-pag-rev.svg"> <img src="logo-pag-reg.svg" alt="PAG — Perforce Agentic Gateway" width="420"> </picture>

PAG — Perforce Agentic Gateway

Perforce Agentic Gateway (PAG) is a local MCP gateway providing a token efficient code mode. AI clients are configured once, to connect to PAG and all other MCP servers are instead configured through PAG. Instead of being set up with and loading the tools of each MCP separately, PAG manages the running MCP server processes, restarts them when they crash, and stores their necessary credentials in your OS Keychain.

Prerequisites

  • uv — the only hard requirement.
  • Docker or Podman — only for servers that run as containers.
  • Each server's own dependencies — PAG proxies servers, it doesn't bundle them (e.g. Node for npx servers, an account for API servers).

Quickstart

1. Connect your AI client

PAG runs as a stdio MCP server, launched via uvx.

With Claude Code:

claude mcp add pag -- uvx perforce-agentic-gateway@latest

For any client that uses .mcp.json (Cursor, and others):

{
  "mcpServers": {
    "pag": {
      "command": "uvx",
      "args": ["perforce-agentic-gateway@latest"]
    }
  }
}

@latest keeps PAG current on each launch. Add --working-directory <dir> to pin a project. Other clients (Codex, VS Code, ...): see Connecting AI clients. Restart the client; pag__* tools should appear.

Prefer to install once instead of fetching on demand? uv tool install perforce-agentic-gateway puts a perforce-agentic-gateway command on your PATH that you run in place of uvx perforce-agentic-gateway — see Installing PAG as a tool.

2. See what's available

Ask your assistant:

"What MCP servers are in the PAG registry?"

Lists everything installable from configured registries — including Perforce's first-party servers, e.g. P4, BlazeMeter, Perfecto, Delphix, IPLM.

3. Enable a server from the catalog

Perforce product support MCP servers are available straight from the catalog. Ask your assistant to recommend servers for what you're working on:

"What MCP servers would help with this project?"

PAG scans your project for technology signals and suggests catalog servers, always asking before it enables anything. Or name one directly:

"Enable the P4 server."

PAG records it in your config and starts it. Most Perforce servers need credentials (typically a server URL and an access token); when so, the assistant hands you a dashboard link to enter them — secrets never travel through the chat. See Perforce servers and Secrets.

Browse the full catalog any time with uvx perforce-agentic-gateway view. See Using PAG.

4. Or add a custom server

Anything not in a registry — a local command, a container, or a remote HTTP endpoint — you add directly. The MCP fetch server runs via uvx and needs no credentials, so it's a handy zero-setup server to run end to end and see the flow:

"Add a custom server named fetch that runs uvx mcp-server-fetch."

PAG writes it to your config and starts it.

5. Run a real command

"Fetch https://modelcontextprotocol.io and tell me what MCP is."

The assistant calls fetch__fetch through PAG and answers from the live page.

Why it stays fast

AI client --one stdio connection--> PAG --> server A (command)
                                     | --> server B (remote HTTP)
                                     +-> server C (container)

PAG doesn't forward every downstream tool to your client (20 servers can mean a thousand tools). It exposes a small, fixed pag__* set and keeps the full catalog inside the gateway:

  • pag__explore searches the catalog; only the slice the assistant asks for enters its context.
  • pag__execute runs JavaScript that calls downstream tools, so loops and fan-out across servers take one round trip instead of many.

Full mechanics (the sandbox, qualified tool names, prompts and resources) are in Tools and the sandbox.

Going deeper

  • Connecting AI clients — Claude Code, Codex, VS Code, Cursor.
  • Using PAG — managing servers, the dashboard, the catalog and registries, Perforce servers, the tools/sandbox model.
  • Dashboards — build browser dashboards over your servers with the UI Builder.
  • Sharing dashboards — export a dashboard to another project, and import one.
  • Secrets — entering, storing, and looking up credentials.
  • Configuration — the complete config.toml reference.
  • Troubleshooting — logging and common fixes.
  • Reference — command line, uninstalling, glossary.

Feedback

Bug reports and feature requests go through GitHub issues. For setup and runtime problems, check Troubleshooting first — it covers the common cases.

License

Use of PAG is governed by the Perforce Agentic Gateway Terms of Use.

Related MCP servers

AI-native integration with Perforce P4 version control and digital asset management.

115
Python
MIT
View repository →

MCP server for P4 Plan — tasks, sprints, bugs, comments, custom fields via GraphQL API.

4
TypeScript
MIT
View repository →

Real estate investment intelligence: search, comps, cash flow, off-market leads, skip trace.

View repository →

Real-time web search, reasoning, and research through Perplexity's API

Cross-chain bridge aggregator — compares LI.FI, deBridge, Relay, Across & more for best rates.

0
TypeScript
MIT
View repository →

Travel/hotel data: 6,300 hotels scored for cosiness from guest reviews; verified booking links.