1. Conduid
  2. Developer Tools
  3. Architecture MCP
MCP server · Developer Tools

Architecture MCP

A Model Context Protocol (MCP) server that provides structured access to architectural guidelines, patterns, and Architecture Decision Records (ADRs) through JSON-RPC communication.

Unclaimed MIT last commit 11 months ago devtools
51Fair

Scored 5 months ago · breakdown

About Architecture MCP

Architecture MCP is an MCP server published by regul4rj0hn in the Developer Tools category: a Model Context Protocol (MCP) server that provides structured access to architectural guidelines, patterns, and Architecture Decision Records (ADRs) through JSON-RPC communication.

The repository has 1 stars and 0 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/regul4rj0hn/architecture-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Architecture MCP

Powered by Claude · Grounded in docs

I know everything about Architecture MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP Architecture Service

CI codecov Go Report Card

A Model Context Protocol (MCP) server that provides structured access to architectural guidelines, patterns, and Architecture Decision Records (ADRs) through JSON-RPC communication.

Overview

This service implements the MCP specification to enable AI agents and IDE integrations to discover and retrieve architectural documentation as contextual resources. It monitors documentation directories for real-time updates and provides fast, cached access to your architecture knowledge base.

Available MCP Resources

The service exposes documentation through the following URI patterns:

  • architecture://guidelines/{path} - Architectural guidelines from mcp/resources/guidelines/
  • architecture://patterns/{path} - Design patterns from mcp/resources/patterns/
  • architecture://adr/{adr_id} - Architecture Decision Records from mcp/resources/adr/

Available MCP Prompts

The service provides interactive prompts that combine instructions with architectural documentation:

  • review-code-against-patterns - Review code against documented architectural patterns

    • Arguments: code (required, max 10,000 chars), language (optional)
    • Embeds relevant pattern documentation for comparison
  • suggest-patterns - Suggest relevant patterns for a problem description

    • Arguments: problem (required, max 2,000 chars)
    • Embeds complete patterns catalog for analysis
  • create-adr - Assist in creating a new Architecture Decision Record

    • Arguments: topic (required)
    • Embeds example ADRs and template structure

Available MCP Tools

The service provides executable tools that enable AI agents to perform actions on architectural documentation:

  • validate-against-pattern - Validates code against documented patterns for compliance
  • search-architecture - Searches documentation by keywords across guidelines, patterns, and ADRs
  • check-adr-alignment - Checks if proposed decisions align with existing ADRs

See Tools Development Guide for detailed schemas, examples, and how to create custom tools.

MCP Protocol Support

Resources

  • initialize - Server initialization and capability negotiation
  • notifications/initialized - Initialization acknowledgment
  • resources/list - List all available documentation resources
  • resources/read - Read specific documentation resource content

Prompts

  • prompts/list - List all available interactive prompts
  • prompts/get - Invoke a prompt with arguments to get rendered content

Tools

  • tools/list - List all available executable tools with schemas
  • tools/call - Execute a tool with validated arguments

Completions

  • completion/complete - Get autocomplete suggestions for prompt arguments
    • Supports pattern_name, guideline_name, and adr_id arguments
    • Provides intelligent prefix-based filtering

Communication via JSON-RPC 2.0 over stdio (local) or TCP (bridge mode).

Quick Start

Prerequisites

  • Go 1.21 or later
  • VSCode or a fork (or any IDE that support AI Agents with MCP configuration)

Build

make build-bridge

Configuration

Add to .vscode/settings/mcp.json in your workspace:

{
  "servers": {
    "architecture-service": {
      "command": "nc",
      "args": ["localhost", "8080"],
      "disabled": false,
      "autoApprove": ["resources/list", "resources/read", "prompts/list", "prompts/get", "tools/list"]
    }
  }
}

Run

Start the MCP bridge server:

make run-bridge

The server will:

  1. Listen on TCP port 8080
  2. Monitor mcp/resources/ and mcp/prompts/ directories for changes
  3. Create a dedicated MCP server process for each client connection
  4. Provide real-time access to your architectural documentation

Test

Verify on the client IDE that the agent is connected and appears as running (either by checking the server logs or the client itself). Write a prompt and attempt to fetch one of the available resources.

Adding Documentation

Place your markdown files in these directories:

mcp/
├── resources/
│   ├── guidelines/     # Architectural guidelines
│   ├── patterns/       # Design patterns
│   └── adr/            # Architecture Decision Records
└── prompts/            # Prompt definitions (JSON)

The server automatically detects and indexes new files.

Usage

AI agents can interact with the service through standard MCP methods. See the Architecture Overview for detailed protocol flows and integration patterns.

Custom Prompts and Tools

  • Add custom prompts as JSON files in mcp/prompts/ - see Prompts Guide
  • Create custom tools by implementing the Tool interface - see Tools Development Guide
  • Prompts can reference tools using {{tool:tool-name}} syntax for guided workflows

Development

make build        # Build stdio MCP server
make build-all    # Build all binaries
make test         # Run tests
make help         # Show all available commands

Documentation

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Architecture MCP

How do I install Architecture MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Architecture MCP safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Architecture MCP still maintained?

The last commit was 11 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.