{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.olk/design-pattern-mcp","description":"MCP server that provides design-pattern selection expertise to AI coding agents","title":"Design Pattern MCP","repository":{"url":"https://github.com/olk/design-pattern-mcp","source":"github"},"version":"1.0.1","packages":[{"registryType":"oci","identifier":"docker.io/olkowa/design-pattern-mcp:1.0.1","runtimeHint":"docker","transport":{"type":"stdio"},"runtimeArguments":[{"description":"Makes a TEI embedder/reranker running on the Docker host reachable from the container (needed on Linux; already provided by Docker Desktop).","value":"host.docker.internal:host-gateway","type":"named","name":"--add-host"}],"packageArguments":[{"value":"--transport","type":"positional"},{"value":"stdio","type":"positional"}],"environmentVariables":[{"description":"API key for the generator LLM (LiteLLM provider).","isRequired":true,"format":"string","isSecret":true,"name":"DESIGN_PATTERN_GENERATOR_API_KEY"},{"description":"LiteLLM provider prefix, e.g. openai, anthropic, openrouter.","format":"string","default":"openai","name":"DESIGN_PATTERN_GENERATOR_PROVIDER"},{"description":"Model name, combined as <provider>/<model> via LiteLLM.","format":"string","default":"gpt-4o-mini","name":"DESIGN_PATTERN_GENERATOR_MODEL"},{"description":"OpenAI-compatible base URL (LiteLLM api_base).","format":"string","default":"https://api.openai.com/v1","name":"DESIGN_PATTERN_GENERATOR_BASE_URL"},{"description":"Directory with the catalog records (*.json main records plus per-language files). The image bakes the 438-record catalogue at /app/pattern.","format":"string","default":"/app/pattern","name":"DESIGN_PATTERN_PATTERN_DIRECTORY"},{"description":"Required: the dense retrieval leg embeds the 438-record catalogue during startup warmup and the server refuses to start when the endpoint is unreachable. TEI embeddings endpoint: on the Docker host use http://host.docker.internal:8080 (add --add-host=host.docker.internal:host-gateway on Linux); on a shared Docker network use http://design-pattern-tei-embed:8080.","isRequired":true,"format":"string","name":"DESIGN_PATTERN_EMBEDDER_BASE_URL"},{"description":"API key for the embedder. Keyless TEI accepts any non-empty value; use 'not-needed' there.","format":"string","isSecret":true,"default":"not-needed","name":"DESIGN_PATTERN_EMBEDDER_API_KEY"},{"description":"Required: retrieval runs a mandatory TEI cross-encoder rerank whenever the fused pool has more than one candidate. On the Docker host use http://host.docker.internal:8080; on a shared Docker network use http://design-pattern-tei-rerank:8080.","isRequired":true,"format":"string","name":"DESIGN_PATTERN_RERANKER_BASE_URL"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-10-10T13:54:12.279867Z","publishedAt":"2026-10-10T13:54:12.279867Z","updatedAt":"2026-10-10T13:54:12.279867Z","isLatest":true}}}
