Perforce P4 MCP Server
Officialby perforce
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| P4PORT | No | P4 Server address (e.g., ssl:perforce.example.com:1666) | |
| P4USER | No | Your P4 username | |
| P4CLIENT | No | Your current P4 workspace (optional but recommended) | |
| P4CONFIG | No | Path to a P4CONFIG file that defines P4PORT, P4USER, etc. | |
| P4PASSWD | No | Your P4 password or ticket | |
| P4MCP_LOG_DIR | No | Directory for log files (default: logs/ in server executable directory) | |
| P4MCP_CA_BUNDLE | No | Path to custom CA certificate bundle (requires P4MCP_TLS_CA_MODE=certifi) | |
| P4MCP_SSL_VERIFY | No | Enable/disable SSL verification for Swarm API (default: true) | |
| P4MCP_TLS_CA_MODE | No | TLS certificate source mode: system or certifi | system |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/perforce/p4mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server