The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Couchbase Guru listing page.
An MCP server that lets LLMs search the Couchbase documentation from your MCP client. It exposes a single tool, ask_couchbase_docs, which forwards your question to a hosted retrieval-augmented (RAG) documentation agent and returns an answer with source links.
No Couchbase cluster or credentials required. The server talks only to the documentation agent backend, not to your data.
| Tool Name | Description |
|---|---|
ask_couchbase_docs | Answer a question about any Couchbase product, feature, SDK, service, tutorial, or example by searching the official documentation. Returns a natural-language answer followed by the documentation source URLs. |
Ask complete, self-contained questions — the backend has no conversation history, so include the product, version, and language where relevant (e.g. "How do I create a primary index with the Python SDK in Couchbase Server 7.6?").
The server can be run from the prebuilt PyPI package or from source with uv. It works with zero configuration — the public documentation agent is used by default.
If you already have other MCP servers configured, add this entry to the existing
mcpServersobject.
Clone the repository:
Then point your MCP client at it:
path/to/cloned/repo/couchbase-guru/should be the path to the cloned repository on your machine. Don't forget the trailing slash.
All options are optional and can be set via CLI argument or environment variable:
| CLI Argument | Environment Variable | Description | Default |
|---|---|---|---|
--transport | CB_MCP_TRANSPORT | Transport mode: stdio or http | stdio |
--host | CB_MCP_HOST | Host for HTTP transport mode | 127.0.0.1 |
--port | CB_MCP_PORT | Port for HTTP transport mode | 8000 |
--agent-base-url | CB_AGENT_BASE_URL | Base URL of the documentation agent backend. Set this to run against your own self-hosted agent; if unset, the public agent is used. | Public agent |
--agent-ip-salt | CB_AGENT_IP_SALT | Secret salt used to pseudonymize client IPs (HTTP transport). Set a shared value for consistent hashing across multiple instances; a local salt is generated when unset. | Auto-generated |
Check the installed version with:
By default the server uses a shared, public documentation agent, so most users need no setup. If you run your own agent backend, point the server at it:
The public agent applies fair-use rate limits. To support this, the server sends a pseudonymous device identifier to the backend (in the User-Agent header):
No question content or personal data is persisted by the MCP server itself. If you prefer not to share a rate-limit signal, self-host the agent (see above).
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonmcpServers section.Logs: ~/Library/Logs/Claude (macOS) or %APPDATA%\Claude\Logs (Windows).
Logs: in the bottom panel, click Output and select Cursor MCP from the dropdown.
See the Windsurf MCP documentation for details.
Create .vscode/mcp.json in your workspace (or run MCP: Open User Configuration for a global config).
VS Code uses servers as the top-level key (not mcpServers):
Once saved, use the inline action list to Start/Stop/manage the server.
See the VS Code MCP docs for details.
Logs: Help > Show Log in Finder (Explorer) > mcp > couchbase-guru.
The server can run in Streamable HTTP mode so multiple clients can connect to one instance. Check that your MCP client supports this transport first.
The server will be available at http://localhost:8000/mcp:
This mode does not include authorization support.
Build the image:
Run it (stdio by default; no credentials needed):
For HTTP transport, publish the port and set the transport:
uv/uvx is installed and on your PATH. You may need to provide an absolute path to uv/uvx in the command field.--agent-base-url.uv sync to refresh dependencies.Unit tests run offline (the backend is mocked):
Integration tests exercise the tool end-to-end against a live agent backend and are opt-in:
By default they use the public agent; set CB_AGENT_BASE_URL to target a different backend.
Contributions are welcome! To report a bug, request a feature, or contribute improvements, open a GitHub issue.
See CONTRIBUTING.md for developer setup (environment with uv, linting/formatting with Ruff, pre-commit hooks, and project structure).
We appreciate your interest in this project! It is Couchbase community-maintained, which means it is not officially supported by our support team. Our engineers monitor and maintain this repo and will try to resolve issues on a best-effort basis. Please keep all inquiries within GitHub.