Skip to main content

MCP server for Spec-Kit Plus โ€” connect any AI agent to spec-driven development

Project description

๐Ÿ› ๏ธ Spec-Kit Plus MCP Server

MCP (Model Context Protocol) server that wraps Spec-Kit Plus tools so any AI IDE or CLI (Qwen, Gemini, Claude Code, Cursor, etc.) can use it globally.

๐Ÿ“ฆ What This Is

This MCP server acts as a bridge between AI agents and the Spec-Kit Plus CLI (specifyplus), enabling spec-driven development workflows across any MCP-compatible AI tool.

User (in any AI IDE/CLI)
        โ”‚
        โ–ผ
   MCP Protocol
        โ”‚
        โ–ผ
  speckit-plus-mcp/
    server.py          โ† MCP Server
        โ”‚
        โ–ผ
  specifyplus CLI      โ† Spec-Kit Plus (sp init, sp.plan, sp.tasks, etc.)

โœ… Prerequisites

# Install specifyplus (the CLI being wrapped)
pip install specifyplus

# Install MCP Python SDK
pip install "mcp[cli]"

๐Ÿš€ Installation

  1. Clone or download this repository

  2. Install dependencies:

    cd speckit-plus-mcp
    pip install -e .
    
  3. Configure your AI agent (see below)

๐Ÿ”ง Configuration

Qwen CLI

Create ~/.qwen/settings.json:

{
  "mcpServers": {
    "speckit-plus": {
      "command": "python",
      "args": ["/ABSOLUTE/PATH/TO/speckit-plus-mcp/server.py"],
      "env": {
        "PYTHONPATH": "."
      }
    }
  }
}

โš ๏ธ Replace /ABSOLUTE/PATH/TO/ with your actual path.

Gemini CLI

Create ~/.gemini/settings.json:

{
  "mcpServers": {
    "speckit-plus": {
      "command": "python",
      "args": ["/ABSOLUTE/PATH/TO/speckit-plus-mcp/server.py"]
    }
  }
}

Claude Code

Create ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "speckit-plus": {
      "command": "python",
      "args": ["/ABSOLUTE/PATH/TO/speckit-plus-mcp/server.py"]
    }
  }
}

Cursor / VS Code (with MCP extension)

Add to .cursor/mcp.json inside your project:

{
  "mcpServers": {
    "speckit-plus": {
      "command": "python",
      "args": ["/ABSOLUTE/PATH/TO/speckit-plus-mcp/server.py"]
    }
  }
}

๐Ÿงช Testing

Test the server runs correctly:

cd speckit-plus-mcp
python server.py

You should see: Running MCP server 'speckit-plus'

Test inside Qwen CLI:

qwen

Then type /mcp โ€” you should see:

speckit-plus: CONNECTED
Tools: speckit_init, speckit_check, speckit_specify, speckit_plan ...

๐Ÿ“‹ Available Tools

Tool Description
speckit_init Initialize a new Spec-Kit Plus project for any AI agent
speckit_check Verify all required tools are installed
speckit_constitution Set project governing principles
speckit_specify Write requirements specification (WHAT to build)
speckit_clarify Run structured clarification before planning
speckit_plan Generate technical plan with tech stack (HOW to build)
speckit_tasks Break plan into ordered task list
speckit_implement Execute all tasks to build the full project
speckit_workflow_guide Get complete step-by-step workflow instructions

๐Ÿ“˜ Usage Example

In your AI agent (Qwen, Claude, etc.):

Use speckit_init to create a project called "todo-app" for qwen,
then show me the workflow guide.

Complete Workflow:

  1. Initialize project:

    speckit_init(project_name="my-app", ai_agent="qwen")
    
  2. Set principles:

    /sp.constitution Enforce clean code, testing, and performance
    
  3. Write specification:

    /sp.specify Build a task manager with Kanban boards and user assignments
    
  4. Clarify gaps (recommended):

    /sp.clarify
    
  5. Technical plan:

    /sp.plan Use FastAPI, PostgreSQL, React, Docker
    
  6. Generate tasks:

    /sp.tasks
    
  7. Build the project:

    /sp.implement
    

๐ŸŽฏ Supported AI Agents

  • qwen
  • claude
  • gemini
  • copilot
  • cursor
  • windsurf
  • opencode
  • codex
  • amp

๐Ÿ“ Output Files

After running the workflow, you'll find these files in .specify/:

.specify/
โ”œโ”€โ”€ memory/
โ”‚   โ””โ”€โ”€ constitution.md    โ† Your project principles
โ””โ”€โ”€ specs/
    โ””โ”€โ”€ 001-feature/
        โ”œโ”€โ”€ spec.md        โ† Requirements & user stories
        โ”œโ”€โ”€ plan.md        โ† Technical implementation plan
        โ”œโ”€โ”€ tasks.md       โ† Ordered task list
        โ””โ”€โ”€ data-model.md  โ† Database schema

๐Ÿ—๏ธ How It Works

AI Agent (Qwen/Gemini/Claude)
        โ”‚
        โ”‚  speaks MCP protocol
        โ–ผ
   server.py  (MCP server)
        โ”‚
        โ”‚  calls subprocess
        โ–ผ
   specifyplus CLI  (sp commands)
        โ”‚
        โ”‚  reads/writes
        โ–ผ
   .specify/ folder
   (spec.md, plan.md, tasks.md)
        โ”‚
        โ”‚  used by
        โ–ผ
   AI Agent builds the project

MCP = Model Context Protocol โ€” a standard that lets any AI agent talk to any tool server. This server.py IS the bridge between the AI and Spec-Kit Plus.

๐Ÿ“„ License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

speckit_plus_mcp-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speckit_plus_mcp-0.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file speckit_plus_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: speckit_plus_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for speckit_plus_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9706ecd7d4945448f7546ede901c53b8087cc5d05415bbc871d1bcdba9b056ea
MD5 6320c7dcad49ef4d7b84f8c21042c742
BLAKE2b-256 4796493feb5ddba7e47ba053536f7f9ce3b73bf1e698682d3241e66d29e45e45

See more details on using hashes here.

File details

Details for the file speckit_plus_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for speckit_plus_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28e117f95ea6d246e40fac87acec77a1ee1af8f98db5ec280283ebdb0893af7d
MD5 cbcece85c01d4495600b6cdb857ee555
BLAKE2b-256 67f22d6682d1b547c135313981b4a07543d29a8161707d9c66b74cf4ceef48e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page