FP

freelancer/phabricator-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 6 forks 质量 75 趋势 42

MCP server for Phabricator

概览

An MCP (Model Context Protocol) server that wraps Phabricator's Conduit API, enabling any MCP client to interact with Phabricator tasks, code reviews, repositories, and more. Or with environment variables (if not using ~/.arcrc): The --scope user flag installs the server globally, making it available in all projects. Add to your Codex config (~/.codex/config.json): Add to your opencode config (~/.config/opencode/config.json): Add to your Cursor MCP config (~/.cursor/mcp.json): The default install uses @freelancercom/phabricator-mcp@latest, which tells npx to check for updates on each run. No action needed. If you pinned a specific version (e.g. @freelancercom/[email protected]) or omitted the version suffix, npx caches the package and won't pick up new versions. To upgrade:

README

以下为原文 README 节选,完整内容请查看原文。

phabricator-mcp

An MCP (Model Context Protocol) server that wraps Phabricator’s Conduit API, enabling any MCP client to interact with Phabricator tasks, code reviews, repositories, and more.

Star History

Installation

Claude Code (CLI)

claude mcp add --scope user phabricator -- npx @freelancercom/phabricator-mcp@latest

Or with environment variables (if not using ~/.arcrc):

claude mcp add --scope user phabricator \
  -e PHABRICATOR_URL=https://phabricator.example.com \
  -e PHABRICATOR_API_TOKEN=api-xxxxx \
  -- npx @freelancercom/phabricator-mcp@latest

The --scope user flag installs the server globally, making it available in all projects.

Codex (OpenAI CLI)

Add to your Codex config (~/.codex/config.json):

{
  "mcpServers": {
    "phabricator": {
      "command": "npx",
      "args": ["@freelancercom/phabricator-mcp@latest"],
      "env": {
        "PHABRICATOR_URL": "https://phabricator.example.com",
        "PHABRICATOR_API_TOKEN": "api-xxxxxxxxxxxxx"
      }
    }
  }
}

opencode

Add to your opencode config (~/.config/opencode/config.json):

{
  "mcp": {
    "servers": {
      "phabricator": {
        "command": "npx",
        "args": ["@freelancercom/phabricator-mcp@latest"],
        "env": {
          "PHABRICATOR_URL": "https://phabricator.example.com",
          "PHABRICATOR_API_TOKEN": "api-xxxxxxxxxxxxx"
        }
      }
    }
  }
}

VS Code with Claude Extension

Add to your VS Code settings.json:

{
  "claude.mcpServers": {
    "phabricator": {
      "command": "npx",
      "args": ["@freelancercom/phabricator-mcp@latest"],
      "env": {
        "PHABRICATOR_URL": "https://phabricator.example.com",
        "PHABRICATOR_API_TOKEN": "api-xxxxxxxxxxxxx"
      }
    }
  }
}

Cursor

Add to your Cursor MCP config (~/.cursor/mcp.json):

{
  "mcpServers": {
    "phabricator": {
      "command": "npx",
      "args": ["@freelancercom/phabricator-mcp@latest"],
      "env": {
        "PHABRICATOR_URL": "https://phabricator.example.com",
        "PHABRICATOR_API_TOKEN": "api-xxxxxxxxxxxxx"
      }
    }
  }
}

GitHub Copilot (VS Code)

Add to your VS Code settings.json:

{
  "github.copilot.chat.mcp.servers": {
    "phabricator": {
      "command": "npx",
      "args": ["@freelancercom/phabricator-mcp@latest"],
      "env": {
        "PHABRICATOR_URL": "https://phabricator.example.com",
        "PHABRICATOR_API_TOKEN": "api-xxxxxxxxxxxxx"
      }
    }
  }
}

Upgrading

The default install uses @freelancercom/phabricator-mcp@latest, which tells npx to check for updates on each run. No action needed.

在 GitHub 查看完整 README

安装

npx @freelancercom/phabricator-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "phabricator": { "command": "npx", "args": ["@freelancercom/phabricator-mcp@latest"], "env": { "PHABRICATOR_URL": "https://phabricator.example.com", "PHABRICATOR_API_TOKEN": "api-xxxxxxxxxxxxx" } } } }