
Devflow Mcp
io.github.cocaxcode由 GitHub 账号 cocaxcode 发布v0.1.8更新于 Oct 24, 2026
MCP server connecting Jira (Cloud + Server) with GitHub/GitLab. Branches, issues, PRs, flows.
概览
一个本地 MCP 服务器,把 AI 助手连接到 Jira 与 GitHub/GitLab,用于管理议题、分支、合并请求和可重复的工作流。
- 可以做什么
- 配置、列出、切换和删除项目,每个项目有自己的 Jira 实例、Git 提供方、分支约定和目录范围,按当前目录自动匹配或按会话切换。读取并操作 Jira 议题:列出指派给自己的议题、查看详情、查询可用状态流转、变更状态、指派和评论。操作 Git 分支与远端:创建 feat/fix 分支、按议题编号查找分支、切换、拉取、推送、合并,并创建拉取请求或合并请求。创建、修改和删除 YAML 流程剧本,把多个工具步骤串成开始任务、完成任务等可重复操作。创建、启停和删除全局或项目级规则,用于阻止或警告高风险操作。
- 适用场景
- 当团队用 Jira 跟踪工作、代码放在 GitHub 或 GitLab,并希望助手把任务从议题一路推进到分支、提交、拉取请求和状态更新而无需打开浏览器时使用。也适合在多个仓库、不同 Jira 实例和凭据之间切换的开发者。
- 运行要求
- 以 stdio 方式在本地运行,通常通过 npx 启动,因此需要 Node.js。清单未声明凭据;配置每个项目时需提供 Jira 地址、邮箱和 API 令牌(Cloud)或个人访问令牌(Server),以及 GitHub 或 GitLab 令牌。需要能访问 Jira 和 Git 提供方的网络,分支与推送操作还需要本机安装 git 命令行。
安装
在 SourceWeft 中
- 打开 控制台中的 Devflow Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@cocaxcode/devflow-mcp
Your Jira + GitHub/GitLab workflow, handled by your AI assistant.
One MCP server. 32 tools. Say what you need, it gets done.
[npm version] [downloads] [tools] [tests] [node] [license]
Overview · Just Talk to It · Installation · Project Scopes · Tools · Flows · Rules · Storage · Compatibility · Architecture
Overview
The most complete MCP server for developer workflow automation. 32 tools that connect Jira (Cloud + Server) with GitHub/GitLab (cloud + self-hosted) — so your AI assistant can manage issues, branches, PRs, and deployments without you ever opening a browser tab.
It auto-detects your Jira version and git provider, enforces configurable safety rules, and lets you define custom YAML flow playbooks for repeatable workflows. Projects are configured once and remembered — each with its own Jira instance, git provider, branch conventions, credentials, and directory scopes. The project that matches your current directory activates automatically (default), or you can switch to another for the session (active). All credentials stay local in ~/.devflow-mcp/ — nothing is synced, nothing is tracked, nothing leaves your machine.
Just Talk to It
You don't memorize tool names. You talk naturally and the assistant picks the right tools.
"Set up a project for my Jira + GitHub"
"List my projects"
"Switch to my-frontend for this session"
"Let's work on PROJ-123"
"Show me my tasks for the ACME project"
"Push my changes"
"Merge main into my current branch"
"Create a PR titled 'feat: add OAuth login'"
"Comment on PROJ-123 that the PR is ready for review"
"Create a fix branch for PROJ-456 with description fix-oauth-redirect"
Installation
Claude Code (recommended)
Claude Desktop
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Cursor / Windsurf
VS Code / Codex / Gemini CLI
Project Scopes
Each project has paths (scopes) — the directories that belong to it. A directory can only be the scope of one project.
This gives you two concepts:
-
Default project: The project whose scope matches your current working directory. This is automatic and persistent — if you are inside
C:/repos/my-backendand that directory is a scope ofmy-backend, thenmy-backendis the default. No action needed. -
Active project: The project you are currently working with. By default it equals the default project, but you can switch it manually with
df_project_switchfor the current session. This resets to the default when you restart.
df_project_list shows both the default and active indicators so you always know where you stand.
Practical example
This means you can work across multiple projects with different Jira instances and git providers — the right credentials are always selected based on where you are, and you can always override for the session when needed.
Tools
32 tools organized in 5 categories.
Projects (5)
Example: setting up a project
Jira (6)
Git (7)
Important:
df_branch,df_checkout, anddf_pushverify the working directory before executing. They block if there are uncommitted files or unpushed commits, listing exactly what needs attention. This prevents accidental work loss.
Flows (5)
Rules (9)
Flows
Flows are YAML playbooks that define step sequences. They don't run automatically -- you tell the assistant when to use them.
Default: start-task
Triggered when you say something like "let's work on PROJ-123":
Custom flows
Create your own by asking naturally:
"Create a flow called 'finish-task' that pushes, creates a PR, and comments on Jira"
The start-task flow can be modified but not deleted. Use df_flow_update to change any flow's steps, trigger, or name.
Rules
Rules are configurable guards that block or warn about actions. Two levels: global and per-project.
Default rules
Project overrides
Each project can override global rules or define its own:
Custom rules
Note: Rule resolution order: Global rules load first, then project overrides are applied (project wins), then project-specific rules are added. Rules are filtered by scope and enabled state before evaluation.
Storage
Everything lives in ~/.devflow-mcp/ — your home directory, never inside any git repository. Jira tokens, GitHub PATs, GitLab tokens — all stored locally with 600 permissions (owner-only read/write). Nothing gets committed, nothing gets pushed, nothing leaves your machine.
Project resolution works automatically: devflow-mcp matches your current working directory against each project's paths (scopes). The matching project becomes the default. You can override it for the session with df_project_switch, which sets the active project. On restart, the active project resets to whatever the default is for your CWD. If no match is found and no active project is set, it prompts you to configure with df_project_setup.
Compatibility
Jira
Auto-detection via /rest/api/2/serverInfo -- no manual configuration needed.
Git providers
Auto-detection by parsing the repository's remote URL.
Architecture
Stack: TypeScript · MCP SDK · Zod · YAML · tsup
Tests: 4 suites · 51 tests (Vitest + InMemoryTransport)
来源:README.md,提交 cf9e2b0
工具
0版本历史
1- v0.1.8最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分