P4mcp Server
Connects AI assistants to Perforce P4 for version control, workspace, review, file, and server operations.
Install P4mcp Server
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"p4mcp-server": {
"command": "uvx",
"args": [
"p4mcp-server"
],
"env": {
"P4PORT": "YOUR_VALUE_HERE",
"P4USER": "YOUR_VALUE_HERE",
"P4CLIENT": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Inspect Perforce workspaces and sync status
- Search and review files from an AI assistant
- Compare file revisions and retrieve line ranges
- Manage P4 code reviews and comments
- Query changelist jobs and server metadata
Key features
- Perforce P4 file, workspace, changelist, shelf, job, and review tools
- File content, history, diff, search, grep, and annotation operations
- P4 code review dashboards, comments, transitions, and activity
- Optional P4 DAM asset and metadata access
- Read-only mode with checks for destructive actions
- Configurable tool categories and STDIO deployment
Tools80
What P4mcp Server lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 15d ago via OSV.dev · p4mcp-server (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How P4mcp Server works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about P4mcp Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/p4mcp-server)<a href="https://allmcps.com/mcp/p4mcp-server"><img src="https://allmcps.com/api/badge/p4mcp-server?style=directory" alt="P4mcp Server on AllMCPs" /></a>