Skip to content
Cursor

Design Pattern MCP for Cursor

io.github.olk/design-pattern-mcp

MCP server that provides design-pattern selection expertise to AI coding agents

client:Cursor transport:stdio runtime:oci

Install Design Pattern MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "design-pattern-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/olkowa/design-pattern-mcp:1.2.0"
      ],
      "env": {
        "GENERATOR_API_KEY": "<GENERATOR_API_KEY>",
        "GENERATOR_PROVIDER": "<GENERATOR_PROVIDER>",
        "GENERATOR_MODEL": "<GENERATOR_MODEL>",
        "GENERATOR_BASE_URL": "<GENERATOR_BASE_URL>",
        "PATTERN_DIRECTORY": "<PATTERN_DIRECTORY>",
        "EMBEDDER_BASE_URL": "<EMBEDDER_BASE_URL>",
        "EMBEDDER_API_KEY": "<EMBEDDER_API_KEY>",
        "RERANKER_BASE_URL": "<RERANKER_BASE_URL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Design Pattern MCP in other clients