Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system. It is built on FastMCP with direct P4 Python bindings to expose safe, structured read/write tools for changelists, files, shelves, workspaces, jobs, reviews, and server metadata. It also integrates with P4 DAM through its REST API to manage resources.
chmod +x build.sh && ./build.sh package
- Linux: chmod +x build.sh && ./build.sh package
- Windows: build.bat package
Output:
- macOS & Linux: p4-mcp-server-<version>.tgz
- Windows: p4-mcp-server-<version>.zip
query_server - Get server information and current user detailsquery_workspaces - Workspace information and managementquery_changelists - Access changelist information and historyquery_files - File operations and informationquery_shelves - Shelved changelist operations and inspectionquery_jobs - Job tracking and defect managementquery_reviews - Review discovery, details, and activityquery_streams - Stream hierarchy, integration status, and workspace validationquery_p4dam_assets - Search P4 DAM assets by keyword or filtersquery_p4dam_asset - Fetch full metadata for a single P4 DAM assetquery_p4dam_projects - List P4 DAM projectsquery_p4dam_repositories - List repositories in a P4 DAM projectquery_p4dam_helix_classic_branches - List Helix Classic branches in a repositoryfetch_p4dam_media - Fetch and render a P4 DAM media URL as an imagequery_p4dam_file_reviews - List file (asset) reviews for a projectquery_p4dam_file_review - Fetch a single file review by UUIDquery_p4dam_workflows - List P4 DAM workflowsquery_p4dam_workflow - Fetch a single workflow by short name or UUIDquery_p4dam_workflow_states - List states for a workflowquery_p4dam_custom_attribute_templates - List custom attribute templates for a projectmodify_workspaces - Workspace creation and managementmodify_changelists - Changelist lifecycle managementmodify_files - File system operations and version controlmodify_shelves - Shelving operations for work in progressmodify_jobs - Job and changelist integrationmodify_reviews - Review creation, transitions, participants, and commentsmodify_streams - Stream lifecycle, spec editing, propagation, and workspace managementcreate_p4dam_asset_bundle - Create a P4 DAM asset bundleupdate_p4dam_asset_bundle - Update an existing asset bundledelete_p4dam_asset_bundle - Delete a P4 DAM asset bundlesync_p4dam_asset_bundle - Sync asset bundle files to a local workspacecreate_p4dam_file_review - Create a P4 DAM asset reviewupdate_p4dam_file_review - Update a P4 DAM file reviewdelete_p4dam_file_review - Delete a P4 DAM file reviewupdate_p4dam_asset_tags - Add or remove asset tags and auto-tagscreate_p4dam_comment - Post a comment on a file review or file, or reply to a commentupdate_p4dam_asset_custom_attributes - Set or remove custom attribute values for assetsregenerate_p4dam_preview - Regenerate an asset preview image