
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 分