MCP Hub
Back to servers

openspec-mcp

A comprehensive MCP server for OpenSpec that enables spec-driven development through tools for change proposals, automated task tracking, approval workflows, and a visual web dashboard.

Stars
4
Tools
34
Updated
Dec 27, 2025
Validated
Jan 11, 2026

OpenSpec MCP

npm version

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.

PromptDescription
analyze-projectDeep analysis of project architecture and stack
review-changeIntelligent review of changes with linked specs

Available Tools

Guides & Context

ToolDescription
openspec_get_instructionsGet AGENTS.md usage guide
openspec_get_project_contextGet project.md context
openspec_analyze_contextAnalyze project structure & stack
openspec_ai_analyze_contextAI-enhanced context analysis

Management

ToolDescription
openspec_list_changesList all change proposals
openspec_list_specsList all specifications
openspec_show_changeShow change details
openspec_show_specShow spec details

Validation

ToolDescription
openspec_validate_changeValidate a change
openspec_validate_specValidate a spec
openspec_validate_allBatch validation

Archive

ToolDescription
openspec_archive_changeArchive completed change

Tasks

ToolDescription
openspec_get_tasksGet tasks and progress
openspec_update_taskUpdate task status
openspec_batch_update_tasksBatch update task status
openspec_get_progress_summaryGet all changes progress

Approval

ToolDescription
openspec_get_approval_statusGet approval status
openspec_request_approvalRequest approval
openspec_approve_changeApprove a change
openspec_reject_changeReject a change
openspec_list_pending_approvalsList pending approvals

Reviews

ToolDescription
openspec_add_reviewAdd review comment to proposal/design/tasks
openspec_list_reviewsList reviews with filters
openspec_reply_reviewReply to a review
openspec_resolve_reviewMark review as resolved
openspec_get_review_summaryGet review statistics & blocking issues

Templates

ToolDescription
openspec_list_templatesList available templates
openspec_create_changeCreate change from template
openspec_preview_templatePreview template content

Generator

ToolDescription
openspec_generate_proposalGenerate proposal from requirements
openspec_save_proposalSave generated proposal

Hooks

ToolDescription
openspec_setup_hooksSetup git hooks for project

Cross-Service

ToolDescription
openspec_list_cross_service_docsList cross-service documents
openspec_read_cross_service_docRead a cross-service document

Cross-Service Documentation

For multi-service projects sharing a common .cross-service/ directory (e.g., in a Git worktree), configure your proposal.md frontmatter:

---
crossService:
  rootPath: "../../../../.cross-service" # Relative to change directory
  documents:
    - design.md
    - flows.md
    - services.yaml
  archivePolicy: snapshot # 'snapshot' (default) or 'reference'
---
# Your proposal content...

The Dashboard will display a "Cross-Service" tab with:

  • design.md / flows.md: Rendered as Markdown
  • services.yaml: Visual card view with service status, changes, and deployment order

Approval Workflow

draft -> pending_approval -> approved -> implementing -> completed -> archived
                         -> rejected -> draft (revise and resubmit)

Approval records are stored in openspec/approvals/<change-id>.json.

CLI Options

openspec-mcp [path] [options]

Arguments:
  path                    Project directory path (default: current directory)

Options:
  --dashboard             Start web dashboard only (HTTP mode)
  --with-dashboard        Start MCP server with web dashboard
  -p, --port <number>     Dashboard port (default: 3000; auto-increments if busy, 0 for random)
  -V, --version           Output version number
  -h, --help              Display help

Examples

# MCP server only (uses current directory)
openspec-mcp

# MCP server with specific project
openspec-mcp /path/to/project

# Dashboard only
openspec-mcp --dashboard

# MCP server + Dashboard
openspec-mcp --with-dashboard

# Dashboard on custom port
openspec-mcp --dashboard --port 8080

Web Dashboard

The dashboard provides a visual interface for managing changes, tracking tasks, and handling approvals.

Dashboard Pages

RouteDescription
/Overview with stats and recent changes
/kanbanDrag-and-drop Kanban board
/changesList all changes with progress
/changes/:idChange detail with Specs & Tasks
/qaQA Runner dashboard
/contextProject analysis & Tech stack
/specsBrowse specifications
/approvalsApproval queue management

Features

  • Real-time Updates: WebSocket connection for live progress and review updates
  • Kanban Board: 6-column workflow (Backlog -> Released) with drag-and-drop support
  • QA Dashboard: Monitor and trigger quality checks directly from UI
  • Context Analysis: Auto-detect tech stack and visualize directory structure
  • Task Management: Toggle task status directly from the UI
  • Approval Actions: Approve/reject changes with comments
  • Progress Visualization: Progress bars and status badges
  • Review Management: View, resolve and track reviews with Open/Resolved tabs
  • Cross-Service Docs: View cross-service design documents with visual services.yaml display
  • Markdown Rendering: Proposals and designs rendered with full Markdown support

Development

# Install dependencies
npm install

# Build
npm run build

# Development mode
npm run dev

# Run tests
npm test

Requirements

  • Node.js >= 20.0.0
  • OpenSpec CLI (npm install -g @fission-ai/openspec)

License

MIT

Reviews

No reviews yet

Sign in to write a review