MCP directory
AP

Architecture Pattern MCP

by github.com/olk · v1.1.5 · updated Oct 9, 2026

MCP server that provides architecture design expertise to AI coding agents

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm docker.io/olkowa/architecture-pattern-mcp:1.1.3

Environment variables

  • GENERATOR_API_KEYrequiredsecret

    API key for the generator LLM (LiteLLM provider).

  • GENERATOR_PROVIDER

    LiteLLM provider prefix, e.g. openai, anthropic, openrouter, minimax.

  • GENERATOR_MODEL

    Model name, combined as <provider>/<model> via LiteLLM.

  • GENERATOR_BASE_URL

    OpenAI-compatible base URL (LiteLLM api_base).

  • PATTERN_DIRECTORY

    Directory with *-pattern.json files. The image bakes the 40-pattern catalogue at /app/pattern.

  • EMBEDDER_PROVIDER

    Embedding backend for pattern retrieval: tei, openai, ollama, vllm or hosted_vllm.

  • EMBEDDER_BASE_URLrequired

    Required: 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.intern...

  • EMBEDDER_API_KEYsecret

    API key for the embedder. Keyless TEI accepts any non-empty value; use 'not-needed' there.

  • RERANKER_BASE_URLrequired

    Required: 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.

More from github.com/olk

More MCP servers