MCP directory
BP

Blockchain Pattern MCP

by github.com/olk · v1.2.0 · updated Nov 29, 2026

MCP server that provides blockchain 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/blockchain-pattern-mcp:1.2.0

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 blockchain pattern JSON files. The image bakes the 109-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 109-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.inter...

  • 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