Skip to main content
Glama

mcp-adr-analysis-server

by tosin2013

generate_rules

Extract architectural rules from ADRs and code patterns to maintain consistency and avoid duplication. Supports JSON or YAML output for integration into your project.

Instructions

Generate architectural rules from ADRs and code patterns

Input Schema

NameRequiredDescriptionDefault
adrDirectoryNoDirectory containing ADR filesdocs/adrs
existingRulesNoExisting rules to avoid duplication
outputFormatNoOutput format for rulesjson
projectPathNoPath to project for pattern analysis.
sourceNoSource for rule generationboth

Input Schema (JSON Schema)

{ "properties": { "adrDirectory": { "default": "docs/adrs", "description": "Directory containing ADR files", "type": "string" }, "existingRules": { "description": "Existing rules to avoid duplication", "items": { "properties": { "description": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "type": "array" }, "outputFormat": { "default": "json", "description": "Output format for rules", "enum": [ "json", "yaml", "both" ], "type": "string" }, "projectPath": { "default": ".", "description": "Path to project for pattern analysis", "type": "string" }, "source": { "default": "both", "description": "Source for rule generation", "enum": [ "adrs", "patterns", "both" ], "type": "string" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tosin2013/mcp-adr-analysis-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server