ai-software-architect
Ships with ai-software-architect: A markdown-based framework for implementing rigorous software architecture practices in any project, with specialized AI assistant integration. Introducing AI Software Architect…
Claude Code
> /plugin marketplace add codenamev/ai-software-architect> /plugin install ai-software-architect@ai-software-architect
Codex
$ codex mcp add ai-software-architect -- npx -y ai-software-architect@1.6.0
Cursor
{ "mcpServers": { "ai-software-architect": { "command": "npx", "args": [ "-y", "ai-software-architect@1.6.0" ] } } }
Add it to mcp.json.
Gemini CLI
{ "mcpServers": { "ai-software-architect": { "command": "npx", "args": [ "-y", "ai-software-architect@1.6.0" ] } } }
Add it to settings.json.
GitHub Copilot
$ copilot mcp add ai-software-architect -- npx -y ai-software-architect@1.6.0
OpenCode
{ "mcp": { "ai-software-architect": { "type": "local", "command": [ "npx", "-y", "ai-software-architect@1.6.0" ] } } }
Add it to opencode.json.
Windsurf
{ "mcpServers": { "ai-software-architect": { "command": "npx", "args": [ "-y", "ai-software-architect@1.6.0" ] } } }
Add it to mcp_config.json.
From the README
What can you do with ai-software-architect?
projectPath (string, required)
Path to your project root directory
.architecture/ with subdirectories (decisions, reviews, recalibration, comparisons, templates)
.coding-assistants/ configuration directories
CLAUDE.md integration (created or enhanced)
.architecture/reviews/initial-system-analysis.md
Comprehensive initial assessment
Advanced project analysis (language/framework detection)
Automatic member customization based on tech stack
Initial architectural analysis from all team members
Security report
Low risk
Known flaws
None known
Signed build
No
No build provenance published
Maintained
Nov 1, 2026
Last push
Licence
Not published
Runs as
npx
On your machine
Deprecated
No
Signals from public registries, not an audit. Checked Nov 12, 2026.
ai-software-architect README
AI Software Architect MCP Server
Model Context Protocol (MCP) server providing the AI Software Architect framework as programmatic tools for Claude Code, Cursor, and other MCP-compatible AI assistants.
Overview
The MCP server exposes the framework's core capabilities as callable tools, enabling:
- Programmatic Access: Use tools in automated workflows and scripts
- Precise Control: Call specific tools with exact parameters
- Integration: Connect with other MCP tools and services
- Multi-Assistant Support: Works with Claude Code, Cursor, and MCP-compatible assistants
For comparison with other integration methods, see the main README.
When to Choose MCP Server
Choose MCP Server if you:
- Need programmatic access to framework tools (automation, scripts, CI/CD)
- Want precise control with explicit tool parameters
- Use Claude Code or Cursor (MCP-compatible)
- Want advanced project analysis and automatic initial assessment
- Need to integrate with other MCP tools and services
- Prefer structured tool calls over natural language
Choose Claude Skills if you:
- Use Claude Code exclusively
- Want the simplest setup (no dependencies)
- Prefer automatic skill invocation
- Need all advanced features (pragmatic mode, dynamic members)
- Value portability across projects
Choose Traditional Method if you:
- Use multiple AI assistants (Copilot, Codex, etc.)
- Want maximum flexibility and customization
- Need full feature support (recalibration, pragmatic mode)
- Prefer natural language commands
- Want easiest setup (just clone repository)
See Feature Comparison Table for detailed breakdown.
Installation
Option 1: Using Claude Code
First install the package:
npm install -g ai-software-architect
Then add it to Claude Code:
claude mcp add ai-software-architect mcp
Option 2: Install via npm
npm install -g ai-software-architect
Option 3: Install from source
git clone https://github.com/codenamev/ai-software-architect.git
cd ai-software-architect/mcp
npm install
Configuration
Claude Code Configuration
Add this to your Claude Code configuration file (~/.claude/config.json):
For npm global install:
{
"mcpServers": {
"ai-software-architect": {
"command": "mcp",
"args": [],
"env": {}
}
}
}
For source install:
{
"mcpServers": {
"ai-software-architect": {
"command": "node",
"args": ["/path/to/ai-software-architect/mcp/index.js"],
"env": {}
}
}
}
Cursor Configuration
Add this to your Cursor settings (settings.json):
For npm global install:
{
"mcp.servers": {
"ai-software-architect": {
"command": "mcp",
"args": []
}
}
}
For source install:
{
"mcp.servers": {
"ai-software-architect": {
"command": "node",
"args": ["/path/to/ai-software-architect/mcp/index.js"]
}
}
}
Quick Start
For Claude Code Users (Easiest)
-
Install with Claude Code:
npm install -g ai-software-architect claude mcp add ai-software-architect mcp -
Test the installation: Open Claude Code and try:
Use the setup_architecture tool to set up the AI Software Architect framework in my current project. -
Start using the framework:
- Create ADRs: "Use create_adr to document our database choice"
- List your team: "Use list_architecture_members"
- Check status: "Use get_architecture_status"
Note: Orchestrated architecture reviews and pragmatic enforcement are not MCP tools. Run them via the plugin/Skills instead (the
architecture-reviewandspecialist-reviewskills and thepragmatic-enforcersubagent). See Two-Tier Capability Model.
For Other AI Assistants
-
Install the MCP server:
npm install -g ai-software-architect -
Configure your AI assistant (see configuration sections above)
-
Test and use (same as steps 2-3 above)
Two-Tier Capability Model
The framework splits capabilities into two tiers (see ADR-015):
- Tier 1 — Deterministic operations: File and config operations with
predictable output. Available on all channels, including this MCP server:
setup_architecture,create_adr,list_architecture_members,get_architecture_status,configure_pragmatic_mode,get_implementation_guidance. - Tier 2 — LLM-orchestrated analysis: Multi-perspective reviews and
pragmatic enforcement that require an LLM to reason and generate content.
These are plugin/Skills only and are not exposed as MCP tools. Use the
architecture-reviewandspecialist-reviewskills and thepragmatic-enforcersubagent.
Available Tools (6 Tier-1 Tools)
The MCP server provides 6 deterministic Tier-1 tools corresponding to the framework's core operations:
setup_architecture
Standard Command Equivalent: "Setup ai-software-architect"
Sets up the AI Software Architect framework in your project with full customization and analysis.
What it does:
- Project Analysis - Detects languages, frameworks, and architectural patterns
- Framework Installation - Creates complete
.architecture/structure - Customization - Tailors team members, principles, and templates to your stack
- Integration Setup - Configures CLAUDE.md for AI assistant collaboration
- Initial Analysis - Conducts multi-perspective architectural analysis
- Documentation - Creates customized templates and principles
Parameters:
projectPath(string, required): Path to your project root directory
Creates:
.architecture/with subdirectories (decisions, reviews, recalibration, comparisons, templates).coding-assistants/configuration directoriesCLAUDE.mdintegration (created or enhanced).architecture/reviews/initial-system-analysis.md- Comprehensive initial assessment
MCP-Specific Features:
- Advanced project analysis (language/framework detection)
- Automatic member customization based on tech stack
- Initial architectural analysis from all team members
create_adr
Standard Command Equivalent: "Create ADR for [decision topic]"
Creates a new Architectural Decision Record with automatic numbering.
Parameters:
title(string, required): Title of the ADRcontext(string, required): Context and background for the decisiondecision(string, required): The architectural decision being madeconsequences(string, required): Consequences of this decisionprojectPath(string, required): Path to your project root directory
Creates:
.architecture/decisions/adrs/ADR-XXX-title.mdwith sequential numbering- Formatted ADR with status, context, decision, and consequences
Example:
{
title: "Use PostgreSQL for primary database",
context: "Need reliable ACID-compliant relational database with JSONB support",
decision: "Adopt PostgreSQL 15+ as primary database",
consequences: "Better data integrity, requires PostgreSQL expertise on team",
projectPath: "/path/to/project"
}
Reviews are Tier 2, not MCP tools. Orchestrated architecture reviews and specialist reviews require LLM reasoning and are available only via the plugin/Skills (
architecture-reviewandspecialist-review). See Two-Tier Capability Model.
list_architecture_members
Standard Command Equivalent: "List architecture members"
Lists all architecture team members with their specialties and domains.
Parameters:
projectPath(string, required): Path to your project root directory
Returns:
- Formatted list of team members from
.architecture/members.yml - Each member's name, title, specialties, domains, and perspective
get_architecture_status
Standard Command Equivalent: "What's our architecture status?"
Gets current state of architecture documentation with counts and metrics.
Parameters:
projectPath(string, required): Path to your project root directory
Returns:
- ADR count (from
.architecture/decisions/adrs/) - Review count (from
.architecture/reviews/) - Team member count (from
.architecture/members.yml) - Framework setup status
- Available actions summary
configure_pragmatic_mode
Standard Command Equivalent: "Enable pragmatic mode"
Enables and configures Pragmatic Mode (YAGNI Enforcement) to prevent over-engineering.
What it does:
- Configuration Management - Creates or updates
.architecture/config.ymlwith pragmatic mode settings - Mode Activation - Enables/disables the Pragmatic Enforcer in reviews
- Intensity Control - Sets how aggressively complexity is challenged
- Deferrals Setup - Creates deferrals tracking file if enabled
Parameters:
projectPath(string, required): Path to your project root directoryenabled(boolean, optional): Enable or disable Pragmatic Modeintensity(string, optional): Intensity level - "strict", "balanced", or "lenient"
Creates/Updates:
.architecture/config.yml- Pragmatic mode configuration.architecture/deferrals.md- Deferred decisions tracking (if enabled)
Behavior by Intensity:
- Strict: Challenges aggressively, requires strong justification for any complexity
- Balanced: Thoughtful challenges, accepts justified complexity (recommended)
- Lenient: Raises concerns without blocking, suggests alternatives as options
When Pragmatic Mode is Enabled:
This tool writes the configuration. The Pragmatic Enforcer that acts on that
configuration — challenging complexity, scoring necessity vs. complexity, and
proposing simpler alternatives — is a Tier-2 capability delivered by the
pragmatic-enforcer subagent and the orchestrated review skills, not an MCP
tool. With pragmatic mode enabled, those plugin/Skills flows will:
- Challenge complexity and abstractions with structured questions
- Score necessity vs. complexity (target ratio <1.5)
- Propose simpler alternatives that meet current requirements
- Track deferred decisions with trigger conditions
Example:
{
projectPath: "/path/to/project",
enabled: true,
intensity: "balanced"
}
Note: This tool only manages configuration. To run pragmatic analysis, use
the pragmatic-enforcer subagent via the plugin/Skills (see
Two-Tier Capability Model).
get_implementation_guidance
Standard Command Equivalent: "What implementation guidance applies here?"
Reads .architecture/config.yml and returns the configured implementation
methodology, influences, and practices for the project.
Parameters:
projectPath(string, required): Path to your project root directory
Returns:
- Configured methodology, influences, and practices from
config.yml
Usage Examples
Once configured, you can use these tools through your AI assistant:
Setup
Use the setup_architecture tool to set up the framework in my current project at /Users/me/projects/myapp
Create an ADR
Use the create_adr tool with:
- title: "Use PostgreSQL for primary database"
- context: "Need ACID compliance and JSONB support for semi-structured data"
- decision: "Adopt PostgreSQL 15+ as our primary database"
- consequences: "Improves data integrity and flexibility, requires PostgreSQL expertise"
- projectPath: /Users/me/projects/myapp
Run a Review (plugin/Skills, not MCP)
Orchestrated and specialist reviews are Tier-2 capabilities. Invoke them through the plugin/Skills:
Start an architecture review for version 2.0.0
Ask the Security Specialist to review our API authentication system
More MCP servers from other plugins.
Questions about ai-software-architect.
- Which coding agents can use ai-software-architect?
- ai-software-architect works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
- How do I add ai-software-architect to Claude Code?
- Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add codenamev/ai-software-architect 2. In Claude Code: /plugin install ai-software-architect@ai-software-architect
- Is ai-software-architect safe to install?
- Low risk. Signals from public registries, not an audit.

