Agent Pattern MCP

io.github.olk/agent-pattern-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "agent-pattern-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/olkowa/agent-pattern-mcp:1.0.4"
      ],
      "env": {
        "GENERATOR_API_KEY": "<your GENERATOR_API_KEY>",
        "GENERATOR_PROVIDER": "openai",
        "GENERATOR_MODEL": "gpt-4o-mini",
        "PATTERN_DIRECTORY": "/app/pattern",
        "EMBEDDER_PROVIDER": "tei",
        "EMBEDDER_API_KEY": "<your EMBEDDER_API_KEY>"
      }
    }
  }
}
Environment variables
  • 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.
  • 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_API_KEYsecretAPI key for the embedder. Required for startup even with keyless TEI; use 'not-needed' there.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.4
Registry
active
Published
10/9/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Agent Pattern MCP is listed here — it’s also the link we check for a free listing.

Agent Pattern MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-olk-agent-pattern-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Agent Pattern MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Agent Pattern MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-olk-agent-pattern-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.