Perforce P4 MCP Server for Zed
io.github.perforce/p4mcp-server
Perforce P4 MCP server: changelists, files, shelves, workspaces, jobs, code reviews, and streams.
client:Zed
transport:stdio
runtime:oci
Install Perforce P4 MCP Server in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"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>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs