MCP server for P4 Plan β tasks, sprints, bugs, comments, custom fields via GraphQL API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by P4plan MCP.
Parameters`projectId`
Types`backlog_task`, `bug`, `scheduled_task`, `sprint`, `release`, `sprint_task`
MCP (Model Context Protocol) server for P4 Plan, enabling AI assistants like Claude and VS Code Copilot to interact with P4 Plan project management data.
Architecture Β· Prerequisites Β· Quick Start Β· Install Β· Client Configurations Β· Tools
Skills Β· Logging Β· Troubleshoot Β· Development Β· License
This service acts as a stateless protocol adapter between MCP clients (AI assistants) and the P4 Plan GraphQL API, using stdio transport (stdin/stdout).
The client spawns the MCP server as a child process. Authentication is provided via the P4PLAN_API_AUTH_TOKEN environment variable, which the server validates at startup and forwards to the GraphQL API on every tool call.
| Requirement | Version | Notes |
|---|---|---|
| Node.js | >= 20 (24+ recommended) | The server targets ES2023. Check with node -v. |
| npm | >= 9 | Comes with Node.js. Check with npm -v. |
| P4 Plan API | >= 2026.1.002 | Required for all tool operations. Earlier versions are not supported. |
Tip: Use nvm to manage Node.js versions, or skip the Node.js requirement entirely by using Docker.
The fastest way to get started β no installation required. Just configure your MCP client to use npx:
npx automatically downloads and runs the latest version of the server. Your MCP client (VS Code, Claude Desktop, etc.) handles this for you β just add the config below and start chatting.
VS Code β add to .vscode/mcp.json:
Claude Desktop β add to your config:
Note: The
-yflag auto-confirms the npm install prompt so the server starts without user interaction.
See Client Configuration for more options including Docker, secure token prompts, and local builds.
This server is published to the official MCP Registry as io.github.perforce/p4plan-mcp. Discover it via the registry API:
MCP clients that support registry discovery can install the server by name without needing to know the npm package identifier.
For development or when you want to run from a local clone:
Run the MCP server via Docker instead of installing Node.js locally. The MCP client (VS Code, Claude Desktop) spawns the container as a child process β same as npx, just using docker as the command.
The image is published to Docker Hub at perforce/p4plan-mcp, built multi-arch (linux/amd64 + linux/arm64) on every release, with SLSA provenance and SBOM attestations.
VS Code (.vscode/mcp.json):
Claude Desktop:
Note: Use
host.docker.internal(macOS/Windows) or172.17.0.1(Linux) to reach the P4 Plan GraphQL API running on the host machine.
Pin a specific version by replacing
:latestwith:2026.2.0(or whichever tag) for reproducible deployments.
Build locally (for development against unreleased changes):
Copy the example config and configure:
Edit .env with your settings:
The server communicates via stdin/stdout. It is not meant to be run interactively β MCP clients (VS Code, Claude Desktop) spawn it as a child process automatically.
The MCP server requires a JWT token provided via the P4PLAN_API_AUTH_TOKEN environment variable. The token is validated at startup and forwarded to the P4 Plan GraphQL API on every tool call. No sessions or state are maintained.
Get a JWT token from the P4 Plan GraphQL API using curl. You can authenticate with either your password or a Personal Access Token (PAT):
A PAT can be used in place of your password in the same login mutation. This avoids exposing your actual password:
Both methods return the same response:
Copy the access_token value and use it in your MCP client configuration.
Note: JWT tokens expire. When your token expires, the server will fail to start with an authentication error. Generate a new JWT using the same
curlcommand above.
list_projects - List all active projects the user is a member ofget_project - Get project configuration including archivedStatus, backlog ID, and QA IDprojectIdget_my_tasks - Get tasks assigned to current user (todoList)showCompleted, showOnlyNextFourWeeks, showHidden, showPipelineTasksThatCannotStartFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/p4plan-mcp)<a href="https://allmcps.com/mcp/p4plan-mcp"><img src="https://allmcps.com/api/badge/p4plan-mcp?style=directory" alt="P4plan MCP on AllMCPs" /></a>