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:
- 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) - tracker + VCS + test orchestration for delivery flow
This server is built for real team usage, not just prompt templates.
- 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
{
"mcpServers": {
"stackguide": {
"command": "npx",
"args": ["-y", "@stackguide/mcp-server"]
}
}
}Use the same config as Cursor.
- Configure your project:
init action:"full"- Check generated setup:
init action:"status"
agent action:"status"- Run active TDD workflow:
agent action:"intake" ticket:"PROJ-123"
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 quality
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
generate: 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.stackguidewith stack-aware defaultsagent: active workflow executor (status,intake,plan,verify,release)
- reads ticket from configured tracker
- returns normalized brief + gaps
- proposes branch name convention
- inspects conventions + project shape
- creates vertical-slice plan
- returns exactly 3 target tests in structured format
- executes configured tests/lint/build per layer
- checks branch naming + commit convention + TDD test budget
- returns blocker list and final pass/fail report
- checks CI status
- parses commits since last tag
- suggests semver impact (
major/minor/patch) - can create tag and PR/MR (when enabled)
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.
pnpm lint includes:
pnpm run guard:repoThe guard fails if .stackguide artifacts are tracked.
Cache/history persistence includes:
- boundary/symlink checks
- file size and entry limits
- atomic write strategy
- checksum validation
- optional HMAC signature using:
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- 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.
- npm package:
@stackguide/mcp-server - MCP Registry server:
io.github.isucorp-taimiralain/stackguide-mcp
GPL-3.0