P4mcp Server logo

P4mcp Server

Unclaimed

by perforce

[Community Supported] Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.

Set up this server

01 / Choose your client

02 / Before you connect

Authentication is not specified. Check the project instructions before connecting.

Install the runtime required by the project and make it available to your client.

Project instructions

Use names from the project instructions, separated by commas. Enter names only, never secret values.

03 / Add the configuration

Source: generated from public install instructions

claude mcp add --transport stdio 'p4mcp-server' -- 'uvx' 'p4mcp-server'

Run in your terminal after replacing any placeholders.

04 / Check it in your client

Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.

mcpmcp-serverp4p4-code-reviewp4-mcpp4-mcp-serverp4pythonperforce

More in AI & ML

Browse the full directory

Unclaimed listing

Is this your MCP server?

This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.

Claim this server

Security profile

Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works

40 of 40 tools

Documented tools (40)

From project documentation. A server handshake does not verify each tool’s description or behavior.

activity

Get review activity history

add_comment

Add a comment to a review

annotations

Get file annotations with blame information

append_participants

Add reviewers/groups to a review

check_resolve

Check for pending stream spec conflicts

children

Get child streams of a given stream

comments

Get comments on a review

content

Get file content at a specific revision

create

Create a new review from a changelist

current_user

Get current user information and permissions

dashboard

Get current user's review dashboard (my reviews, needs attention)

delete_participants

Remove participants from a review

diff

Compare file versions (depot-to-depot or mixed)

files

List files in a specific shelf

files_readby

Get files read status by users

get

Get a detailed workspace specification

get_job

Get detailed job information and status

get_workspace

Get a workspace spec bound to a stream

graph

Get the full stream graph (parent + children)

grep

Search for files by content pattern (text search)

history

Get file revision history and integration records

info

Get file basic details (type, size, permissions)

integration_status

Get integration status between stream and parent (p4 istat)

interchanges

List changelists awaiting integration between streams

list

List all workspaces (optionally filtered by user)

list_jobs

List jobs associated with a changelist

list_workspaces

List workspaces bound to a stream

metadata

Get file metadata (attributes, filesize, etc.)

parent

Get the parent stream

refresh_projects

Refresh project associations

replace_participants

Replace all participants

search

Search for files by name pattern (wildcard matching)

server_info

Get P4 version, uptime, and configuration

status

Check workspace sync status

transition

Change review state (needsRevision, needsReview, approved, committed, rejected, archived)

transitions

Get available state transitions for a review

type

Check workspace type and configuration

validate_file

Validate file paths against a stream's view

validate_submit

Validate opened files for submit in a stream workspace

vote

Vote on a review (up, down, clear)

Tool change history

Compared across complete checks of the same configuration. Tools were listed, not invoked. Input-schema changes are not measured here.

No complete tool checks yet.

FAQ

Questions about P4 MCP Server

How do I connect P4 MCP Server to Claude?
Run `claude mcp add p4mcp-server -- uvx p4mcp-server` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
Is P4 MCP Server free?
The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
What can P4 MCP Server do?
P4 MCP Server documents 40 tools to the agent, including activity, add_comment, annotations. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.