MCP server that provides AI agent pattern expertise to AI coding agents
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
MCP server that provides AI agent pattern expertise: generate, analyze, and evaluate agent system designs against a curated catalog of 61 agent patterns (ReAct, supervisor-worker, reflexion, self-RAG, LLMCompiler, and more).
Ask your agent (or call the tool directly):
Use design_agent_system to design a research assistant that combines web search with sandboxed code execution for multi-hop questions. Domain: tool-use-tasks.
The tool runs the full pipeline β analyze (pattern retrieval + requirements-weighted scoring) β generate (LLM structured output) β evaluate (metric scoring) β refine (bounded retry loop) β and returns a complete AgentSystemDesign with agents, relationships, tool contracts, and quality scores.
List all agent patterns in the tool_use category.
Get the full JSON of the react pattern.
submit_agent_design_job + get_agent_design_statusONLY for clients with short request timeouts (Cursor, Claude Desktop, TS-SDK). The default is design_agent_system with heartbeat defence. submit_agent_design_job returns a job_id immediately; poll get_agent_design_status until done:
submit_agent_design_job returns a job_id in milliseconds. The pipeline runs in a background task. Poll get_agent_design_status(job_id) every 10β30 seconds. When status is completed, the full design is in the result field. Cancellation is best-effort β the job exits at the next pipeline stage boundary.
This is the only fix that works for TS-SDK clients (Claude Desktop, Cursor).
The job store is SQLite at ~/.config/agent-pattern-mcp/jobs.db (configurable via AGENT_PATTERN_JOBS_DB).
| Tool | Description |
|---|---|
design_agent_system | Full pipeline: analyze β generate β evaluate β refine. Returns complete design + evaluation + quality metrics. Long-running (5β10 min); use this unless your client has a short request timeout. |
analyze_agent_system | Analyse requirements and derive agent pattern recommendations using pattern matching and domain similarity. Long-running (LLM call). Not idempotent. |
generate_agent_system | Generate an agent system design from requirements, topology, domain, and selected patterns. Long-running (LLM call). Not idempotent. |
evaluate_agent_system | Evaluate an agent system design against specified criteria and domain using pattern benchmarking. Long-running (LLM call). Not idempotent. |
list_agent_patterns | List all 61 patterns; filter by category and/or domain |
get_agent_pattern | Get full JSON for a specific pattern by name |
submit_agent_design_job | Start a background design job and return a job_id immediately. ONLY for clients with short request timeouts (Cursor, Claude Desktop, TS-SDK). For other clients use design_agent_system. Poll get_agent_design_status every 10β30 s. |
get_agent_design_status | Poll job status. Returns the current status, progress message, and the full design output when completed. |
cancel_agent_design | Cancel a running job (best-effort; takes effect at the next pipeline stage boundary; may take up to one LLM call). |
The server also exposes four user-invoked workflow prompts (slash commands in clients that support them):
| Prompt | Args | What it does |
|---|---|---|
design_agent_system_workflow | requirements* | Full analyze β generate β evaluate pipeline |
explore_pattern_catalog | domain, category | Live catalog discovery with embedded pattern names |
evaluate_my_agent_system | focus | Guide evaluation criteria + finding prioritisation |
compare_agent_topologies | topology_a*, topology_b*, requirements* | Two designs side-by-side; ~2Γ token cost |
* = required argument
In tool-only clients, the prompts are also exposed as tools via FastMCP's PromptsAsTools transform β you can call them like any other tool.
AI coding agents (Claude Code, OpenCode, Codex CLI) can load a SKILL that teaches them how and when to use this server's tools β including timeout-aware entry-point selection, output interpretation, and the full workflow recipe.
The SKILL lives in skills/agent-pattern-mcp/:
For agents that support file-based skills (OpenCode, Claude Code): point the agent's skill loader at skills/agent-pattern-mcp/SKILL.md. The skill tells the agent:
requirements, domain, and topology as separate structured argumentsfinal_quality_score, attempts > 1, and evaluation.recommendationsdesign_agent_system directly61 agent patterns across 10 categories (reasoning, tool_use, planning, reflection, research_synthesis, multi_agent, memory, retrieval, safety_control, observability) and 8 topologies (single-agent-loop, hierarchical, pipeline, plan-execute, parallel-fan-out, evaluator-loop, graph-orchestrated, swarm).
Each pattern/*-pattern.json file contains: name, category, topology, context, benefits, tradeoffs, quality_attributes (7 dims, 1-10), suitable_domains, unsuitable_domains, use_cases, avoid_when, component_types, technology_stack, anti_patterns, migration_from, migration_to, design_principles, best_practices, references.
Pull olkowa/agent-pattern-mcp without building. The hub compose starts the
MCP server only; start the TEI sidecars (olkowa/pattern-tei-embed,
olkowa/pattern-tei-rerank) separately and wire them via EMBEDDER_BASE_URL
/ RERANKER_BASE_URL:
See config/config.json for the full annotated example. Key sections:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agent-pattern-mcp)<a href="https://allmcps.com/mcp/agent-pattern-mcp"><img src="https://allmcps.com/api/badge/agent-pattern-mcp?style=directory" alt="Agent Pattern MCP on AllMCPs" /></a>