
Stackguide Mcp
io.github.isucorp-taimiralain由 GitHub 帳號 isucorp-taimiralain 發布v4.1.3更新於 Oct 24, 2026
Dynamic context loading for AI assistants with TDD workflow and AST analysis
概覽
StackGuide 為 AI 程式助理載入專案相關的規則與情境,並執行包含規劃、驗證與發佈階段的主動 TDD 工作流程。
- 可以做什麼
- StackGuide 是本地 MCP 伺服器,適用於 Cursor、VS Code、JetBrains 與 Visual Studio 中的 AI 程式助理。它會辨識專案技術堆疊、載入架構與方法論規則、評估程式碼健康度、產生樣板程式碼,並執行以執行為先的 agent 工作流程,包含 intake、plan、verify 與 release 動作。它也能連接 GitHub、GitLab 與 Jira 等追蹤系統,並可依嚴格的 MAIN DESCRIPTION 範本建立 Jira 工單。
- 適用情境
- 適合團隊希望在 IDE 內維持一致的實作品質,並採用可重複的 TDD 式交付流程時使用,包括工單接收、規劃、測試與 lint 驗證以及發佈檢查。對於一次性的程式問題,或不願在儲存庫中提交共用工作流程設定的專案,幫助不大。
- 執行需求
- 透過 stdio 在本地執行,以 npm 套件 @stackguide/mcp-server 安裝,通常用 npx 啟動。需要 Node.js 以及桌面版 MCP 用戶端,例如 Cursor、啟用 Copilot Chat 的 VS Code、JetBrains 或 Visual Studio。未宣告身分驗證。Jira、GitHub、GitLab 等追蹤系統整合需要各自的憑證,可選的環境變數 STACKGUIDE_INTEGRITY_KEY 可用於增強防竄改能力。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Stackguide Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
StackGuide MCP Server
Dynamic context + active engineering workflow for AI coding assistants in Cursor, VS Code, and other MCP clients.
[npm version] [license] [mcp registry]
What It Does
@stackguide/mcp-server helps teams standardize implementation quality with:
- project-aware rule/context loading
- code review and health scoring
- auto-detected setup and stack scaffolding
- active agent workflow that executes real work (
intake,plan,verify,release) - adaptive TDD preferences per project (model + token profile)
- Jira ticket creation from strict
MAIN DESCRIPTIONtemplates - tracker + VCS + test orchestration for delivery flow
This server is built for real team usage, not just prompt templates.
What's New In v4.x
Full history: CHANGELOG.md.
- v4.3.1 - Update notifier: StackGuide checks npm once a day in the background and tells you once per session when a newer version exists, with a safe update command. Disable with
STACKGUIDE_NO_UPDATE_CHECK=1. - v4.3.0 - Team mode:
setup wizard:trueasks stack, architecture, methodology, conventions and tracker, then writes a sharedstackguide.config.jsonat the repo root. Commit it so every teammate gets the same context.- On startup StackGuide finds that file (also from subfolders) and loads it without running
setupor re-detecting the project.contextreturns one guidance line per architecture and methodology. - Optional
ruleCategorieslimits which rules are loaded (saves tokens). ExistinghealthWeightsin the file are preserved. - Multi-agent roles that follow the IDE you are using (detected from the MCP client). Defaults: Claude Code
opus/haiku/haiku; Cursorinherit(your selected model, e.g. Composer or Grok) /fast/fast; other IDEsinherit. The wizard asks which model each role should use (recommended default, your most used models first, or type any id your IDE lists); answer withmodels:{planner,implementer,verifier}ormodels:{}to accept the defaults. Choices are saved per IDE instackguide.config.json, so mixed teams do not clash. agent action:"plan"returns adelegationblock for the current IDE, and the wizard writesstackguide-implementer.md/stackguide-verifier.mdinto.claude/agents/and.cursor/agents/. Edited files are kept; only theirmodel:line is refreshed.- Re-running
setup wizard:trueedits the saved config;.stackguide/stays local and guarded.
- Added active
agenttool (execution-first workflow). initnow generates.stackguide/config.jsonautomatically.- Added tracker service support for GitHub, GitLab, and Jira.
- Added VCS service for branch checks, commit parsing, CI status, and PR/MR creation.
- Added test runner service for structured
test/lint/buildexecution. - Updated TDD prompts to use active tool calls instead of large passive markdown payloads.
- Hardened local persistence:
.stackguideartifacts removed from version control- repository guard blocks accidental tracking of local artifacts
- cache and health history include integrity validation and safer writes
Install By IDE
Cursor
- File (workspace):
.cursor/mcp.json - File (global):
~/.cursor/mcp.json
JetBrains (IntelliJ, WebStorm, PhpStorm, etc.)
- Open
Settings | Tools | AI Assistant | Model Context Protocol (MCP). - Click Add and paste JSON config.
- Recommended: set it as Project-level unless you want global scope.
VS Code
- Requirement: GitHub Copilot Chat with MCP enabled.
- File (workspace):
.vscode/mcp.json - VS Code MCP schema uses
serversas root key.
Visual Studio (Windows, 2022 17.14+ / 2026+)
- Enable GitHub Copilot Agent mode.
- Supported config locations include:
%USERPROFILE%\\.mcp.json(global)<solution>\\.mcp.json(repo-scoped)<solution>\\.vs\\mcp.json(solution/user-scoped)
- Visual Studio MCP schema uses
serversas root key.
How To Use (Any IDE)
- Restart the IDE after adding the MCP configuration.
- Open AI chat in agent/tool mode.
- Call
setupto detect project context. - Call
init action:"full"to scaffold.stackguide/and defaults. - Use
agentactions (intake,create_ticket,plan,verify,release) for delivery flow.
Quick Start
Team setup (once per project, then commit stackguide.config.json):
Personal setup:
- Configure your project:
- Check generated setup:
- Run active TDD workflow:
Tools (16)
Core
setup: configure StackGuide context for project typecontext: show currently loaded contextrules: list/search/get/select rule setsknowledge: list/search/get knowledge filesreview: analyze files/URLs/project code quality
Utility
cursor: browse/import community rulesdocs: fetch/search/list documentationconfig: save/load/export/import configurationscustom_rule: create/update/delete/list project custom ruleshelp: usage help by topic
Advanced
generate: boilerplate generation (component/hook/service/test/api/model/util)health: project health score and recommendationsanalyze: project intelligence (structure/config/dependency/generate/apply)
Workflow
workflow: lazy-load raw workflow assets (agents/skills/hooks/commands)init: scaffold.stackguidewith stack-aware defaultsagent: active workflow executor (status,intake,create_ticket,plan,verify,release)
Active Workflow Details
agent action:"intake"
- reads ticket from configured tracker
- returns normalized brief + gaps
- proposes branch name convention
- can optionally create a Jira ticket first (
createFromDescription:true)
agent action:"create_ticket"
- creates Jira issues using strict
MAIN DESCRIPTIONformat - uses project defaults from
.stackguide/config.json(projectKey,issueType) - derives
summaryfrom first line ofMAIN DESCRIPTIONwhen omitted
agent action:"plan"
- inspects conventions + project shape
- creates vertical-slice plan
- returns exactly 3 target tests in structured format
agent action:"verify"
- executes configured tests/lint/build per layer
- checks branch naming + commit convention + TDD test budget
- returns blocker list and final pass/fail report
agent action:"release"
- checks CI status
- parses commits since last tag
- suggests semver impact (
major/minor/patch) - can create tag and PR/MR (when enabled)
Local Data And Security
init generates:
.stackguide/config.json(project workflow config)
Runtime/local artifacts:
.stackguide/analysis-cache.json.stackguide/health-history.json
These are machine-local and must not be committed.
Repository Guard
pnpm lint includes:
The guard fails if .stackguide artifacts are tracked.
Integrity Hardening
Cache/history persistence includes:
- boundary/symlink checks
- file size and entry limits
- atomic write strategy
- checksum validation
- optional HMAC signature using:
For teams, configure STACKGUIDE_INTEGRITY_KEY in local/dev and CI environments for stronger tamper resistance.
Supported Stacks
python-django, python-fastapi, python-flask, react-node, react-typescript, vue-node, nextjs, express, nestjs, laravel, rails, golang, rust, custom.
Development
Use pnpm for all commands.
Release And Version Policy
- Current secure baseline:
4.1.2+ - Versions from
3.0.0up to4.1.1are deprecated in npm due to local artifact hygiene issues. - Use the latest
4.xrelease in all environments.
Registry Identifiers
- npm package:
@stackguide/mcp-server - MCP Registry server:
io.github.isucorp-taimiralain/stackguide-mcp
License
GPL-3.0
來源:README.md,提交 bd42662
工具
0版本歷史
1- v4.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分