feat: Add MCP server integration for spec-kit#1770
Open
jlwainwright wants to merge 2 commits intogithub:mainfrom
Open
feat: Add MCP server integration for spec-kit#1770jlwainwright wants to merge 2 commits intogithub:mainfrom
jlwainwright wants to merge 2 commits intogithub:mainfrom
Conversation
This adds a comprehensive MCP (Model Context Protocol) server that exposes spec-kit functionality to AI assistants. Features: - Standalone MCP server (spec-kit-mcp-server.py) with full CLI coverage - Modular tool structure in src/speckit_mcp/tools/ - Domain analysis tools for automatic entity extraction - Interactive domain analysis wizard - Claude Desktop configuration support - specify-mcp extension for enhanced MCP integration The MCP server provides tools for: - Project initialization (specify_init) - Feature specification (specify_feature) - Implementation planning (specify_plan) - Task breakdown (specify_tasks) - Domain analysis (specify_analyze_domain) - Specification analysis (specify_analyze) - Project constitution management (specify_constitution) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix post-increment with set -e in analyze-domain.sh (use pre-increment) - Fix path traversal in MCP server template/memory methods (sanitize names) - Fix speckit_analyze_domain schema/dispatcher mismatch - Fix spec_kit.specify_dir typo (use spec_kit.spec_kit_dir) - Fix f-string nested quotes syntax errors (3 occurrences) - Fix entry point in pyproject.toml (speckit_mcp.server:main) - Fix undefined confidence_emoji variable (use confidence_indicator) - Fix write_file returning None treated as failure (add return True) - Fix populate_template() -> populate_specification() method name - Sanitize feature_name to prevent path traversal in specify tool - Fix test references to non-existent _discover_data_files (use _scan_data_files) - Fix test references to non-existent _load_json_file/_load_csv_file - Align spec-kit-mcp-config.json tool names with actual server implementation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mnriem
requested changes
Mar 9, 2026
Collaborator
mnriem
left a comment
There was a problem hiding this comment.
Can you break this up in smaller PRs each geared towards enabling part by part where possible. Also note that adding agent specific commands directly is NOT how it is supposed to be done. The agent files are generated so it works for each agent. Is it possible to deliver part of it as a community extension?
Love seeing this land, but need it is more manageable pieces. Thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/speckit_mcp/tools/) for specification, planning, task breakdown, domain analysis, and constitution managementsrc/specify_cli/domain_analysis.py) for extracting business entities from JSON/CSV data files, with interactive wizard supportspecify-mcpextension, Claude slash commands, and comprehensive documentation (INSTALL.md, USAGE.md, MCP-README.md)MCP Server Tools
specify_initspecify_featurespecify_planspecify_tasksspecify_analyze_domainspecify_analyzespecify_constitutionTest plan
pytest tests/ -vto verify all new tests passtimeout 5s python spec-kit-mcp-server.pyspecify checkandspecify versionsample-data/claude_desktop_config_update.json🤖 Generated with Claude Code