Phabricator MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows interaction with Phabricator API, including task management (viewing, creating, updating tasks), project information, and user details

Phabricator MCP 服务器

用于与 Phabricator API 交互的模型上下文协议 (MCP) 服务器实现。该服务器允许 LLM 通过标准化接口与 Phabricator 交互。

概述

该项目提供了一个 MCP 服务器,通过以下方式公开 Phabricator 功能:

  • 任务管理(查看、创建、更新任务)
  • 项目信息
  • 用户详细信息

入门

先决条件

  • Python 3.8+
  • Phabricator API 令牌(来自您的 Phabricator 实例)
  • 访问 Phabricator 实例

安装

  1. 克隆此存储库:
git clone https://github.com/baba786/phabricator-mcp-server.git cd phabricator-mcp-server
  1. 创建并激活虚拟环境:
python -m venv venv source venv/bin/activate # On Unix/MacOS # or .\venv\Scripts\activate # On Windows
  1. 安装依赖项:
pip install -r requirements.txt
  1. 设置您的环境:
# Copy the example env file cp .env.example .env # Edit .env and add your Phabricator token # Replace 'your-token-here' with your actual Phabricator API token echo "PHABRICATOR_TOKEN=your-token-here" > .env
  1. 运行服务器:
cd src python server.py

用法

目前支持的命令:

  • get-task :检索特定 Phabricator 任务的详细信息

通过客户端使用的示例:

from src.mcp_minimal_client import Client client = Client() response = client.get_task(task_id="123") # Replace with actual task ID print(response)

开发现状

🚧 该项目目前正在开发中。敬请期待更新!

-
security - not tested
F
license - not found
-
quality - not tested

用于与 Phabricator API 交互的模型上下文协议 (MCP) 服务器实现。该服务器允许 LLM 通过标准化接口与 Phabricator 交互。

  1. Overview
    1. Getting Started
      1. Prerequisites
      2. Installation
    2. Usage
      1. Development Status
        ID: dcokgk2ei2