Perforce P4 MCP server: changelists, files, shelves, workspaces, jobs, code reviews, and streams.
Use this profile to copy client config, check auth requirements, review tools and resources, and compare related MCP servers before adding it to an AI client.
{
"P4PORT": "YOUR_VALUE_HERE",
"P4USER": "YOUR_VALUE_HERE",
"P4CLIENT": "YOUR_VALUE_HERE",
"P4PASSWD": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-perforce-p4mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-io-github-perforce-p4mcp-server"
],
"env": {
"P4PORT": "YOUR_VALUE_HERE",
"P4USER": "YOUR_VALUE_HERE",
"P4CLIENT": "YOUR_VALUE_HERE",
"P4PASSWD": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
Perforce P4 MCP Server is an MCP server for Perforce P4 MCP server: changelists, files, shelves, workspaces, jobs, code reviews, and streams.. It supports STDIO transport.
Use the client-specific config in Install and add it to your MCP-compatible client.
Choose the Claude Desktop tab in Install and copy the config into Claude Desktop's MCP server settings.
Choose the Claude Code tab in Install and copy the config into Claude Code's MCP server settings.
Choose the Codex tab in Install and copy the config into Codex's MCP server settings.
Choose the Cursor or VS Code tab in Install and copy the config into Cursor or VS Code's MCP server settings.
Perforce P4 MCP Server uses STDIO transport. Use the package or command config in Install.
Perforce P4 MCP Server inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
Perforce P4 MCP Server does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
ghcr.io/perforce/p4mcp-server:2026.1.2933350stdio | oci | Not captured | Env: P4PORT Env: P4USER Env: P4CLIENT Env: P4PASSWD |