Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Wso2 Docs MCP Server

by iamvirulversion 1.3.14i★ –iRuns on your computer
Registry nameio.github.iamvirul/wso2-docs-mcp-server

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Search & AI memory
  • You need to fill in: DATABASE_URL, OPENAI_API_KEY, GEMINI_API_KEY, VOYAGE_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: DATABASE_URL, EMBEDDING_PROVIDER, OPENAI_API_KEY, GEMINI_API_KEY, VOYAGE_API_KEY

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "wso2-docs": {
      "command": "npx",
      "args": [
        "-y",
        "wso2-docs-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "VOYAGE_API_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add wso2-docs --env DATABASE_URL=your-value --env EMBEDDING_PROVIDER=your-value --env OPENAI_API_KEY=your-value --env GEMINI_API_KEY=your-value --env VOYAGE_API_KEY=your-value -- npx -y wso2-docs-mcp-server

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "wso2-docs": {
      "command": "npx",
      "args": [
        "-y",
        "wso2-docs-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "VOYAGE_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "wso2-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wso2-docs-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "VOYAGE_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • DATABASE_URL required env
    PostgreSQL connection string for pgvector (e.g. postgresql://user:pass@localhost:5432/wso2docs)
  • EMBEDDING_PROVIDER env
    Embedding backend to use: ollama (default, local), openai, gemini, or voyage
  • OPENAI_API_KEY secret env
    Required only when EMBEDDING_PROVIDER=openai
  • GEMINI_API_KEY secret env
    Required only when EMBEDDING_PROVIDER=gemini
  • VOYAGE_API_KEY secret env
    Required only when EMBEDDING_PROVIDER=voyage

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account iamvirul, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Search & AI memoryi

  • More stars than 0% of the other 5654 servers in this category
  • Published to the registry more recently than 85% of the other 5654 servers in this category
  • Basic checks equal to or better than 100% of the other 5654 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Wso2 Docs MCP Server safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DATABASE_URL, OPENAI_API_KEY, GEMINI_API_KEY, VOYAGE_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.3.14) reached the registry 7 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Context7, Codebase Memory, Exa

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Context7

by upstash

Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.

Computer or cloud★ 64,224MITUpdated yesterday
Install

Codebase Memory

by DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

Runs on your computer★ 48,148MITUpdated 21 days ago
Install

Exa

by exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Runs in the cloud★ 5,213MITUpdated 2 months ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

WSO2 Docs MCP Server

"This is an unofficial community project. Not affiliated with or endorsed by WSO2."

A production-ready Model Context Protocol (MCP) server that provides AI assistants (Claude Desktop, Claude Code, Cursor, VS Code) with semantic search over WSO2 documentation via Retrieval-Augmented Generation (RAG).

Under the hood, it uses a blazing-fast dual-ingestion engine:

  • GitHub Native: Fetches raw Markdown directly from WSO2's public GitHub repositories via the Git Trees API (avoids web-scraping noise and rate limits)
  • Web Crawl Fallback: For products without dedicated GitHub docs repos (like the WSO2 Library)

Architecture

Documentation Sources

ProductIDURL
API Managerapimhttps://apim.docs.wso2.com
Micro Integratormihttps://mi.docs.wso2.com/en/4.4.0
Ballerina Integratorbihttps://bi.docs.wso2.com
Choreochoreohttps://wso2.com/choreo/docs
Identity Serverishttps://is.docs.wso2.com/en/latest
Ballerinaballerinahttps://ballerina.io/learn
WSO2 Librarylibraryhttps://wso2.com/library

Prerequisites

  • Node.js ≥ 20
  • Docker (for pgvector)
  • Embeddings - no API key required by default:
  • [Ollama](https://ollama.com) (recommended) - runs locally, model auto-downloaded on first run
  • If Ollama is not running, the server automatically falls back to HuggingFace ONNX (in-process, also downloads automatically)
  • Cloud providers are also supported: OpenAI, Google Gemini, Voyage AI

Quick Start

Choose the setup path that fits your use case:

  • [Install from npm](#install-from-npm) - simplest, no cloning required
  • [Clone and build](#clone-and-build) - for development or contributions

Install from npm

Install the package globally to get the wso2-docs-mcp-server, wso2-docs-crawl, and wso2-docs-migrate commands available system-wide:

npm install -g wso2-docs-mcp-server

Prefer no global install? You can use npx wso2-docs-mcp-server, npx wso2-docs-crawl, and npx wso2-docs-migrate in every step below - just replace the bare command with its npx equivalent.

1. Start pgvector

Download the docker-compose.yml and start the database:

curl -O https://raw.githubusercontent.com/iamvirul/wso2-docs-mcp-server/main/docker-compose.yml

docker compose up -d

2. Start Ollama (optional but recommended)

Install Ollama and pull the default embedding model:

ollama pull nomic-embed-text

ollama serve

No Ollama? Skip this step. The server automatically falls back to HuggingFace ONNX - model downloads on first use with no extra setup.

3. Run database migration
DATABASE_URL="postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs" \

wso2-docs-migrate

Run migration again whenever you change EMBEDDING_DIMENSIONS (i.e. switch embedding provider). The script detects and handles dimension changes automatically.

4. Index WSO2 documentation
# Index all products (first run downloads the embedding model automatically)

DATABASE_URL="postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs" \ wso2-docs-crawl

Index a single product (faster, great for testing)

DATABASE_URL="postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs" \ wso2-docs-crawl --product ballerina --limit 20

Force re-index even unchanged pages

DATABASE_URL="postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs" \ wso2-docs-crawl --force

Available product IDs: apim, mi, bi, choreo, is, ballerina, library

5. Configure your AI client

The MCP server is launched on demand by your AI client - no background process needed.

Claude Desktop - edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "wso2-docs": { "command": "wso2-docs-mcp-server", "env": { "DATABASE_URL": "postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs", "EMBEDDING_PROVIDER": "ollama" } } } }

Claude Code - run once in your terminal:

claude mcp add wso2-docs \

--transport stdio \ -e DATABASE_URL="postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs" \ -e EMBEDDING_PROVIDER="ollama" \ -- wso2-docs-mcp-server

Verify

claude mcp list

Cursor - create .cursor/mcp.json in your project root:

{

"mcpServers": { "wso2-docs": { "command": "wso2-docs-mcp-server", "env": { "DATABASE_URL": "postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs", "EMBEDDING_PROVIDER": "ollama" } } } }

VS Code - create .vscode/mcp.json:

{

"servers": { "wso2-docs": { "type": "stdio", "command": "wso2-docs-mcp-server", "env": { "DATABASE_URL": "postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs", "EMBEDDING_PROVIDER": "ollama" } } } }

Using `npx` instead of global install? Replace "command": "wso2-docs-mcp-server" with "command": "npx" and add "args": ["-y", "wso2-docs-mcp-server"].

Cloud embedding provider? Add the key to env, e.g. "EMBEDDING_PROVIDER": "openai", "OPENAI_API_KEY": "sk-...".


Clone and build
1. Clone and install
git clone https://github.com/iamvirul/wso2-docs-mcp-server.git

cd wso2-docs-mcp-server npm install

2. Start Ollama (optional but recommended)

Install Ollama and start it:

ollama serve

No Ollama? Skip this step. The server detects Ollama is not running and automatically falls back to HuggingFace ONNX inference - the model downloads on first use with no extra setup.

3. Configure environment
cp .env.example .env

Defaults work out of the box with Ollama.

Only edit if using a cloud provider (OpenAI / Gemini / Voyage).

4. Start pgvector
docker compose up -d

pgAdmin available at http://localhost:5050 (admin@wso2mcp.local / admin)

5. Run database migration
npm run db:migrate

Note: Run migration again whenever you change EMBEDDING_DIMENSIONS (i.e. switch embedding provider). The script detects and handles dimension changes automatically.

6. Index documentation
# Index all products

On first run the embedding model is downloaded automatically (Ollama or HuggingFace)

npm run crawl

Index a single product (faster, great for testing)

npm run crawl -- --product ballerina --limit 20

Force re-index even unchanged pages

npm run crawl -- --force

7. Build and start the MCP server
npm run build

npm start

For development (no build step):

npm run dev
8. Configure your AI client

Replace /ABSOLUTE/PATH/TO/wso2-docs-mcp-server with your actual clone path.

Claude Desktop - edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "wso2-docs": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/wso2-docs-mcp-server/dist/src/index.js"], "env": { "DATABASE_URL": "postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs", "EMBEDDING_PROVIDER": "ollama" } } } }

Claude Code:

claude mcp add wso2-docs \

--transport stdio \ -e DATABASE_URL="postgresql://wso2mcp:wso2mcp@localhost:5432/wso2docs" \ -e EMBEDDING_PROVIDER="ollama" \ -- node "/ABSOLUTE/PATH/TO/wso2-docs-mcp-server/dist/src/index.js"

Verify

claude mcp list

See config-examples/claude_code.sh for a convenience script.

Cursor - create .cursor/mcp.json - see config-examples/cursor_mcp.json.

VS Code - create .vscode/mcp.json - see config-examples/vscode_mcp.json.


MCP Tools

ToolDescription
search_wso2_docsSemantic search across all products. Optional product and limit filters.
get_wso2_guideSearch within a specific product (apim, mi, bi, choreo, is, ballerina, library).
explain_wso2_conceptBroad concept search across all products, returns 8 top results.
list_wso2_productsReturns all supported products with IDs and base URLs.
Example response
[

{ "title": "Deploying WSO2 API Manager", "snippet": "WSO2 API Manager can be deployed in various topologies…", "source_url": "https://apim.docs.wso2.com/en/latest/install-and-setup/...", "product": "apim", "section": "Deployment Patterns", "score": 0.8712 } ]


Local Embeddings

The default EMBEDDING_PROVIDER=ollama runs entirely on your machine with no API key. The startup sequence is:

Is Ollama running?

├── Yes → Is model present? │ ├── Yes → Ready (instant) │ └── No → Pull via Ollama (streamed, runs once) └── No → Download ONNX model from HuggingFace Hub (~250 MB, cached after first run) and run inference in-process via @huggingface/transformers

Both paths use nomic-embed-text / Xenova/nomic-embed-text-v1 by default and produce identical 768-dim vectors, so you can switch between them without re-indexing.

Hardware acceleration (HuggingFace ONNX fallback)

When Ollama is not available, the server auto-detects the best compute backend:

MachineDetectionONNX dtypeBatch sizeThroughput
Apple Silicon (M1/M2/M3/M4)process.arch === 'arm64'q8 INT832~9 ms/chunk
NVIDIA GPUnvidia-smi probefp3264GPU-dependent
All othersfallbackq8 INT816~10 ms/chunk

Why `q8` on Apple Silicon instead of CoreML/Metal? CoreML compiles Metal shaders on first use (~20 min cold-start). For the typical chunk sizes produced by this server (6–20 chunks per page), the CPU↔GPU transfer overhead eliminates any inference gain. INT8 quantized inference on ARM NEON SIMD is consistently ~100× faster than fp32 CPU with zero cold-start cost.

Benchmark (Apple M-chip, `Xenova/nomic-embed-text-v1`):

fp32 CPU (before): ~1,000 ms/chunk   (68 chunks ≈ 68 s of embedding)

q8 ARM NEON: ~9 ms/chunk (68 chunks ≈ 0.6 s of embedding) ← ~100× speedup

Note: For small crawls (≤ 10 pages) total wall-clock time is dominated by network I/O

(HTTPS fetches to docs sites), so the end-to-end improvement is modest. The embedding

speedup becomes significant at scale - crawling 500+ pages where embedding previously

accounted for hours of runtime. For best crawl performance, run Ollama (ollama serve)

which parallelises inference natively and has no per-chunk overhead.


Environment Variables

Core
VariableDefaultDescription
DATABASE_URL-PostgreSQL connection string (required)
EMBEDDING_PROVIDERollamaollama \openai \gemini \voyage
EMBEDDING_DIMENSIONS768Must match model output dimensions
CRAWL_CONCURRENCY5Concurrent HTTP requests during crawl
CHUNK_SIZE800Approximate tokens per chunk
CHUNK_OVERLAP100Overlap tokens between chunks
CACHE_TTL_SECONDS3600In-memory query cache TTL
TOP_K_RESULTS10Default search result count
Ollama (default)
VariableDefaultDescription
OLLAMA_BASE_URLhttp://localhost:11434Ollama server URL
OLLAMA_EMBEDDING_MODELnomic-embed-textModel pulled and used via Ollama
HUGGINGFACE_EMBEDDING_MODELXenova/nomic-embed-text-v1ONNX fallback when Ollama is not running
Cloud providers
VariableDefaultDescription

Only the beginning is shown; read the rest in the repo

Ask PopNx