HomeVersion Control › Perforce P4 MCP Server

Perforce P4 MCP Server

Perforce P4 MCP server: changelists, files, shelves, workspaces, jobs, code reviews, and streams.

Python
★ 119 stars Last pushed 2026-09-18 License: MIT

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (oci)

docker run -i --rm ghcr.io/perforce/p4mcp-server:2026.3.2996147

Or add to your MCP client config:

{
  "mcpServers": {
    "p4mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/perforce/p4mcp-server:2026.3.2996147"
      ],
      "env": {
        "P4PORT": "<YOUR_VALUE>",
        "P4USER": "<YOUR_VALUE>",
        "P4CLIENT": "<YOUR_VALUE>",
        "P4PASSWD": "<YOUR_VALUE>"
      }
    }
  }
}
  • P4PORT — Perforce server address (e.g. ssl:perforce.example.com:1666)
  • P4USER — Perforce username
  • P4CLIENT — Perforce workspace/client name
  • P4PASSWD — Perforce password or ticket

This repository has 2 servers listed in the Official MCP Registry.

Other names: io.github.hjain-perforce/p4mcp-server

Related servers

Data from the Official MCP Registry