P4 Plan MCP (Model Context Protocol) Server
1.4K
Docker image for the P4 Plan MCP server.
This server lets MCP clients such as VS Code Copilot and Claude connect to P4 Plan project management data over the MCP stdio protocol.
P4PLAN_API_AUTH_TOKENP4PLAN_API_URLThe container is intended to be launched by an MCP client, not run interactively.
perforce/p4plan-mcp:latest
Pin a version tag instead of latest if you need reproducible deployments.
P4PLAN_API_AUTH_TOKEN: JWT token for the P4 Plan GraphQL APIP4PLAN_API_URL: GraphQL API URL, for example http://host.docker.internal:4000Optional:
P4PLAN_ALLOW_SELF_SIGNED_CERTS=trueLOG_LEVEL=debug|info|warn|errorSEARCH_LIMIT=400Set P4PLAN_ALLOW_SELF_SIGNED_CERTS=true only when your P4PLAN_API_URL uses HTTPS with a self-signed or otherwise untrusted TLS certificate.
When using Docker, add "-e", "P4PLAN_ALLOW_SELF_SIGNED_CERTS=true" to the args list before perforce/p4plan-mcp:latest.
Add this to .vscode/mcp.json:
{
"servers": {
"p4-plan": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "P4PLAN_API_AUTH_TOKEN=YOUR_JWT_TOKEN",
"-e", "P4PLAN_API_URL=http://host.docker.internal:4000",
"perforce/p4plan-mcp:latest"
]
}
}
}
Create .mcp.json in your project root:
{
"mcpServers": {
"p4-plan": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "P4PLAN_API_AUTH_TOKEN=YOUR_JWT_TOKEN",
"-e", "P4PLAN_API_URL=http://host.docker.internal:4000",
"perforce/p4plan-mcp:latest"
]
}
}
}
Use host.docker.internal on Windows and macOS. On Linux, use the host address that exposes your P4 Plan API, commonly 172.17.0.1.
The server exposes tools for:
Content type
Image
Digest
sha256:5323984cc…
Size
64 MB
Last updated
4 months ago
docker pull perforce/p4plan-mcp