
P4mcp MCP Server
by perforceio.github.hjain-perforce/p4mcp-serverv2025.1.2830393
Perforce P4 MCP Server is a MCP server that integrates with the Perforce P4 version control system.
context tax
queued
security
queued
cold start
queued
freshness
Active15d ago
Install P4mcp MCP server
Install in Claude Code
claude mcp add p4mcp -- docker run -i --rm ghcr.io/perforce/p4mcp-server:2026.4.3078076Install in Cursor
{
"mcpServers": {
"p4mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/perforce/p4mcp-server:2026.4.3078076"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"p4mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/perforce/p4mcp-server:2026.4.3078076"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"p4mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/perforce/p4mcp-server:2026.4.3078076"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"p4mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/perforce/p4mcp-server:2026.4.3078076"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| P4PORT | — | — | Perforce server address (e.g. ssl:perforce.example.com:1666) |
| P4USER | — | — | Perforce username |
| P4CLIENT | — | — | Perforce workspace/client name |
| P4PASSWD | — | — | Perforce password or ticket |
| P4DAM_API_KEY | — | — | P4 DAM API key (account_key). When unset, P4 DAM tools are not registered. |
Freshness
Active — last maintenance signal 15d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-25 · 15d ago · GitHub
Latest release
2026-09-25 · 15d ago · GitHub · v2026.4.3078076
Package published
no data · npm/PyPI
Registry entry updated
2025-12-18 · 10mo ago · official registry · v2025.1.2830393
FAQ
›How do I install the P4mcp MCP server in Claude Code?
Run: claude mcp add p4mcp -- docker run -i --rm ghcr.io/perforce/p4mcp-server:2026.4.3078076. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does P4mcp require an API key?
No required environment variables are declared in its published metadata.
›Can I use P4mcp as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is P4mcp in the official MCP registry?
Yes, as io.github.hjain-perforce/p4mcp-server.