Skip to main content
Glama
Cocoon-AI

MCP Perforce Server

by Cocoon-AI

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging. Set to 'mcp:*' for debug output.
P4CONFIGNoThe name of the Perforce configuration file to use..p4config

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
p4_addC

Add files to Perforce

p4_editC

Open files for edit in Perforce

p4_deleteB

Mark files for deletion in Perforce

p4_revertC

Revert files or changelist

p4_syncC

Sync files from the depot

p4_diffC

Show differences for files

p4_changelist_createB

Create a new changelist with a description

p4_changelist_submitC

Submit a changelist

p4_move_to_changelistB

Move files to a specific changelist

p4_statusB

Get current P4 workspace status and pending changes

p4_infoB

Show Perforce configuration info for current directory

mcp_perforce_versionA

Show MCP Perforce server version

p4_raw_commandA

FOR DEBUGGING: Executes a raw p4 command and returns stdout/stderr

p4_stream_listB

List all streams or streams matching a pattern

p4_stream_infoB

Get detailed information about a specific stream

p4_stream_switchC

Switch workspace to a different stream

p4_stream_createC

Create a new stream

p4_stream_editB

Edit stream specification

p4_stream_graphC

Show stream hierarchy graph

p4_client_listB

List all clients/workspaces for the current user

p4_client_infoA

Get detailed information about a specific client/workspace

p4_client_createB

Create a new client/workspace

p4_client_editB

Edit an existing client/workspace specification

p4_client_deleteB

Delete a client/workspace

p4_client_switchC

Switch to a different client/workspace

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cocoon-AI/mcp-perforce'

If you have feedback or need assistance with the MCP directory API, please join our Discord server