P4mcp Server
Connects AI assistants to Perforce P4 for repository queries, file and changelist changes, reviews, shelves, jobs, and streams.
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",
"P4CONFIG": "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— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.
Overview
Use cases
- Inspect P4 file history and diffs before proposing a change
- Manage workspaces and synchronize files from an MCP client
- Organize files into changelists and shelves
- Find reviews, jobs, and stream integration status
- Apply file or stream updates with write confirmation controls
Key features
- Read and write P4 tools for files, changelists, shelves, workspaces, jobs, reviews, and streams
- P4 Code Review discovery and management
- P4 DAM asset and metadata access
- Read-only mode enabled by default
- Configurable tool categories
- STDIO, Docker, and pre-built binary deployment options
Tools15
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.
What it can do
From the 15 tools this server returned when we ran it.
Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 14d 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>