Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system, providing structured read/write tools for managing changelists, files, shelves, workspaces, jobs, reviews, and server metadata.
From the registry: Perforce P4 MCP Server is a MCP server that integrates with the Perforce P4 version control system.
Please install the `p4mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Perforce P4 server access** — Connection to a P4 Server with valid credentials (ticket-based or password) (https://www.perforce.com/)
- **Download pre-built binary** — Download p4-mcp-server binary for your OS from GitHub Releases (https://github.com/perforce/p4mcp-server/releases/latest)
Canonical MCP server config (stdio transport):
- command: `/absolute/path/to/p4-mcp-server`
- args: ["--readonly"]
- required environment variables:
- `P4PORT`: P4 Server address (example: `ssl:perforce.example.com:1666`)
- `P4USER`: Your P4 username (example: `<your-p4-username>`)
- optional environment variables:
- `P4CLIENT`: Your current P4 workspace (example: `<your-workspace-name>`)
Note: Official Perforce P4 MCP server. Uses pre-built binaries (no Python needed). Read-only mode by default (--readonly). Supports files, changelists, shelves, workspaces, jobs, and code review workflows. Community-supported, not officially supported by Perforce.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.P4PORTrequiredP4 Server address.P4USERrequiredYour P4 username.P4CLIENTYour current P4 workspace.Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.