Architecture Pattern MCP MCP Server
io.github.olk/architecture-pattern-mcp
What this kind of tool is for
- Automate a build, test, or deployment step you repeat by hand.
- Review or refactor code in an existing repository without leaving your agent.
- Bridge an internal service or CLI into the agent toolset.
How to compare servers like this
- Scope of control:
- Repos and CI are hard to undo; prefer tools that ask before anything irreversible.
- Environment fit:
- Match the runtime it expects (Node, Python, a container) to what you actually run.
- Maintenance signal:
- Check the last-commit date — dev tooling that lags upstream breaks first.
- Config surface:
- Prefer tools whose environment-variable or config keys are documented plainly.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the Architecture Pattern MCP MCP server?
MCP server that provides architecture design expertise to AI coding agents
How to install Architecture Pattern MCP
Copy-paste configuration for popular MCP clients.
GENERATOR_API_KEYrequiredsecretAPI key for the generator LLM (LiteLLM provider).
GENERATOR_PROVIDERLiteLLM provider prefix, e.g. openai, anthropic, openrouter, minimax.
GENERATOR_MODELModel name, combined as <provider>/<model> via LiteLLM.
GENERATOR_BASE_URLOpenAI-compatible base URL (LiteLLM api_base).
PATTERN_DIRECTORYDirectory with *-pattern.json files. The image bakes the 40-pattern catalogue at /app/pattern.
EMBEDDER_PROVIDEREmbedding backend for pattern retrieval: tei, openai, ollama, vllm or hosted_vllm.
EMBEDDER_BASE_URLrequiredRequired: the dense retrieval leg embeds the 40-pattern catalogue during startup warmup and the server refuses to start when the endpoint is unreachable. OpenAI-compatible embeddings endpoint ending in /v1: on the Docker host use http://host.docker.internal:8080/v1 (add --add-host=host.docker.internal:host-gateway on Linux); on a shared Docker network use http://pattern-tei-embed:8080/v1.
EMBEDDER_API_KEYsecretAPI key for the embedder. Keyless TEI accepts any non-empty value; use 'not-needed' there.
RERANKER_BASE_URLrequiredRequired: pattern retrieval runs a mandatory TEI cross-encoder rerank. On the Docker host use http://host.docker.internal:8080; on a shared Docker network use http://pattern-tei-rerank:8080.
{
"mcpServers": {
"architecture-pattern-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/olkowa/architecture-pattern-mcp:1.1.2",
"--add-host",
"host.docker.internal:host-gateway",
"--transport",
"stdio"
],
"env": {
"GENERATOR_API_KEY": "<YOUR_GENERATOR_API_KEY>",
"GENERATOR_PROVIDER": "<YOUR_GENERATOR_PROVIDER>",
"GENERATOR_MODEL": "<YOUR_GENERATOR_MODEL>",
"GENERATOR_BASE_URL": "<YOUR_GENERATOR_BASE_URL>",
"PATTERN_DIRECTORY": "<YOUR_PATTERN_DIRECTORY>",
"EMBEDDER_PROVIDER": "<YOUR_EMBEDDER_PROVIDER>",
"EMBEDDER_BASE_URL": "<YOUR_EMBEDDER_BASE_URL>",
"EMBEDDER_API_KEY": "<YOUR_EMBEDDER_API_KEY>",
"RERANKER_BASE_URL": "<YOUR_RERANKER_BASE_URL>"
}
}
}
}Related MCP servers

Agent Pattern MCP
MCP server that provides AI agent pattern expertise for designing agent systems

Put your node_modules on a diet - find unused dependencies, analyze health, and reduce size

ROOT MCP Server
ROOT-based MCP server exposing root_python and root_cpp tools (stdio transport).

Compile any codebase into a walkable graph and serve it over MCP. No model decides an edge.
View repository →
Consistency Calendar
Turn any goal with a deadline into a private, gamified, evidence-based execution calendar.
Search, scrape, and crawl the web for AI agents. Batch scraping and answers with citations.