feat: MCP server, README overhaul, CHANGELOG v4.1.0, stashed rule updates#7
Merged
Conversation
…ates
mcp_server.py (new):
- FastMCP server exposing all 37 rules, 17 templates, 5 personas as
resources (archpilot://rules/{name}, archpilot://templates/{name},
archpilot://personas/{name}, archpilot://diagrams/{name})
- Tools: list_rules(), get_rule(), list_templates(), list_personas(),
run_lint(directory, tier) → JSON, calculate_nfrs(...) → physics output
- Fuzzy rule lookup: accepts bare filename, numeric prefix, or full name
- Drop-in Claude Code config: add one JSON block to ~/.claude/settings.json
- requirements.txt + pyproject.toml: added mcp>=1.0.0
README.md:
- Install section: pip install -e . shown as primary path
- Quick Start: updated to `archpilot` CLI commands with all new flags
(--from-phase, --max-tokens, --format json, --model)
- What is Archpilot table: added MCP Server row
- Standards Library: Options D→Kiro, E→ChatGPT, F→Gemini, G→Windsurf,
H→Aider, I→MCP Server (was missing Kiro from options; Options D/E generic)
- New Personas section: table of all 5 personas with descriptions
- File tree: added mcp_server.py, pyproject.toml, 3 new LLM configs,
expanded persona descriptions
- Total count: 37 rules | 17 templates | 8 LLM configs | 5 personas | MCP server
CHANGELOG.md:
- Added v4.1.0 entry documenting all changes from both PRs plus this PR
- Moved MCP Server out of Unreleased Planned (now shipped)
Stashed local improvements (committed):
- rules/00-architecture-principles.md: 7 additions
- rules/27-spec-driven-development.md: 29 additions
- tools/nfr_calculator.py: refactor
- docs/index.html: footer tweak
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
MCP Server (
mcp_server.py) — newarchpilot://rules/index,archpilot://rules/{name},archpilot://templates/{name},archpilot://personas/{name},archpilot://diagrams/{name}list_rules(),get_rule(name),list_templates(),list_personas(),run_lint(dir, tier)→ JSON,calculate_nfrs(tps, ...)→ physics output"03"), or full filename ("03-hld-standards.md")archpilotto~/.claude/settings.jsonmcpServersrequirements.txt+pyproject.toml: addedmcp>=1.0.0README — overhauled
pip install -e .as primary path;archpilotCLI shown throughout--from-phase,--max-tokens,--format json,--model)mcp_server.py,pyproject.toml, 3 new LLM configs, expanded persona descriptions37 rules | 17 templates | 8 LLM configs | 5 personas | MCP serverCHANGELOG — v4.1.0 entry added
Documents all changes from PRs #5, #6, and this PR.
MCP Server removed from Unreleased Planned (now shipped).
Stashed local improvements committed
rules/00-architecture-principles.md: 7 additionsrules/27-spec-driven-development.md: 29 additionstools/nfr_calculator.py: refactordocs/index.html: footer tweakTest plan
python mcp_server.pystarts without errors (requirespip install mcp)list_rules()tool appears in/toolsget_rule("03")returns content of03-hld-standards.md(numeric prefix lookup)run_lint(".", 2)returns valid JSON withpassed,errors,warningskeysarchpilot --versionprintsarchpilot 4.1.0