Skip to content
Agentmart
Submit a tool

Perforce P4 MCP Server

Perforce P4 MCP server for version control and P4 DAM digital asset management.

Connector by perforce · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 123
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/perforce-p4mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Perforce P4 MCP server for version control and P4 DAM digital asset management.

Use cases: version-control, file-management

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
20 read · 7 write · 10 delete · 1 not yet classified
Secrets
1 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Docker image

Tools by what they do 38

Read from the source code; the running server may list different tools.

Read 20 · Look things up without changing anything.

  • fetch_p4dam_media
  • query_changelists
  • query_files
  • query_jobs
  • query_p4dam_asset
  • query_p4dam_assets
  • query_p4dam_custom_attribute_templates
  • query_p4dam_file_review
  • query_p4dam_file_reviews
  • query_p4dam_helix_classic_branches
  • query_p4dam_projects
  • query_p4dam_repositories
Show 8 more tools
  • query_p4dam_workflow
  • query_p4dam_workflow_states
  • query_p4dam_workflows
  • query_reviews
  • query_server
  • query_shelves
  • query_streams
  • query_workspaces

Write 7 · Create, change, send or run things.

  • create_p4dam_asset_bundle
  • create_p4dam_comment
  • create_p4dam_file_review
  • modify_jobs
  • sync_p4dam_asset_bundle
  • update_p4dam_asset_bundle
  • update_p4dam_file_review

Delete 10 · Delete, drop, revoke or wipe things.

  • delete_p4dam_asset_bundle
  • delete_p4dam_file_review
  • modify_changelists
  • modify_files
  • modify_reviews
  • modify_shelves
  • modify_streams
  • modify_workspaces
  • update_p4dam_asset_custom_attributes
  • update_p4dam_asset_tags

Not yet classified 1 · We could not tell from the name and description.

  • regenerate_p4dam_preview

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • P4DAM_API_KEY

Other settings (environment variables or headers).

  • P4CLIENT
  • P4PASSWD
  • P4PORT
  • P4USER

Files it touches

  • Any path the agent passes to its tools

Tools (38)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • create_p4dam_asset_bundle

    Create a P4 DAM asset bundle — a named collection of depot files scoped for review. Requires a project, repository, depot_path (must end .p4bundle), and view_paths. Supply stream_path for helix_stream repos, or helix_classic_branch for helix_classic repos.

  • create_p4dam_comment

    Add a comment to a file review (asset bundles only), a file within a file review, a committed file or asset bundle without a review, or reply to an existing comment.

  • create_p4dam_file_review

    Create a P4 DAM file (asset) review. Supports both single-file reviews and asset bundle reviews (.p4bundle). For bundle reviews supply asset_bundle UUID (auto-detected from depot_path when omitted). For helix_classic repos supply helix_classic_branch. Always set base_commit_id to the changelist the user is viewing, or the latest changelist number of the file. Set head_commit_id for regular file reviews; omit for bundle reviews.

  • delete_p4dam_asset_bundle

    Delete a P4 DAM asset bundle. Prompts for confirmation before deleting.

  • delete_p4dam_file_review

    Delete a P4 DAM file review. Prompts for confirmation before deleting.

  • fetch_p4dam_media

    Fetch P4 DAM media and return it as a viewable image. Use thumbnail_url, preview_url, or sprite_url from query_p4dam_assets / query_p4dam_asset results — these are only present for image files. For file_url of non-image assets, returns the MIME type and size instead of image content.

  • modify_changelists

    Create/delete changelists, update changelists and organize files/jobs (WRITE permission)

  • modify_files

    Add, edit, move, delete, revert, reconcile, resolve, and sync files (WRITE permission)

  • modify_jobs

    Link or unlink jobs (WRITE permission)

  • modify_reviews

    Create/update/delete reviews (WRITE permission)

  • modify_shelves

    Create/delete, update shelves and unshelve files (WRITE permission)

  • modify_streams

    Create/update/delete streams, edit/resolve/revert/shelve stream specs, copy/merge/integrate/populate between streams, switch workspace, create stream workspace (WRITE permission)

  • modify_workspaces

    Create/delete workspace, Update workspace specs, and switch active workspace (WRITE permission)

  • query_changelists

    Get changelist details and list changelists (READ permission)

  • query_files

    Get file content, history, info, diff, annotations, search by name, grep by content (READ permission)

