MCP of perforce
Project description
MCP Perforce 服务器
Perforce的模型上下文协议(MCP)服务器实现
功能概述
MCP Perforce服务器提供了一个简单的获取reviews目录,以及目录中每个变更文件详细内容
配置说明
cursor MCP 配置说明
{
"mcpServers": {
"code review": {
"command": "uvx",
"args": [
"mcp-perforce",
"--p4config",
"./path/to/your/p4config.json"
]
}
}
}
p4config.json说明
{
"swarm_username": "your_swarm_username",
"swarm_password": "your_swarm_password",
"swarm_base_url": "https://your_swarm_server",
"swarm_api_url": "https://your_swarm_server/api/v10"
}
使用说明
cursor agent 模式中输入
帮我review一下3280706
cursor将自动使用mcp-perforce拉取reviews中的文件列表进行review。
更新记录
0.2.4 - 修复代码提交后,无法获取reviews中的差异信息的BUG
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcp_perforce-0.2.5.tar.gz
(43.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_perforce-0.2.5.tar.gz.
File metadata
- Download URL: mcp_perforce-0.2.5.tar.gz
- Upload date:
- Size: 43.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ad7b64583c4a3c8bc88c5a78ede0cbe1eeecd4e0d284bb5fdeef82f0593c5c3
|
|
| MD5 |
abd6ca00e1759fec997156197fef85d6
|
|
| BLAKE2b-256 |
62cd30de77ef43264a7e6deb44d2c7dc82367b0cce1b69bc1e20fb6fedcd4bb0
|
File details
Details for the file mcp_perforce-0.2.5-py3-none-any.whl.
File metadata
- Download URL: mcp_perforce-0.2.5-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03ba815c88f3a82d94d6d04fe46c6d7e527b911d99b8c3aa864ee2128cdd3121
|
|
| MD5 |
91b54646a2f58a404ae7bc0b9074b237
|
|
| BLAKE2b-256 |
d9df8d21d559e137904bedced661aff0b76f1160854209be69d107517757103b
|