devflow-mcp

devflow-mcp

An MCP server that automates developer workflows across GitHub, Jira, and Slack, enabling PR/code review automation, CI checks, and team notifications.

Category
访问服务器

README

devflow-mcp

An MCP server for automating developer workflows across GitHub, Jira, and Slack — built for PR/code review automation (inspect PRs, check CI status, post reviews, sync the linked ticket, notify the team).

Local stdio server: runs on your machine, launched by your MCP client. Not distributed — built for personal/team use.

Tools

Tool Service Type Description
github_list_open_prs GitHub read List open PRs for a repo
github_get_pr GitHub read Full PR detail: description, diff stats, per-file patches
github_get_pr_checks GitHub read CI/Actions check-run status for a PR's latest commit
github_post_pr_review GitHub write Approve / request changes / comment on a PR
github_post_pr_comment GitHub write Add a plain timeline comment to a PR
jira_get_issue Jira read Fetch one issue by key
jira_search_issues Jira read Search issues via JQL
jira_create_issue Jira write Create a new issue in a project
jira_update_issue_status Jira write Transition an issue to a new status
jira_add_comment Jira write Add a comment to an issue
slack_post_message Slack write Post a message to a channel

Automated workflow: PR review

The individual tools above chain into a full PR review workflow — inspect the PR and its CI checks, decide a verdict, post the review, sync the linked Jira ticket, and notify Slack. It's available two ways, at two different layers:

  • MCP prompt (pr_review) — defined in src/prompts.ts, part of the MCP protocol itself. It's user-triggered: surfaced as a slash command / menu item by any MCP host that supports prompts (e.g. /mcp__devflow-mcp__pr_review in Claude Code). Works in any MCP client this server connects to, not just Claude Code.
  • Claude Code skill (pr-review).claude/skills/pr-review/SKILL.md, checked into this repo. It's matched automatically from natural language ("review PR #3 and update Jira") without needing the exact slash command name. Claude Code only.

Both drive the same underlying tools and follow the same 5 steps; the skill is just a Claude-Code-native shortcut for triggering the same workflow implicitly.

Setup

npm install
npm run build

Copy .env.example to .env and fill in credentials, or set these env vars directly in your MCP client config:

  • GITHUB_TOKENfine-grained personal access token (Settings → Developer settings → Fine-grained personal access tokens), scoped to only the repo(s) this server touches, with permissions: Pull requests (Read and write), Checks (Read-only). Avoid classic repo-scope tokens — they grant full access to every private repo you can see and don't force an expiration.
  • JIRA_BASE_URL — e.g. https://your-domain.atlassian.net
  • JIRA_EMAIL — the account email tied to the API token
  • JIRA_API_TOKEN — id.atlassian.com → Security → API tokens
  • SLACK_BOT_TOKEN — api.slack.com/apps → your app → OAuth & Permissions → Bot User OAuth Token (needs the chat:write scope; add chat:write.public too if it should post to public channels it hasn't been invited to)

A tool only fails at call time if its required env vars are missing — you don't need all three services configured to use the others.

Connect to Claude Code

claude mcp add devflow-mcp \
  --env GITHUB_TOKEN=ghp_xxx \
  --env JIRA_BASE_URL=https://your-domain.atlassian.net \
  --env JIRA_EMAIL=you@example.com \
  --env JIRA_API_TOKEN=xxx \
  --env SLACK_BOT_TOKEN=xoxb-xxx \
  -- node /home/channen2/mcp-server/devflow-mcp/dist/server.js

Connect to Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "devflow-mcp": {
      "command": "node",
      "args": ["/home/channen2/mcp-server/devflow-mcp/dist/server.js"],
      "env": {
        "GITHUB_TOKEN": "ghp_xxx",
        "JIRA_BASE_URL": "https://your-domain.atlassian.net",
        "JIRA_EMAIL": "you@example.com",
        "JIRA_API_TOKEN": "xxx",
        "SLACK_BOT_TOKEN": "xoxb-xxx"
      }
    }
  }
}

Develop

npm run dev         # run directly with tsx, no build step
npm run inspector    # open MCP Inspector against the dev server

Capabilities UI

A minimal static dashboard listing every tool, prompt, and skill this server exposes — introspected live from the server (not hand-maintained) plus .claude/skills/*/SKILL.md.

npm run ui   # builds ui/catalog.json, then serves ui/ at http://localhost:4173

Run npm run ui:build alone to just regenerate ui/catalog.json (e.g. after adding a tool).

Next steps

  • GitLab wasn't wired up in v1 — same shape (src/<service>.ts + tools in src/tools.ts) if you need it later.
  • Distributing beyond your own machine: this stdio server expects Node + env vars on the user's machine. If you ever need to hand this to teammates without a Node setup, repackage it as an MCPB bundle (bundles the Node runtime, installs with a double-click) — ask to use the build-mcpb skill when you're ready.
  • Wider/public distribution: if this ever needs to serve multiple users without local installs, move to a remote HTTP deployment (e.g. Cloudflare Workers) — ask to use the build-mcp-server skill again for that path.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选