
This server brings execution-first TDD workflow to your AI assistant, not just context loading. It scaffolds `.stackguide` config with stack-aware defaults for React, Next.js, Django, Rails, and more, then exposes 16 tools including `agent` for active ticket intake from Jira, vertical-slice planning, test orchestration, and PR creation. The workflow tools connect GitHub, GitLab, and Jira for branch checks, commit parsing, and CI status. You also get code health scoring, AST-based review, and custom rule management. Version 4.x added the active agent executor and hardened local artifact persistence with integrity validation. Reach for this when you want your assistant to actually run tests, create tickets from strict templates, and manage delivery flow, not just suggest code changes.
Dynamic context + active engineering workflow for AI coding assistants in Cursor, VS Code, and other MCP clients.
@stackguide/mcp-server helps teams standardize implementation quality with:
intake, plan, verify, release)MAIN DESCRIPTION templatesThis server is built for real team usage, not just prompt templates.
Full history: CHANGELOG.md.
STACKGUIDE_NO_UPDATE_CHECK=1.setup wizard:true asks stack, architecture, methodology, conventions and tracker, then writes a shared stackguide.config.json at the repo root. Commit it so every teammate gets the same context.setup or re-detecting the project. context returns one guidance line per architecture and methodology.ruleCategories limits which rules are loaded (saves tokens). Existing healthWeights in the file are preserved.opus / haiku / haiku; Cursor inherit (your selected model, e.g. Composer or Grok) / fast / fast; other IDEs inherit. The wizard asks which model each role should use (recommended default, your most used models first, or type any id your IDE lists); answer with models:{planner,implementer,verifier} or models:{} to accept the defaults. Choices are saved per IDE in stackguide.config.json, so mixed teams do not clash.agent action:"plan" returns a delegation block for the current IDE, and the wizard writes stackguide-implementer.md / stackguide-verifier.md into .claude/agents/ and .cursor/agents/. Edited files are kept; only their model: line is refreshed.setup wizard:true edits the saved config; .stackguide/ stays local and guarded.agent tool (execution-first workflow).init now generates .stackguide/config.json automatically.test/lint/build execution..stackguide artifacts removed from version control.cursor/mcp.json~/.cursor/mcp.json{
"mcpServers": {
"stackguide": {
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
Settings | Tools | AI Assistant | Model Context Protocol (MCP).{
"mcpServers": {
"stackguide": {
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
.vscode/mcp.jsonservers as root key.{
"servers": {
"stackguide": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
%USERPROFILE%\\.mcp.json (global)<solution>\\.mcp.json (repo-scoped)<solution>\\.vs\\mcp.json (solution/user-scoped)servers as root key.{
"servers": {
"stackguide": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
setup to detect project context.init action:"full" to scaffold .stackguide/ and defaults.agent actions (intake, create_ticket, plan, verify, release) for delivery flow.Team setup (once per project, then commit stackguide.config.json):
setup wizard:true
setup wizard:true type:"nextjs" architecture:"clean" methodology:"tdd" conventions:["Use named exports"] tracker:"jira"
Personal setup:
setup type:"react-typescript" enableAdaptiveTdd:true model:"gpt-5" integrations:["jira","github"] tokenMode:"compact"
init action:"full" model:"gpt-5" tokenMode:"compact" integrations:["jira","github"] mcpSyncTargets:["cursor","root"] applyMcpTemplates:true
init action:"status"
agent action:"status"
agent action:"intake" ticket:"PROJ-123"
agent action:"create_ticket" mainDescription:"<MAIN DESCRIPTION>" projectKey:"PROJ"
agent action:"plan" brief:"<brief-from-intake>"
agent action:"verify"
agent action:"release" version:"v1.2.0"
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 qualitycursor: browse/import community rulesdocs: fetch/search/list documentationconfig: save/load/export/import configurationscustom_rule: create/update/delete/list project custom ruleshelp: usage help by topicgenerate: boilerplate generation (component/hook/service/test/api/model/util)health: project health score and recommendationsanalyze: project intelligence (structure/config/dependency/generate/apply)workflow: lazy-load raw workflow assets (agents/skills/hooks/commands)init: scaffold .stackguide with stack-aware defaultsagent: active workflow executor (status, intake, create_ticket, plan, verify, release)agent action:"intake"createFromDescription:true)agent action:"create_ticket"MAIN DESCRIPTION format.stackguide/config.json (projectKey, issueType)summary from first line of MAIN DESCRIPTION when omittedagent action:"plan"agent action:"verify"agent action:"release"major / minor / patch)init generates:
.stackguide/config.json (project workflow config)Runtime/local artifacts:
.stackguide/analysis-cache.json.stackguide/health-history.jsonThese are machine-local and must not be committed.
pnpm lint includes:
pnpm run guard:repo
The guard fails if .stackguide artifacts are tracked.
Cache/history persistence includes:
STACKGUIDE_INTEGRITY_KEY=<long-random-secret>
For teams, configure STACKGUIDE_INTEGRITY_KEY in local/dev and CI environments for stronger tamper resistance.
python-django, python-fastapi, python-flask, react-node, react-typescript, vue-node, nextjs, express, nestjs, laravel, rails, golang, rust, custom.
Use pnpm for all commands.
pnpm install
pnpm lint
pnpm test
pnpm build
pnpm dev
4.1.2+3.0.0 up to 4.1.1 are deprecated in npm due to local artifact hygiene issues.4.x release in all environments.@stackguide/mcp-serverio.github.isucorp-taimiralain/stackguide-mcpGPL-3.0