StackGuide MCP Server

StackGuide MCP Server

Helps teams standardize implementation quality with project-aware rules, code review, health scoring, and an active agent workflow for intake, planning, verification, and release.

Category
访问服务器

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 DESCRIPTION templates
  • 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 agent tool (execution-first workflow).
  • init now generates .stackguide/config.json automatically.
  • 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/build execution.
  • Updated TDD prompts to use active tool calls instead of large passive markdown payloads.
  • Hardened local persistence:
    • .stackguide artifacts 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 servers as 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 servers as root key.
{
  "servers": {
    "stackguide": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@stackguide/mcp-server@latest"]
    }
  }
}

How To Use (Any IDE)

  1. Restart the IDE after adding the MCP configuration.
  2. Open AI chat in agent/tool mode.
  3. Call setup to detect project context.
  4. Call init action:"full" to scaffold .stackguide/ and defaults.
  5. Use agent actions (intake, create_ticket, plan, verify, release) for delivery flow.

Quick Start

  1. 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
  1. Check generated setup:
init action:"status"
agent action:"status"
  1. 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 type
  • context: show currently loaded context
  • rules: list/search/get/select rule sets
  • knowledge: list/search/get knowledge files
  • review: analyze files/URLs/project code quality

Utility

  • cursor: browse/import community rules
  • docs: fetch/search/list documentation
  • config: save/load/export/import configurations
  • custom_rule: create/update/delete/list project custom rules
  • help: usage help by topic

Advanced

  • generate: boilerplate generation (component/hook/service/test/api/model/util)
  • health: project health score and recommendations
  • analyze: project intelligence (structure/config/dependency/generate/apply)

Workflow

  • workflow: lazy-load raw workflow assets (agents/skills/hooks/commands)
  • init: scaffold .stackguide with stack-aware defaults
  • agent: 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 DESCRIPTION format
  • uses project defaults from .stackguide/config.json (projectKey, issueType)
  • derives summary from first line of MAIN DESCRIPTION when 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.0 up to 4.1.1 are deprecated in npm due to local artifact hygiene issues.
  • Use the latest 4.x release in all environments.

Registry Identifiers

  • npm package: @stackguide/mcp-server
  • MCP Registry server: io.github.isucorp-taimiralain/stackguide-mcp

License

GPL-3.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选