
Stackguide Mcp
- Updated May 25, 2026
- isucorp-taimiralain/StackGuide-MCP
StackGuide MCP is a MCP server that loads dynamic repo context and pairs it with TDD workflow and AST analysis for coding agents.
About
StackGuide MCP is a developer-focused stdio server that combines dynamic context loading, test-driven workflow cues, and AST analysis so AI assistants work on the right files with structural awareness. Developers drowning in monorepo noise can register @stackguide/mcp-server and let the agent pull scoped context before writing tests or implementation code. The design targets TDD-minded sessions: define failing tests, implement, refactor—with analysis backing each step instead of vague grep. Canonical placement is build agent-tooling because it extends how Claude Code, Cursor, or Codex reason about your codebase, but it naturally supports ship testing when you want disciplined verification before release.
- Dynamic context loading so agents receive task-relevant slices instead of whole-repo noise
- TDD workflow guidance aligned with how solo builders want red-green-refactor discipline
- AST analysis to anchor symbols, structure, and dependencies in loaded context
- @stackguide/mcp-server on npm with stdio transport (v4.1.3)
- Open-source StackGuide-MCP repository for extending workflow and analysis hooks
Stackguide Mcp by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
claude mcp add stackguide-mcp -- npx -y @stackguide/mcp-serverAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| Package | @stackguide/mcp-server |
|---|---|
| Transport | STDIO |
| Auth | None |
| Last updated | May 25, 2026 |
| Repository | isucorp-taimiralain/StackGuide-MCP ↗ |
What it does
Load the right repo context dynamically while steering agents through TDD steps backed by AST-aware analysis.
Who is it for?
Best when you're on medium or large repos and want agent sessions grounded in tests and syntax-aware context.
Skip if: Tiny one-file scripts where full-repo context is already cheap or teams that do not want TDD-style agent nudges.
What you get
After you add StackGuide MCP, assistants can load scoped, AST-informed context and follow a clearer TDD path through changes.
- Scoped code context packages tailored to the active agent task
- TDD-oriented workflow structure for implementation sessions
- AST-backed insight into symbols and dependencies in loaded files
By the numbers
- npm package @stackguide/mcp-server version 4.1.3
- Stdio transport; source at github.com/isucorp-taimiralain/StackGuide-MCP
README.md
StackGuide MCP Server
Dynamic context + active engineering workflow for AI coding assistants in Cursor, VS Code, and other MCP clients.
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
- 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
{
"mcpServers": {
"stackguide": {
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
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.
{
"mcpServers": {
"stackguide": {
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
VS Code
- Requirement: GitHub Copilot Chat with MCP enabled.
- File (workspace):
.vscode/mcp.json - VS Code MCP schema uses
serversas root key.
{
"servers": {
"stackguide": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
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.
{
"servers": {
"stackguide": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@stackguide/mcp-server@latest"]
}
}
}
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
- Configure your project:
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
- Check generated setup:
init action:"status"
agent action:"status"
- Run active TDD workflow:
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"
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:
pnpm run guard:repo
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:
STACKGUIDE_INTEGRITY_KEY=<long-random-secret>
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.
pnpm install
pnpm lint
pnpm test
pnpm build
pnpm dev
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
Recommended MCP Servers
How it compares
Context-plus-TDD MCP with AST analysis, not a lone linter skill or generic codebase search plugin.
FAQ
Who is StackGuide MCP for?
StackGuide MCP is for developers using AI coding agents who need smarter context loading and TDD-oriented workflows on real codebases.
When should I use StackGuide MCP?
Use it during build and ship testing when agents should focus on related modules, respect structure from AST analysis, and move through test-driven steps instead of blind edits.
How do I add StackGuide MCP to my agent?
Install @stackguide/mcp-server from npm, configure it as a stdio MCP server in Claude Code or your editor agent, and point it at the repository you want dynamic context and TDD guidance for.