Skip to content
VS Code

Architecture Pattern MCP for VS Code

io.github.olk/architecture-pattern-mcp

MCP server that provides architecture design expertise to AI coding agents

client:VS Code transport:stdio runtime:oci

Install Architecture Pattern MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "generator-api-key",
      "description": "GENERATOR_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "generator-provider",
      "description": "GENERATOR_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "generator-model",
      "description": "GENERATOR_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "generator-base-url",
      "description": "GENERATOR_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pattern-directory",
      "description": "PATTERN_DIRECTORY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embedder-provider",
      "description": "EMBEDDER_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embedder-base-url",
      "description": "EMBEDDER_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embedder-api-key",
      "description": "EMBEDDER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "reranker-base-url",
      "description": "RERANKER_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "architecture-pattern-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/olkowa/architecture-pattern-mcp:1.1.2"
      ],
      "env": {
        "GENERATOR_API_KEY": "${input:generator-api-key}",
        "GENERATOR_PROVIDER": "${input:generator-provider}",
        "GENERATOR_MODEL": "${input:generator-model}",
        "GENERATOR_BASE_URL": "${input:generator-base-url}",
        "PATTERN_DIRECTORY": "${input:pattern-directory}",
        "EMBEDDER_PROVIDER": "${input:embedder-provider}",
        "EMBEDDER_BASE_URL": "${input:embedder-base-url}",
        "EMBEDDER_API_KEY": "${input:embedder-api-key}",
        "RERANKER_BASE_URL": "${input:reranker-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Architecture Pattern MCP in other clients