Plug Architecture Into Your AI Coding Tool
The Agents But Why MCP server gives your AI assistant direct access to our full knowledge base — 7 architecture patterns, 4 real-world use cases, and detailed component breakdowns. Ask questions, get recommendations, and make architecture decisions without leaving your editor.
Quick Start
The server is live — no installation required. Just add the endpoint to your AI coding tool:
https://www.agentsbutwhy.com/api/mcpWhat is MCP?
The Model Context Protocol is an open standard that connects AI assistants to external tools and data sources. Instead of copy-pasting architecture docs into your chat, MCP lets the AI read from them directly — searchable, structured, always up to date.
Available Tools
Tools are actions your AI assistant can invoke on your behalf.
search_patternsSearch architecture patterns by keyword, tag, or complexity level.
get_pattern_detailGet the full breakdown of a pattern — components, trade-offs, when-to-use.
search_use_casesSearch real-world use cases by industry, complexity, or pattern.
get_use_case_detailGet the full analysis of a specific use case.
recommend_architectureDescribe your project and get architecture pattern recommendations.
Browsable Resources
Resources are data your AI assistant can read for context — the full knowledge base exposed via URI.
Connect Your Tool
Add the MCP server to your AI coding tool's configuration.
{
"mcpServers": {
"agents-but-why": {
"url": "https://www.agentsbutwhy.com/api/mcp"
}
}
}{
"mcpServers": {
"agents-but-why": {
"url": "https://www.agentsbutwhy.com/api/mcp"
}
}
}{
"mcpServers": {
"agents-but-why": {
"serverURL": "https://www.agentsbutwhy.com/api/mcp"
}
}
}Server URL: https://www.agentsbutwhy.com/api/mcp
Transport: Streamable HTTPPrompt Templates
Pre-built workflows for common architecture consultation scenarios.
architecture_reviewDescribe your project and get a structured architecture review with pattern recommendations, phased adoption order, and trade-off analysis.
pattern_comparisonCompare two or more architecture patterns side by side — strengths, weaknesses, synergies, and when to choose one over another.
How It Works
Copy the MCP server URL into your AI tool's settings. That's it — the server is already live.
Your AI coding assistant discovers the available tools, resources, and prompts automatically via the MCP protocol.
Your AI assistant now has direct access to 7 architecture patterns, 4 use cases, and detailed component breakdowns. Just ask.
The MCP server is live at agentsbutwhy.com/api/mcp — connect from anywhere, no local setup required.