Skip to main content
Glama
Nehru0582

Perforce P4 MCP Server

by Nehru0582

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
P4PORTNoP4 server address, e.g. ssl:perforce.example.com:1666 or localhost:1666.
P4USERNoYour P4 username.
P4CLIENTNoYour current P4 workspace. Optional, but recommended.
P4CONFIGNoPath to a P4CONFIG file. If set, no environment variables need to be set in the env block; the server uses configuration from this file instead.
P4PASSWDNoP4 password or ticket content for authentication when not using a mounted P4 tickets file.
P4DAM_API_KEYNoAPI key for P4 DAM REST API access.
P4MCP_LOG_DIRNoDirectory for log files. Defaults to logs/ in the server executable's directory. Can be overridden by the --log-dir CLI argument.logs/
P4MCP_CA_BUNDLENoPath to a custom CA bundle for TLS. Used when P4MCP_TLS_CA_MODE=certifi; ignored in system mode.
P4MCP_MAX_RESULTSNoCap on the number of rows returned per P4 command (p4.maxresults). Set to 0 to disable the limit. Must be a non-negative integer. Can be overridden by the --max-results CLI argument.10000
P4MCP_TLS_CA_MODENoTLS certificate source mode. system uses the OS trust store via truststore; certifi uses certifi. In system mode, custom CA bundles set via P4MCP_CA_BUNDLE or --ca-bundle are ignored.system
P4MCP_MAX_SCAN_ROWSNoCap on the number of rows scanned per P4 command (p4.maxscanrows). Unset by default. Must be a non-negative integer when supplied. Can be overridden by the --max-scan-rows CLI argument.

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources