PluginBench
MCP Server

io.github.perforce/p4plan-mcp MCP Server

io.github.perforce/p4plan-mcp

What is the io.github.perforce/p4plan-mcp MCP server?

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

How to install io.github.perforce/p4plan-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • P4PLAN_API_AUTH_TOKEN
    required
    secret

    JWT bearer token for the P4 Plan GraphQL API. Forwarded as Authorization on every tool call.

  • P4PLAN_API_URL

    URL of the P4 Plan GraphQL API (default: http://localhost:4000).

  • P4PLAN_ALLOW_SELF_SIGNED_CERTS

    Set to 'true' to accept self-signed TLS certificates from the GraphQL API. Default: false.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "p4plan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@perforce/p4plan-mcp"
      ],
      "env": {
        "P4PLAN_API_AUTH_TOKEN": "<YOUR_P4PLAN_API_AUTH_TOKEN>",
        "P4PLAN_API_URL": "<YOUR_P4PLAN_API_URL>",
        "P4PLAN_ALLOW_SELF_SIGNED_CERTS": "<YOUR_P4PLAN_ALLOW_SELF_SIGNED_CERTS>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "p4plan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@perforce/p4plan-mcp"
      ],
      "env": {
        "P4PLAN_API_AUTH_TOKEN": "<YOUR_P4PLAN_API_AUTH_TOKEN>",
        "P4PLAN_API_URL": "<YOUR_P4PLAN_API_URL>",
        "P4PLAN_ALLOW_SELF_SIGNED_CERTS": "<YOUR_P4PLAN_ALLOW_SELF_SIGNED_CERTS>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "p4plan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@perforce/p4plan-mcp"
      ],
      "env": {
        "P4PLAN_API_AUTH_TOKEN": "<YOUR_P4PLAN_API_AUTH_TOKEN>",
        "P4PLAN_API_URL": "<YOUR_P4PLAN_API_URL>",
        "P4PLAN_ALLOW_SELF_SIGNED_CERTS": "<YOUR_P4PLAN_ALLOW_SELF_SIGNED_CERTS>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "p4plan-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@perforce/p4plan-mcp"
      ],
      "env": {
        "P4PLAN_API_AUTH_TOKEN": "<YOUR_P4PLAN_API_AUTH_TOKEN>",
        "P4PLAN_API_URL": "<YOUR_P4PLAN_API_URL>",
        "P4PLAN_ALLOW_SELF_SIGNED_CERTS": "<YOUR_P4PLAN_ALLOW_SELF_SIGNED_CERTS>"
      }
    }
  }
}
Claude Code
claude mcp add p4plan-mcp --env P4PLAN_API_AUTH_TOKEN=<YOUR_P4PLAN_API_AUTH_TOKEN> --env P4PLAN_API_URL=<YOUR_P4PLAN_API_URL> --env P4PLAN_ALLOW_SELF_SIGNED_CERTS=<YOUR_P4PLAN_ALLOW_SELF_SIGNED_CERTS> -- npx -y @perforce/p4plan-mcp

Related MCP servers

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

View repository →