p4plan mcp for VS Code
io.github.perforce/p4plan-mcp
MCP server for P4 Plan — tasks, sprints, bugs, comments, custom fields via GraphQL API.
client:VS Code
transport:stdio
runtime:npm
Install p4plan mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "p4plan-api-auth-token",
"description": "P4PLAN_API_AUTH_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "p4plan-api-url",
"description": "P4PLAN_API_URL",
"password": true
},
{
"type": "promptString",
"id": "p4plan-allow-self-signed-certs",
"description": "P4PLAN_ALLOW_SELF_SIGNED_CERTS",
"password": true
}
],
"servers": {
"p4plan-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@perforce/p4plan-mcp"
],
"env": {
"P4PLAN_API_AUTH_TOKEN": "${input:p4plan-api-auth-token}",
"P4PLAN_API_URL": "${input:p4plan-api-url}",
"P4PLAN_ALLOW_SELF_SIGNED_CERTS": "${input:p4plan-allow-self-signed-certs}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs