What is the Agent Pattern MCP MCP server?
MCP server that provides AI agent pattern expertise for designing agent systems
How to install Agent 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 61-pattern catalog at /app/pattern.
EMBEDDER_PROVIDEREmbedding backend for pattern retrieval: tei, openai, ollama, vllm or hosted_vllm.
EMBEDDER_BASE_URLEmbedder endpoint. For TEI sidecars on the host use http://host.docker.internal:8080/v1 (add --add-host=host.docker.internal:host-gateway on Linux).
EMBEDDER_API_KEYsecretAPI key for the embedder. Required for startup even with keyless TEI; use 'not-needed' there.
RERANKER_BASE_URLTEI cross-encoder reranker endpoint used during pattern retrieval.
Related MCP servers

Architecture Pattern MCP
MCP server that provides architecture design expertise to AI coding agents

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.

Put your node_modules on a diet - find unused dependencies, analyze health, and reduce size
x402-gated weather and FX exchange rate data endpoints for AI agents.

hush
Team secrets your AI agent can use but never read: encrypted in the repo, value-blind tools.