# p4mcp-server

> [Community Supported] Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.

- **URL**: https://www.freshcrate.ai/projects/p4mcp-server
- **Author**: perforce
- **Category**: MCP Servers
- **Latest version**: `v2026.2.2955897` (2026-05-26)
- **License**: MIT
- **Source**: https://github.com/perforce/p4mcp-server
- **Language**: Python
- **GitHub**: 78 stars, 17 forks
- **Registry**: github
- **Tags**: `mcp`, `mcp-server`, `p4`, `p4-code-review`, `p4-mcp`, `p4-mcp-server`, `p4python`, `perforce`, `python`

## Description

[Community Supported] Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v2026.2.2955897` | 2026-05-26 | High | ## What's New  ### Installation - **uvx support** — run P4MCP directly with `uvx p4mcp-server`, no manual install step.  ### Files - **Search and Grep** — `query_files` adds two new actions: `search` (find files by name pattern via `p4 files`) and `grep` (find files by content via `p4 grep`). Both honour `max_results` (default 100, max 1000).  ### Configuration - **Configurable log directory** — set the log output location via the `P4MCP_LOG_DIR` environment variable or the `--log-dir` |
| `v2026.1.2933350` | 2026-04-27 | High | ## What's New  ### Stream Operations  P4 MCP Server now supports a full suite of Perforce P4 stream operations:  - Detect whether a workspace is stream-based or classic. - List streams and their structure (name, type, parent, path). - Switch a workspace to a different stream (with open-file safety checks; requires confirmation before executing). - Create a new stream from a parent, with type and duplicate-name validation. - Edit an existing stream spec safely. - Guard against stream d |
| `2025.2.2901372` | 2026-02-26 | Low | ### **Release Summary**  This patch release adds **Docker support** for building and running the P4 MCP Server from source, introduces a refined tool parameter pattern for improved MCP client compatibility, and improves connection resilience with automatic reconnection on authentication errors.  ---  ### **What's New**  #### **Docker Support** - Added a **Docker image** that enables building and running the P4 MCP Server from source on **macOS** and **Linux** - Simplifies local develop |
| `2025.2.2880005` | 2026-01-22 | Low | ### **Release Summary**  This release introduces comprehensive **P4 Code Review** support, bringing native code review workflows to the Perforce MCP Server. Version 2025.2 adds powerful review management capabilities including discovery, voting, state transitions, commenting, and participant management ‒ all accessible through the Model Context Protocol interface.  ---  ### **What's New**  #### **Code Review Support** **New `reviews` toolset** for comprehensive code review workflows. - |
| `2025.1.2830393` | 2025-09-24 | Low | ### This is the first release of P4 MCP Server - 2025.1.2830393  Binaries are available for the following platforms: - **Windows** : p4-mcp-server-win.zip - **Mac** : p4-mcp-server-mac.zip |

## Citation

- HTML: https://www.freshcrate.ai/projects/p4mcp-server
- Markdown: https://www.freshcrate.ai/projects/p4mcp-server.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/p4mcp-server/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
