Skip to content
Cursor

Perforce P4 MCP Server for Cursor

io.github.perforce/p4mcp-server

Perforce P4 MCP server for version control and P4 DAM digital asset management.

client:Cursor transport:stdio runtime:oci

Install Perforce P4 MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "p4mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/perforce/p4mcp-server:2026.4.3078076"
      ],
      "env": {
        "P4PORT": "<P4PORT>",
        "P4USER": "<P4USER>",
        "P4CLIENT": "<P4CLIENT>",
        "P4PASSWD": "<P4PASSWD>",
        "P4DAM_API_KEY": "<P4DAM_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Perforce P4 MCP Server in other clients