Perforce P4 MCP Server for Windsurf
io.github.perforce/p4mcp-server
Perforce P4 MCP server: changelists, files, shelves, workspaces, jobs, code reviews, and streams.
client:Windsurf
transport:stdio
runtime:oci
Install Perforce P4 MCP Server in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"p4mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/perforce/p4mcp-server:2026.3.2996147"
],
"env": {
"P4PORT": "<P4PORT>",
"P4USER": "<P4USER>",
"P4CLIENT": "<P4CLIENT>",
"P4PASSWD": "<P4PASSWD>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs