Skip to content
VS Code

wso2 docs mcp server for VS Code

io.github.iamvirul/wso2-docs-mcp-server

Semantic search over WSO2 docs (APIM, MI, Choreo, Ballerina) via RAG and pgvector.

client:VS Code transport:stdio runtime:npm

Install wso2 docs mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "database-url",
      "description": "DATABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embedding-provider",
      "description": "EMBEDDING_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "voyage-api-key",
      "description": "VOYAGE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "wso2-docs-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wso2-docs-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "${input:database-url}",
        "EMBEDDING_PROVIDER": "${input:embedding-provider}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "VOYAGE_API_KEY": "${input:voyage-api-key}"
      }
    }
  }
}

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

wso2 docs mcp server in other clients