list
List all workspaces (optionally filtered by user)
How to use it
list is exposed by the P4mcp Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install P4mcp Server
uvx p4mcp-serverOther tools in P4mcp Server (39)
Get review activity history
Get file annotations with blame information
Check for pending stream spec conflicts
Get child streams of a given stream
Get comments on a review
Fields for comments (default: "id,body,user,time")
Get file content at a specific revision
Get current user information and permissions
Get current user's review dashboard (my reviews, needs attention)
Compare file versions (depot-to-depot or mixed)
List files in a specific shelf
Get files read status by users
, toversion - Version range for files action
Get a detailed workspace specification
Get detailed job information and status
Get a workspace spec bound to a stream
Get the full stream graph (parent + children)
Search for files by content pattern (text search)
Get file revision history and integration records
Get file basic details (type, size, permissions)
Get integration status between stream and parent (p4 istat)
List changelists awaiting integration between streams
List jobs associated with a changelist
List workspaces bound to a stream
Maximum results (default: 10)
Get file metadata (attributes, filesize, etc.)
Get the parent stream
Comma-separated fields to return (e.g., "id,description,author,state")
Review ID (required for get, transitions, filesreadby, files, comments, activity)
Search for files by name pattern (wildcard matching)
Get P4 version, uptime, and configuration
Check workspace sync status
Stream depot path (required for get, children, parent, graph, checkresolve, interchanges)
Path pattern(s) for list (e.g., ["//depot/..."])
Get available state transitions for a review
Check workspace type and configuration
List of up voters for transitions
Validate file paths against a stream's view
Validate opened files for submit in a stream workspace