What are the prerequisites for MCP Perforce Server?
Node.js 18+ and the Perforce command-line client (p4) must be installed and in your PATH. `.p4config` files in project directories are recommended.
@Cocoon-AI
基本情報
MCP Perforce Server
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"perforce": {
"command": "npx",
"args": [
"-y",
"@cocoon-ai/mcp-perforce"
],
"env": {
"P4CONFIG": ".p4config"
}
}
}
}Add files to Perforce
Open files for edit in Perforce
Mark files for deletion in Perforce
Revert files or changelist
Sync files from the depot
Show differences for files
Create a new changelist with a description
Submit a changelist
Move files to a specific changelist
Get current P4 workspace status and pending changes
Show Perforce configuration info for current directory
Show MCP Perforce server version
FOR DEBUGGING: Executes a raw p4 command and returns stdout/stderr
List all streams or streams matching a pattern
Get detailed information about a specific stream
Switch workspace to a different stream
Create a new stream
Edit stream specification
Show stream hierarchy graph
List all clients/workspaces for the current user
Get detailed information about a specific client/workspace
Create a new client/workspace
Edit an existing client/workspace specification
Delete a client/workspace
Switch to a different client/workspace
A Model Context Protocol (MCP) server that provides a clean, non-interactive interface for Perforce (P4) operations in Claude Desktop. It wraps P4 commands to eliminate interactive prompts and complex state management, making them more reliable for AI assistants.
Install the package globally via npm and add it to Claude Desktop configuration. The server uses .p4config files for automatic per-project Perforce settings. Once configured, you ask Claude to execute commands like p4_status, p4_sync, p4_changelist_create, or p4_stream_switch.
.p4config files.Node.js 18+ and the Perforce command-line client (p4) must be installed and in your PATH. `.p4config` files in project directories are recommended.
It uses Perforce's built-in P4CONFIG mechanism. The server reads `.p4config` files from the current or parent directories to automatically switch between servers based on your working directory.
Restart Claude Desktop, verify the configuration file is valid JSON, and confirm the package is installed globally with `npm list -g @cocoon-ai/mcp-perforce`.
Enable debug logging by adding `"DEBUG": "mcp:*"` to the environment variables in the server configuration. You can also test P4 connectivity with `p4 info` and `p4 login` in your terminal.
The server uses the standard MCP SDK and relies on Perforce's own authentication (e.g., `p4 login`). It reads credentials and settings from `.p4config` files or environment variables like `P4PORT`, `P4CLIENT`, and `P4USER`.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
不止于 CSS
コメント