history

MCP tool from P4mcp Server by perforce

Get file revision history and integration records

How to use it

Project documentation lists history for the P4mcp Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install P4mcp Server

$uvx p4mcp-server
FULL P4MCP SERVER LISTING

Other tools in P4mcp Server (39)

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)

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)