Skip to main content

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。

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.3.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_perforce-0.2.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_perforce-0.2.3.tar.gz.

File metadata

  • Download URL: mcp_perforce-0.2.3.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_perforce-0.2.3.tar.gz
Algorithm Hash digest
SHA256 171329d40488f64a8f59a17998c198dda6a443d0d8957d3e86bce1a745ce6bd1
MD5 b9cf2d64e55c202d45fff0a64d6a23ba
BLAKE2b-256 bec65ee97ada6626837912b1b375507d4e764d6a628b80729cf397fea8a7257e

See more details on using hashes here.

File details

Details for the file mcp_perforce-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: mcp_perforce-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_perforce-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 987799a35a7d1d55677c1b7482387d26d1bf48e639b10a4dc22e034f8460187f
MD5 5b05105db6d43f935047fd361b8b13cf
BLAKE2b-256 dc359565e30515c3cbc8b60f42a2d938923b6ad3947e419abf96c642649bbb44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page