
Stackguide Mcp
io.github.taimiralainPublished by GitHub account taimiralainv4.2.0Updated Oct 24, 2026
Dynamic context loading for AI assistants with TDD workflow and AST analysis
Overview
A local MCP server that gives AI coding assistants project-aware rules, code review, health scoring, scaffolding and a TDD delivery workflow.
- What you can do
- Configure and inspect project context, rules, knowledge files and documentation for the current stack, and browse community rule sets and saved configurations. Review code quality and score project health, and generate boilerplate for components, hooks, services, tests, APIs, models and utilities. Analyze project structure, configuration and dependencies, and scaffold a local .stackguide configuration with stack-aware defaults. Run an active delivery workflow: intake a ticket, create a Jira issue from a template, plan a vertical slice, verify tests, lint and build, and prepare a release with semver suggestion and optional tag or pull request.
- When to use it
- Useful for teams that want a coding assistant to follow consistent project conventions, run a test-driven workflow, and standardize review, verification and release steps across Cursor, VS Code, JetBrains or Visual Studio.
- Requirements
- Runs locally over stdio, typically launched with npx from the npm package, so Node.js and network access for the package are needed. An MCP-capable client such as Cursor, VS Code with Copilot Chat, JetBrains AI Assistant or Visual Studio. Tracker and VCS integrations (GitHub, GitLab, Jira) need their own credentials configured. Optionally set STACKGUIDE_INTEGRITY_KEY for signed local artifacts.
Installation
In SourceWeft
- Open Stackguide Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
- 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
- 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
Source: README.md at commit eee037d
Tools
0Version history
1- v4.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts