mcp-adr-analysis-server
MCP (Model Context Protocol) ADR (Architectural Decision Record) Analysis Server
AI-powered architectural analysis for intelligent development workflows. Returns actual analysis results, not prompts to submit elsewhere.
What is MCP?
The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI assistants and external tools and data sources. Think of it as a universal adapter that lets AI assistants like Claude, Cline, and Cursor connect to specialized analysis servers. This server enhances AI assistants with deep architectural analysis capabilities, enabling intelligent code generation, decision tracking, and development workflow automation.
Related MCP server: lore-mcp
TL;DR
What: MCP server that provides AI-powered architectural decision analysis and ADR management
Who: AI coding assistants (Claude, Cline, Cursor), enterprise architects, development teams
Why: Get immediate architectural insights instead of prompts, with 95% confidence scoring
How: npm install -g mcp-adr-analysis-server → Configure with OpenRouter API → Start analyzing
Key Features: Tree-sitter AST analysis • Security content masking • Test-driven development • Deployment readiness validation
Term | Definition |
ADR | Architectural Decision Record — A document that captures an important architectural decision along with its context, alternatives considered, and consequences. |
MCP | Model Context Protocol — An open standard enabling AI assistants to connect to external tools and data sources. |
Tree-sitter | An incremental parsing library that provides AST (Abstract Syntax Tree) analysis for 50+ languages. Used for semantic code understanding, extracting function signatures, and identifying architectural patterns. |
Knowledge Graph | A graph database maintained by the server that tracks relationships between ADRs, code implementations, and architectural decisions. Enables intelligent code linking and impact analysis. |
Smart Code Linking | AI-powered discovery of code files related to ADRs and architectural decisions, using keyword extraction and semantic search. |
Firecrawl | Web page extraction/search service used by optional research tools ( |
ADR Aggregator | Optional SaaS integration for syncing and sharing ADR context across teams ( |
Author: Tosin Akinosho | Repository: GitHub
✨ Core Capabilities
🤖 AI-Powered Analysis - Immediate architectural insights with OpenRouter.ai integration 🏗️ Technology Detection - Identify any tech stack and architectural patterns 📋 ADR Management - Generate, suggest, and maintain Architectural Decision Records 🔗 Smart Code Linking - AI-powered discovery of code files related to ADRs and decisions 🛡️ Security & Compliance - Detect and mask sensitive content automatically 🧪 TDD Integration - Two-phase Test-Driven Development with validation 🚀 Deployment Readiness - Zero-tolerance test validation with hard blocking
📖 View Full Capabilities → · 📜 Release policy → · 🗒️ Changelog →
Prerequisites
Before installing, verify you have:
node --version # Should show v20.0.0 or higher
npm --version # Should show 9.0.0 or higher (included with Node.js 20+)Required:
npm 9.0.0 or higher (included with Node.js 20+)
An MCP-compatible client — Claude Desktop, Cline, Cursor, or Windsurf
Network Requirements
Internet access required during
npm installfor native module compilation (tree-sitter incremental code parsers for YAML and TypeScript)If behind a corporate proxy, set
HTTP_PROXYandHTTPS_PROXYenvironment variablesOffline fallback: If native builds fail, the server operates in reduced mode without tree-sitter code analysis
📦 Quick Installation
# Option 1: Global installation (recommended for frequent use)
npm install -g mcp-adr-analysis-server
# Option 2: Use npx (no installation required)
npx mcp-adr-analysis-server
# Option 3: From source (for development or customization)
git clone https://github.com/tosin2013/mcp-adr-analysis-server.git
cd mcp-adr-analysis-server && npm install && npm run build
# Option 4: RHEL 9/10 systems (special installer)
curl -sSL https://raw.githubusercontent.com/tosin2013/mcp-adr-analysis-server/main/scripts/install-rhel.sh | bashNote: When installing from source,
npm run buildis required before running the server since thebinentry points to./dist/src/index.js.
📖 Detailed Installation Guide → | RHEL Setup →
⚡ Quick Setup (3 Steps)
Get API Key: Sign up at OpenRouter.ai/keys — OpenRouter is an API gateway that provides access to multiple AI models (Claude, GPT, etc.) through a single key. No API key? The server still works in prompt-only mode — see Execution Modes below.
Set Environment:
OPENROUTER_API_KEY=your_key+EXECUTION_MODE=fullConfigure Client: Add to Claude Desktop, Cline, Cursor, or Windsurf
{
"mcpServers": {
"adr-analysis": {
"command": "mcp-adr-analysis-server",
"env": {
"PROJECT_PATH": "/path/to/your/project",
"OPENROUTER_API_KEY": "your_key_here",
"EXECUTION_MODE": "full"
}
}
}
}Claude Desktop users: Save this JSON to
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows).
Client | Config file location |
Claude Desktop (macOS) |
|
Claude Desktop (Windows) |
|
Cline (VS Code) | VS Code Settings → Cline → MCP Servers (or |
Cursor | Cursor Settings → MCP → Add Server |
{
"mcpServers": {
"adr-analysis": {
"command": "mcp-adr-analysis-server",
"env": {
"PROJECT_PATH": "/path/to/your/project",
"OPENROUTER_API_KEY": "your_key_here",
"EXECUTION_MODE": "full",
"ADR_AGGREGATOR_API_KEY": "agg_your_key_here"
}
}
}
}Get your API key at adraggregator.com
📖 Full Configuration Guide → | Client Setup →
Execution Modes
Full Mode | Prompt-Only Mode | |
Requires API key? | Yes ( | No |
Returns | Actual analysis results with confidence scores | Prompts you can paste into any AI chat |
Set via |
|
|
Best for | Production use, automation | Trying it out, no-cost exploration |
Available Features | All 73 tools, AI analysis, confidence scoring, Smart Code Linking, Knowledge Graph | Analysis prompts, templates, local file operations, ADR discovery |
Unavailable Features | — | AI execution, confidence scores, Smart Code Linking, web research |
Tip: Start with prompt-only mode to explore the tool catalog — you can analyze projects, discover ADRs, and generate templates without an API key. Add an API key when you're ready for AI-powered analysis with confidence scoring.
🚀 Usage Examples
Just ask your MCP client in natural language — no code required:
"Analyze this React project's architecture and suggest ADRs for any implicit decisions"
"Generate ADRs from the PRD.md file and create a todo.md with implementation tasks"
"Check this codebase for security issues and provide masking recommendations"
The server returns actual analysis results instead of prompts to submit elsewhere!
If you're integrating the server into your own tooling via the MCP SDK:
// Basic project analysis
const analysis = await analyzeProjectEcosystem({
projectPath: '/path/to/project',
analysisType: 'comprehensive',
});
// Generate ADRs from requirements
const adrs = await generateAdrsFromPrd({
prdPath: 'docs/PRD.md',
outputDirectory: 'docs/adrs',
});
// Smart Code Linking - Find code related to ADR decisions
const relatedCode = await findRelatedCode(
'docs/adrs/001-auth-system.md',
'We will implement JWT authentication with Express middleware',
'/path/to/project',
{
useAI: true, // AI-powered keyword extraction
useRipgrep: true, // Fast text search
maxFiles: 10, // Limit results
includeContent: true, // Include file contents
}
);📖 Complete Usage Guide → | API Reference →
Try it out: This repo includes a
sample-project/directory with example ADRs and source code. PointPROJECT_PATHat it to experiment without affecting your own codebase.Note: The sample project is only available when cloning from source (Option 3 above). If you installed via npm (Option 1 or 2), create your own test project or clone the repo separately to access the sample:
git clone --depth 1 https://github.com/tosin2013/mcp-adr-analysis-server.git sample-test
🎯 Use Cases
👨💻 AI Coding Assistants - Enhance Claude, Cline, Cursor with architectural intelligence
💬 Conversational AI - Answer architecture questions with confidence scoring
🤖 Autonomous Agents - Continuous analysis and rule enforcement
🏢 Enterprise Teams - Portfolio analysis and migration planning
🛠️ Technology Stack
Runtime: Node.js 20+ • Language: TypeScript • Framework: MCP SDK • Testing: Jest (>80% coverage) Search: ripgrep (fast recursive text search) + fast-glob (file matching) • AI Integration: OpenRouter.ai • Web Research: Firecrawl (web page extraction API) • Code Analysis: tree-sitter (incremental code parser) + Smart Code Linking
📁 Project Structure
src/tools/ # 73 MCP tools for analysis
docs/adrs/ # Architectural Decision Records
tests/ # >80% test coverage
.github/ # CI/CD automation🧪 Testing
npm test # Run all tests (>80% coverage)
npm run test:coverage # Coverage report🔥 Firecrawl Integration (Optional — Skip for Getting Started)
Enhanced web research capabilities for comprehensive architectural analysis.
Note: You don't need Firecrawl for basic ADR analysis. The server works fully without it. Only configure Firecrawl if you need web research features like the
perform_researchtool with external sources.
ADR research — automatically pull best practices from official docs when generating ADRs
Technology evaluation — compare frameworks by crawling their documentation and changelogs
Security audits — check CVE databases and security advisories for your dependencies
Migration planning — gather migration guides and breaking-change notes from upstream projects
# Option 1: Cloud service (recommended)
export FIRECRAWL_ENABLED="true"
export FIRECRAWL_API_KEY="fc-your-api-key-here"
# Option 2: Self-hosted
export FIRECRAWL_ENABLED="true"
export FIRECRAWL_BASE_URL="http://localhost:3000"
# Option 3: Disabled (default - server works without web search)🌐 ADR Aggregator Integration (Optional)
ADR Aggregator is a platform for cross-team ADR visibility and governance. It provides:
Cross-repository knowledge graphs — See how architectural decisions relate across projects
Governance dashboards — Track ADR compliance, staleness, and review cycles
Template library — Access domain-specific ADR templates (security, API, database, etc.)
Team collaboration — Share architectural decisions organization-wide
Note: ADR Aggregator is optional. All core analysis features work without it.
# Set your API key (get one at adraggregator.com)
export ADR_AGGREGATOR_API_KEY="agg_your_key_here"Available Tools
Tool | Description | Free | Pro+ | Team |
| Push local ADRs to platform | ✅ | ✅ | ✅ |
| Pull ADR context from platform | ✅ | ✅ | ✅ |
| Get ADR governance/health reports | ✅ | ✅ | ✅ |
| Retrieve domain-specific templates | ✅ | ✅ | ✅ |
| Get Mermaid diagrams for ADRs | — | ✅ | ✅ |
| Validate ADR implementation | — | ✅ | ✅ |
| Cross-repository knowledge graph | — | — | ✅ |
Workflow for New Repos
# 1. Analyze codebase for implicit architectural decisions
suggest_adrs(analysisType: 'implicit_decisions')
# 2. Generate ADR files from suggestions
generate_adr_from_decision(decisionData)
# 3. Save ADRs to docs/adrs/
# 4. (Optional) Sync to adraggregator.com
sync_to_aggregator(full_sync: true)Benefits: Cross-team visibility • Staleness alerts • Compliance tracking • Organization-wide knowledge graph
📖 ADR Aggregator Guide → | 📖 MCP Integration Guide →
🔧 Development
git clone https://github.com/tosin2013/mcp-adr-analysis-server.git
cd mcp-adr-analysis-server
npm install && npm run build && npm testQuality Standards: TypeScript strict mode • ESLint • >80% test coverage • Pre-commit hooks
Viewing Documentation Locally
API documentation is generated with TypeDoc:
npm install # Required once after cloning (installs typedoc)
npm run docs:build # Generate API docs into docs/api/
npm run docs:serve # Serve locally via Python HTTP serverThen open http://localhost:8080 in your browser. Markdown documentation lives in docs/ and can be browsed directly on GitHub.
📖 Development Guide → | Contributing →
🔧 Troubleshooting
Common Issues:
RHEL Systems: Use special installer script
Tools return prompts: Set
EXECUTION_MODE=full+ API keyModule not found: Run
npm install && npm run buildPermission denied: Check file permissions and project path
📖 Complete Troubleshooting Guide →
🔒 Security & Performance
Security: Automatic secret detection • Content masking • Local processing • Zero trust
Performance: Multi-level caching • Incremental analysis • Parallel processing • Memory optimization
📖 Security Guide → | Performance →
🔐 Security Vulnerability Reporting
Found a security issue? Please read our Security Policy for responsible disclosure procedures. Do not create public issues for security vulnerabilities.
🤝 Contributing
We welcome contributions! Whether you're fixing bugs, adding features, or improving documentation, your help is appreciated.
🌟 Quick Start for Contributors
Fork the repository
Clone your fork:
git clone https://github.com/YOUR_USERNAME/mcp-adr-analysis-server.gitCreate a branch:
git checkout -b feature/your-feature-nameMake your changes with tests
Test:
npm test(maintain >80% coverage)Submit a Pull Request
👶 First Time Contributing?
Looking for a good first issue? Check out our good first issues - these are beginner-friendly tasks perfect for getting started!
New to open source? Our Contributing Guide walks you through the entire process step-by-step.
📝 Reporting Issues
Use our issue templates when reporting bugs or requesting features. Templates help us understand and resolve issues faster.
Standards: TypeScript strict • >80% coverage • ESLint • Security validation • MCP compliance
📖 Full Contributing Guide → | Code of Conduct →
🔗 Resources
Official: MCP Specification • MCP SDK
Community: MCP Registry • Discord
Project: ADRs • Progress • Publishing Guide
📄 License
MIT License - see LICENSE file for details.
🙏 Acknowledgments
Anthropic for creating the Model Context Protocol
The MCP Community for inspiration and best practices
Contributors who help make this project better
Built with ❤️ by Tosin Akinosho for AI-driven architectural analysis
Empowering AI assistants with deep architectural intelligence and decision-making capabilities.
Available Tools
63 toolsanalyze_adr_timelineBRead-onlyIdempotent
Analyze ADR timeline with smart time tracking, adaptive thresholds, and actionable recommendations. Auto-detects project context (startup/growth/mature) and generates prioritized work queue based on staleness, implementation lag, and technical debt.
Inputs: projectPath, adrDirectory, forceExtract, includeContent, +3 more.
analyze_content_securityARead-onlyIdempotent
Analyze content for sensitive information using AI-powered detection with optional memory integration for security pattern learning
Inputs: content (required), contentType, enhancedMode, userDefinedPatterns, +2 more.
analyze_deployment_progressBRead-onlyIdempotent
Analyze deployment progress and verify completion with outcome rules
Inputs: cicdLogs, todoPath, cicdStatus, adrDirectory, +6 more.
analyze_environmentCRead-onlyIdempotent
Analyze environment context and provide optimization recommendations with optional memory integration for environment snapshot tracking
Inputs: projectPath, adrDirectory, analysisType, requirements, +4 more.
analyze_gapsARead-onlyIdempotent
Scan local codebase and compare with ADRs to detect bi-directional gaps. Finds: (1) ADR-to-code gaps: file references in ADRs that do not exist, (2) Code-to-ADR gaps: technologies in package.json and architectural patterns without ADR coverage. Reports gaps to ADR Aggregator for tracking.
Inputs: projectPath, excludePatterns, includePatterns, scanDirectories, +2 more.
analyze_project_ecosystemCRead-onlyIdempotent
Comprehensive recursive project ecosystem analysis with advanced prompting techniques (Knowledge Generation + Reflexion)
Inputs: projectPath, enhancedMode, analysisDepth, analysisScope, +6 more.
apply_basic_content_maskingA
Apply basic content masking (fallback when AI is not available)
Inputs: content (required), maskingStrategy.
bootstrap_validation_loopARead-onlyIdempotent
GUIDED EXECUTION MODE: This tool guides you through an interactive, step-by-step deployment validation workflow. It does NOT execute commands internally - instead, it tells YOU what commands to run and processes the results iteratively. Workflow: (1) First call with iteration=0: Detects platform (OpenShift/K8s/Docker), validates environment connection, and requests human approval for target platform. (2) Subsequent calls: After running each command and reporting back with output, the tool provides next steps. Environment Validation: Before deployment, the tool verifies connection to the target platform (e.g., oc status for OpenShift, kubectl cluster-info for K8s) and requires explicit human confirmation. Validated Patterns Integration: Automatically identifies base code repositories (e.g., validatedpatterns/common for OpenShift) and guides you to merge them into your project. Deployment Cleanup: Supports CI/CD-style workflows with deployment teardown/restart guidance. Call this tool iteratively, passing previous command output back each time.
Inputs: autoFix, appSelector, projectPath, adrDirectory, +7 more.
compare_adr_progressBRead-onlyIdempotent
Compare TODO.md progress against ADRs and current environment to validate implementation status
Inputs: todoPath, strictMode, environment, projectPath, +8 more.
configure_custom_patternsC
Configure custom sensitive patterns for a project
Inputs: projectPath (required), existingPatterns.
configure_output_maskingA
Configure content masking for all MCP outputs
Inputs: action, enabled, strategy, customPatterns.
create_research_templateC
Create a research template file for documenting findings
Inputs: title (required), category, researchPath.
create_rule_setC
Create machine-readable rule set in JSON/YAML format
Inputs: name (required), rules, author, adrRules, +3 more.
deployment_readinessARead-onlyIdempotent
Comprehensive deployment readiness validation with test failure tracking, deployment history analysis, and hard blocking for unsafe deployments. Integrates with smart_git_push for deployment gating.
Inputs: operation (required), strictMode, projectPath, allowMockCode, +20 more.
discover_existing_adrsCRead-onlyIdempotent
Discover and catalog existing ADRs in the project
Inputs: adrDirectory, includeContent.
expand_analysis_sectionARead-onlyIdempotent
Retrieve full analysis content from tiered responses. Expand entire analysis or specific sections stored in memory. Use this when a tool returns a summary with an expandable ID.
Inputs: expandableId (required), format, section.
expand_memoryB
Phase 3: Retrieve and expand stored content from a tiered response using its expandable ID
Inputs: expandableId (required), section, includeContext.
generate_adr_bootstrapB
Generate bootstrap.sh and validate_bootstrap.sh scripts to ensure deployed code follows ADR requirements. CRITICAL: Before generating scripts, use WebFetch to query the base code repository (e.g., https://github.com/validatedpatterns/common for OpenShift) and authoritative pattern documentation (e.g., https://play.validatedpatterns.io/). Merge the base repository code into your project and have bootstrap.sh call the pattern's scripts rather than generating everything from scratch. This ensures compliance with validated deployment patterns.
Inputs: outputPath, scriptType, projectPath, adrDirectory, +3 more.
generate_adr_from_decisionB
Generate a complete ADR from decision data. TIP: Reference @.mcp-server-context.md to align with existing architectural patterns and decisions.
Inputs: decisionData (required), adrDirectory, existingAdrs, templateFormat.
generate_adrs_from_prdA
Generate Architectural Decision Records from a Product Requirements Document with advanced prompting techniques (APE + Knowledge Generation)
Inputs: prdPath (required), prdType, enhancedMode, outputDirectory, +2 more.
generate_adr_todoB
Generate TODO.md from ADRs with comprehensive task breakdown. Decomposes each ADR into paired test+production tasks (TDD), links tasks to release milestones, and preserves manual edits via a bounded HTML-comment section. Re-runs are idempotent; tasks for deleted/superseded ADRs move to a Stale Tasks section.
Inputs: phase, scope, dryRun, todoPath, +3 more.
generate_content_maskingC
Generate masking instructions for detected sensitive content
Inputs: content (required), detectedItems (required), maskingStrategy.
generate_deployment_guidanceB
Generate deployment guidance and instructions from ADRs with environment-specific configurations
Inputs: format, environment, projectPath, adrDirectory, +7 more.
generate_research_questionsC
Generate context-aware research questions and create research tracking system
Inputs: problems, projectPath, adrDirectory, analysisType, +5 more.
generate_rulesC
Generate architectural rules from ADRs and code patterns
Inputs: source, projectPath, adrDirectory, outputFormat, +1 more.
get_adr_contextARead-onlyIdempotent
Fetch ADR context from ADR Aggregator including summaries, diagrams, timeline data, and code links. Useful for getting a consolidated view of architectural decisions.
Inputs: graph_depth, projectPath, include_diagrams, include_research, +3 more.
get_adr_diagramsARead-onlyIdempotent
Get Mermaid diagrams for ADRs from ADR Aggregator. Includes workflow, relationship, and impact diagrams. Requires Pro+ tier.
Inputs: adr_path, projectPath.
get_adr_prioritiesARead-onlyIdempotent
Get ADR priorities for roadmap and backlog planning from ADR Aggregator. Returns prioritized ADRs with scores, dependencies, blockers, implementation status, and gap counts.
Inputs: include_ai, projectPath.
get_adr_templatesARead-onlyIdempotent
Get domain-specific ADR templates and anti-patterns from ADR Aggregator. Includes best practices for web applications, microservices, APIs, and more. No authentication required.
Inputs: domain.
get_architectural_contextCRead-onlyIdempotent
Get detailed architectural context for specific files or the entire project, automatically sets up ADR infrastructure if missing, and provides outcome-focused workflow for project success
Inputs: filePath, includeCompliance.
get_conversation_snapshotARead-onlyIdempotent
Phase 3: Get current conversation context snapshot for resumption or analysis
Inputs: recentTurnCount.
get_development_guidanceARead-onlyIdempotent
Get comprehensive development guidance that translates architectural decisions and workflow recommendations into specific coding tasks, implementation patterns, and development roadmap
Inputs: developmentPhase (required), timeline, focusAreas, teamContext, +3 more.
get_gapsARead-onlyIdempotent
Get current code gaps from ADR Aggregator. Returns gaps with their status (open, dismissed, resolved) for tracking and management.
Inputs: projectPath, includeResolved, includeDismissed.
get_knowledge_graphARead-onlyIdempotent
Get cross-repository knowledge graph from ADR Aggregator with analytics and insights. Visualize ADR relationships across repositories. Requires Team tier.
Inputs: scope, projectPath, include_analytics.
get_memory_statsBRead-onlyIdempotent
Phase 3: Get statistics about stored conversation memory
Inputs: no named parameters.
get_server_contextARead-onlyIdempotent
Generate a comprehensive context file showing the server's current state, memory, and capabilities. Creates .mcp-server-context.md that can be @ referenced in conversations for instant LLM awareness
Inputs: outputPath, writeToFile, maxRecentItems, includeDetailed.
get_staleness_reportARead-onlyIdempotent
Get ADR staleness report from ADR Aggregator with review compliance metrics. Identifies stale ADRs that need attention and provides governance insights.
Inputs: threshold, projectPath.
get_workflow_guidanceBRead-onlyIdempotent
Get intelligent workflow guidance and tool recommendations based on your goals and project context to achieve expected outcomes efficiently
Inputs: goal (required), projectContext (required), timeframe, availableAssets, +1 more.
incorporate_researchC
Incorporate research findings into architectural decisions
Inputs: adrId, updateType, adrDirectory, analysisType, +4 more.
interactive_adr_planningB
Interactive guided ADR planning and creation tool - walks users through structured decision-making process with research integration, option evaluation, and automatic ADR generation. TIP: Start by reading @.mcp-server-context.md to understand project context and previous decisions.
Inputs: operation (required), projectPath (required), input, sessionId, +2 more.
manage_cacheCIdempotent
Manage MCP resource cache (clear, stats, cleanup)
Inputs: action (required), key.
mcp_planningC
Enhanced project planning and workflow management tool - phase-based project management, team resource allocation, progress tracking, risk analysis, and executive reporting
Inputs: operation (required), projectPath (required), team, action, +22 more.
memory_loadingC
Advanced memory loading tool for the memory-centric architecture. Query, explore, and manage memory entities and relationships. Load ADRs into memory system and perform intelligent queries.
Inputs: query, action, entityId, maxDepth, +1 more.
perform_researchARead-onlyIdempotent
Perform research using cascading sources: project files → session/tool-usage tracker → environment resources → web search (fallback)
Inputs: question (required), projectPath, adrDirectory, performWebSearch, +2 more.
query_conversation_historyBRead-onlyIdempotent
Phase 3: Search and retrieve conversation sessions based on filters
Inputs: limit, keyword, dateRange, toolsUsed, +1 more.
release_trackingCRead-onlyIdempotent
Track releases mapped to ADR decisions. Generates changelogs, manages milestones, compares releases, and assesses release readiness. Supports greenfield and brownfield projects. Writes CHANGELOG.md, creates GitHub Releases and Milestones.
Inputs: operation (required), format, version, compareTo, +17 more.
request_action_confirmationA
Request confirmation before applying research-based changes
Inputs: action (required), details (required), impact.
review_existing_adrsBRead-onlyIdempotent
Review existing ADRs against actual code implementation with cloud/DevOps expertise. TIP: After review, call get_server_context to update @.mcp-server-context.md with findings.
Inputs: projectPath, specificAdr, adrDirectory, analysisDepth, +2 more.
search_codebaseARead-onlyIdempotent
Atomic tool for searching codebase files based on query patterns. Returns raw file matches with relevance scores. Extracted from ResearchOrchestrator per ADR-018.
Inputs: query (required), scope, maxFiles, projectPath, +3 more.
set_project_pathAIdempotent
Dynamically set the active project path for the current session. Call this at the start of a session to switch between projects without restarting the server or modifying environment variables. All subsequent tool calls will use this path as the default.
Inputs: path (required), validatePath.
smart_git_pushBDestructive
AI-driven security-focused git push with credential detection, file filtering, and deployment metrics tracking. Tests should be run by calling AI and results provided.
Inputs: branch, dryRun, message, forceUnsafe, +3 more.
smart_scoreCRead-onlyIdempotent
Central coordination for project health scoring system - recalculate, sync, diagnose, optimize, and reset scores across all MCP tools
Inputs: operation (required), projectPath (required), intentId, todoPath, +14 more.
suggest_adrsBRead-onlyIdempotent
Suggest architectural decisions with advanced prompting techniques (Knowledge Generation + Reflexion). TIP: Read @.mcp-server-context.md first for project history, patterns, and previous ADRs to ensure consistency.
Inputs: afterCode, beforeCode, projectPath, analysisType, +7 more.
sync_to_aggregatorB
Sync ADRs to ADR Aggregator platform (https://adraggregator.com) for centralized tracking, visualization, and team collaboration. Supports incremental and full sync modes with optional metadata.
Inputs: adr_paths, full_sync, projectPath, include_diagrams, +4 more.
tool_chain_orchestratorC
AI-powered dynamic tool sequencing - intelligently analyze user requests and generate structured tool execution plans
Inputs: userRequest (required), maxSteps, contextHints, allowParallel, +2 more.
troubleshoot_guided_workflowARead-onlyIdempotent
Structured failure analysis and test plan generation with memory integration for troubleshooting session tracking and intelligent ADR/research suggestion capabilities - provide JSON failure info to get specific test commands
Inputs: operation (required), failure, todoPath, projectPath, +5 more.
update_implementation_statusA
Update the implementation status of synced ADRs directly from the IDE. Supports statuses: not_started, in_progress, implemented, deprecated, blocked. Requires Pro+ tier.
Inputs: updates (required), projectPath.
update_knowledgeA
ADR-018: Simple CRUD operations for project session state. Not a graph database — keyword retrieval over local JSON snapshots. Add/remove entities (intents, ADRs, tools, code) and relationships. Use knowledge://graph resource to read current state (zero token cost).
Inputs: operation (required), entity, source, target, +3 more.
validate_adrBRead-onlyIdempotent
Validate an existing ADR against actual infrastructure reality using research-driven analysis. TIP: Compare findings against patterns in @.mcp-server-context.md for consistency checks.
Inputs: adrPath (required), projectPath, adrDirectory, confidenceThreshold, +1 more.
validate_adr_complianceARead-onlyIdempotent
Validate ADR compliance against implementation via ADR Aggregator. Checks that code actually implements documented decisions. Requires Pro+ tier.
Inputs: adr_paths, projectPath, validation_type.
validate_all_adrsARead-onlyIdempotent
Validate all ADRs in a directory against actual infrastructure reality
Inputs: projectPath, adrDirectory, minConfidence, includeEnvironmentCheck.
validate_content_maskingCRead-onlyIdempotent
Validate that content masking was applied correctly
Inputs: maskedContent (required), originalContent (required).
validate_rulesBRead-onlyIdempotent
Validate code against architectural rules
Inputs: rules (required), fileName, filePath, fileContent, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 63 tools
The tool set has many overlapping functions, such as multiple analyze_* tools (analyze_project_ecosystem, analyze_content_security, analyze_environment, analyze_deployment_progress, analyze_adr_timeline) and multiple validate_* tools (validate_adr, validate_adr_compliance, validate_all_adrs, validate_rules). Agents will struggle to differentiate between tools that appear to serve nearly identical purposes, leading to high misselection risk.
While many tools follow a verb_noun pattern, there are inconsistencies such as 'smart_score', 'mcp_planning', 'tool_chain_orchestrator', and 'get_adr_context' vs 'get_server_context'. The presence of near-duplicate names like 'validate_adr' and 'validate_adr_compliance' further breaks consistency.
With 63 tools, this server far exceeds the typical range (3-15) and even the 'too many' threshold (25+). The sheer volume makes it impractical for an agent to efficiently discover and select the correct tool, and many tools appear to be variations or extractions from the same underlying concepts.
The domain of ADR analysis and management is broadly covered, including generation, validation, aggregation, and monitoring. However, the coverage is scattered across many redundant tools, and some lifecycle actions like explicit ADR deletion are only indirectly handled through status updates or stale task management.
Maintenance
Related MCP Connectors
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
AI-powered codebase analysis — call graphs, security, dead code, complexity. 150+ tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceAutomatically generates Architecture Decision Records (ADRs) from Claude Code conversations using Claude Opus. Features AI quality review, duplicate detection, and dependency graph.917 npm3MIT
- AlicenseAqualityCmaintenanceArchitectural memory layer for AI coding. Automatically extracts decisions, detects security gaps, and analyzes git history from your codebase in one command.328 npm2MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to create, manage, diagram, and export Architecture Decision Records (ADRs) directly from conversation.15MIT
- AlicenseNot gradedqualityDmaintenanceAnalyzes codebases to automatically generate README, API docs, architecture diagrams, and CHANGELOG.MIT