LO

lumiaqian/openspec-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

31 stars 5 forks Качество 68 Тренд 11MIT

MCP server for OpenSpec - spec-driven development with dashboard and approval workflow

Обзор

MCP (Model Context Protocol) server for OpenSpec - spec-driven development with real-time dashboard and approval workflow. - : Full OpenSpec CLI functionality exposed as MCP tools - : Add, reply, resolve review comments on proposals/designs - : Parse tasks.md and track progress in real-time - : Request, approve, and reject change proposals - : View cross-service design documents from single service projects - : Visual management interface with real-time updates and Markdown rendering Directly leverage your Client's AI capabilities (Claude, Codex) with context-aware prompts. For multi-service projects sharing a common .cross-service/ directory (e.g., in a Git worktree), configure your proposal.md frontmatter: The Dashboard will display a "Cross-Service" tab with: - : Rendered as Markdown - : Visual card view with service status, changes, and deployment order Approval records are stored in openspec/approvals/ .json.

README

Показан фрагмент оригинального README. Открыть оригинал.

OpenSpec MCP

MCP (Model Context Protocol) server for OpenSpec - spec-driven development with real-time dashboard and approval workflow.

Features

  • MCP Tools: Full OpenSpec CLI functionality exposed as MCP tools
  • Review System: Add, reply, resolve review comments on proposals/designs
  • Task Tracking: Parse tasks.md and track progress in real-time
  • Approval Workflow: Request, approve, and reject change proposals
  • Cross-Service Docs: View cross-service design documents from single service projects
  • Web Dashboard: Visual management interface with real-time updates and Markdown rendering

Quick Start

1. Add to your MCP configuration

Claude Code CLI (recommended - uses current directory):

claude mcp add openspec -- npx openspec-mcp

Claude Code CLI with Dashboard:

claude mcp add openspec -- npx openspec-mcp --with-dashboard

Claude Code CLI with specific project path:

claude mcp add openspec -- npx openspec-mcp /path/to/your/project

Claude Desktop / Cursor / Other:

{
  "mcpServers": {
    "openspec": {
      "command": "npx",
      "args": ["-y", "openspec-mcp"]
    }
  }
}

With Dashboard:

{
  "mcpServers": {
    "openspec": {
      "command": "npx",
      "args": ["-y", "openspec-mcp", "--with-dashboard"]
    }
  }
}

2. Use in conversation

# List all changes
"List all openspec changes"

# Show change details
"Show me the add-user-auth change"

# Update task status
"Mark task 1.1 as done in add-user-auth"

# Request approval
"Request approval for add-user-auth from @reviewer"

Available Prompts (New!)

Directly leverage your Client’s AI capabilities (Claude, Codex) with context-aware prompts.

Prompt Description
analyze-project Deep analysis of project architecture and stack
review-change Intelligent review of changes with linked specs

Available Tools

Guides & Context

Tool Description
openspec_get_instructions Get AGENTS.md usage guide
openspec_get_project_context Get project.md context
openspec_analyze_context Analyze project structure & stack
openspec_ai_analyze_context AI-enhanced context analysis

Management

Tool Description
openspec_list_changes List all change proposals
openspec_list_specs List all specifications
openspec_show_change Show change details
Открыть полный README на GitHub

Установка

npx -y openspec-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "openspec": { "command": "npx", "args": ["-y", "openspec-mcp"] } } }