← Back to browse

Perforce P4 MCP Server

Indexed by io.github.perforce

About

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

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsP4PORT P4USER P4CLIENT P4PASSWD
Claude Code
claude mcp add --env P4PORT= --env P4USER= --env P4CLIENT= --env P4PASSWD= p4mcp-server -- docker ghcr.io/perforce/p4mcp-server:2026.3.2996147
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"p4mcp-server","command":"docker","args":["ghcr.io/perforce/p4mcp-server:2026.3.2996147"],"env":{"P4PORT":"","P4USER":"","P4CLIENT":"","P4PASSWD":""}}'
JSON
{
  "mcpServers": {
    "p4mcp-server": {
      "command": "docker",
      "args": [
        "ghcr.io/perforce/p4mcp-server:2026.3.2996147"
      ],
      "env": {
        "P4PORT": "",
        "P4USER": "",
        "P4CLIENT": "",
        "P4PASSWD": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.