Show 23 more tools
  • query_jobs

    Get jobs from changelist and get job details (READ permission)

  • query_p4dam_asset

    Fetch full metadata for a single P4 DAM asset. Pass depot_path when project/repository scope is unknown; pass path + project_id + repository_id when scope is known (more efficient). For discovery without a known path, use query_p4dam_assets instead.

  • query_p4dam_assets

    Search P4 DAM assets. Supports filtering by keyword, filename, tag, file type, depot path, project, repository, uploader, file size, and date range. Returns a list of matching assets with metadata and URLs. Use when you don't have a specific depot path yet. For full metadata on a known asset, use query_p4dam_asset instead.

  • query_p4dam_custom_attribute_templates

    List custom file attribute templates available in a P4 DAM project. Each template defines an attribute name, type (text, single-select, multi-select, checkbox), and for select types the list of allowed values. Use the returned UUID when setting attribute values with update_p4dam_asset_custom_attributes.

  • query_p4dam_file_review

    Fetch a single P4 DAM file review by UUID. Returns full detail including state, view_paths, asset_bundle, creator, and download_url (for bundle reviews). Use query_p4dam_file_reviews to discover review UUIDs.

  • query_p4dam_file_reviews

    List P4 DAM file (asset) reviews for a project. Returns paginated results with metadata (total_count, more_results). For full detail on a single review including download_url, use query_p4dam_file_review instead.

  • query_p4dam_helix_classic_branches

    List Helix Classic branches in a repository. Only applies to helix_classic repositories.

  • query_p4dam_projects

    List P4 DAM projects.

  • query_p4dam_repositories

    List repositories (collections) in a P4 DAM project. The response includes repository type (helix_stream or helix_classic) and linked_streams.

  • query_p4dam_workflow

    Fetch a single P4 DAM workflow by short name or UUID. Pass include=['states'] to see all available review states with their kind (open/review/done), color, and position. Pass include=['transition_rules'] to see which state transitions are allowed and for which users.

  • query_p4dam_workflow_states

    List states for a P4 DAM workflow. Each state has: name, short_name, kind (open/review/done), color, and position. The short_name is the value to pass as state when creating or updating a file review. State kinds: 'open' — initial state; 'review' — under review; 'done' — terminal. Preconfigured states: Open, In Review, Reviewed, Released, Rejected.

  • query_p4dam_workflows

    List P4 DAM workflows. Each workflow defines the set of states an asset review can be in (open, review, done kinds). Pass include=['states'] to get all states in one call. Use query_p4dam_workflow_states for the states of a specific workflow.

  • query_reviews

    Get review details and list reviews (READ permission). Open review - state is 'approved but pending=true' or 'needsReview' or 'needsRevision'. Closed review - state is 'approved but pending=false' or 'rejected' or 'archived'.

  • query_server

    Get server info and current user information (READ permission)

  • query_shelves

    List shelves, get shelve diff and files (READ permission)

  • query_streams

    Query streams: list, get spec, children/parent/graph, integration status, workspaces, validate files, check resolve, interchanges (READ permission)

  • query_workspaces

    Get workspace details, list workspaces, check type and status (READ permission)

  • regenerate_p4dam_preview

    Trigger P4Search to regenerate the thumbnail and preview image for a specific asset revision. Deletes the existing preview attributes and asks P4Search to re-index the file. Returns 'accepted' immediately — the actual regeneration happens asynchronously. Requires P4.P4Search.URL and P4.P4Search.AUTH_TOKEN to be set on the P4 server.

  • sync_p4dam_asset_bundle

    Sync an asset bundle's depot files to the local P4CLIENT workspace via p4 sync. Requires P4CLIENT to be set — returns an error if it is not. Sync is scoped to view_paths only; files outside those paths are not touched even if the client's View is broader.

  • update_p4dam_asset_bundle

    Update a P4 DAM asset bundle. Only description, view_paths, and hero_file_path can be changed after creation. depot_path is immutable. Provide only the fields you want to change.

  • update_p4dam_asset_custom_attributes

    Set or remove custom attribute values on one or more P4 DAM assets. Use query_p4dam_custom_attribute_templates first to discover available templates and their UUIDs. Supports individual files, specific revisions (identifier in path), and recursive folders (//depot/folder/...).

  • update_p4dam_asset_tags

    Add or remove user tags and auto-tags on one or more P4 DAM assets in a single call. Supports individual files, specific revisions, and recursive folder paths (//depot/folder/...). All three operations (create, delete, delete_auto) can be combined in one request. Returns an array with the updated tags and auto_tags for each affected asset. Examples: - Tag a single file: paths=[{path: "//s/file.png"}], create=["hero"] - Untag a file: paths=[{path: "//s/file.png"}], delete=["wip"] - Remove auto-tag: paths=[{path: "//s/file.png"}], delete_auto=["outdated"] - Tag a…

  • update_p4dam_file_review

    Update a P4 DAM file review. Provide only the fields you want to change. State transitions must be permitted by the project's workflow for the current user.

Signals

Stars
123
Forks
28
Open issues
4
Contributors
8
Last commit
Sep 25, 2026 (1 month ago)
Last release
Sep 25, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.perforce/p4mcp-server
Version
2026.4.3078076
Auth
No auth
Packages
oci ghcr.io/perforce/p4mcp-server:2026.4.3078076
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same server elsewhere

Copies of this server published by others; search shows only one of them.

More from perforce

Cite this page

Perforce P4 MCP Server. Agent Mart. https://agentmart.dev/connectors/perforce-p4mcp-server (last updated 2026-10-24)