
Couchbase Guru
io.github.Couchbase-Ecosystem由 GitHub 帳號 Couchbase-Ecosystem 發布v0.1.0更新於 Oct 24, 2026
Search the Couchbase documentation from your MCP client via a hosted documentation agent.
概覽
讓助理透過查詢託管的文件 RAG 代理,回答 Couchbase 產品、SDK 與教學相關問題。
- 可以做什麼
- 只提供一個工具 ask_couchbase_docs,會把問題轉送給託管的檢索增強文件代理,並回傳自然語言答案與文件來源連結。問題需要完整自足,因為後端不保留對話歷史。它只與文件代理通訊,不會接觸任何 Couchbase 叢集或你的資料。
- 適用情境
- 適合在 MCP 用戶端內直接查詢 Couchbase Server、SDK、服務或教學細節的情境。它著重文件查詢,而非查詢或管理你自己的 Couchbase 資料。
- 執行需求
- 需要 Python 3.10 或以上版本、已安裝 uv/uvx,以及 Claude Desktop、Cursor、VS Code、Windsurf 或 JetBrains IDE 等 MCP 用戶端。預設以 stdio 在本機執行;選用的 HTTP 模式使用 CB_MCP_HOST 與 CB_MCP_PORT。選用的 CB_AGENT_BASE_URL 可指向自架代理,否則使用公開代理。不需要 Couchbase 憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Couchbase Guru,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Couchbase Guru MCP Server
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.
[License] [Python 3.10+] [PyPI version]
No Couchbase cluster or credentials required. The server talks only to the documentation agent backend, not to your data.
Tool
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?").
Prerequisites
- Python 3.10 or higher.
- uv installed to run the server.
- An MCP client such as Claude Desktop, Cursor, or VS Code.
Configuration
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.
Running from PyPI
If you already have other MCP servers configured, add this entry to the existing
mcpServersobject.
Running from Source
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.
Options
All options are optional and can be set via CLI argument or environment variable:
Check the installed version with:
Self-hosting the documentation agent
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:
Rate limiting & privacy
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):
- stdio: a random id generated once and stored in a per-user file on your machine.
- HTTP: a salted, one-way hash of the connecting IP — the raw address is never sent.
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).
Client-specific configuration
Claude Desktop
- Edit the configuration file (see the MCP quickstart guide):
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the configuration to the
mcpServerssection. - Restart Claude Desktop.
Logs: ~/Library/Logs/Claude (macOS) or %APPDATA%\Claude\Logs (Windows).
Cursor
- In Cursor, go to Cursor Settings > Tools & Integrations > MCP Tools.
- Add the configuration manually, or use the one-click Install in Cursor link.
- Save, then refresh to confirm the server is enabled.
Logs: in the bottom panel, click Output and select Cursor MCP from the dropdown.
Windsurf Editor
- Open Command Palette > Windsurf MCP Configuration Panel (or Settings > Advanced > Cascade > Model Context Protocol (MCP) Servers).
- Click Add Server > Add custom server and add the configuration.
- Save, then refresh to confirm the server is enabled.
See the Windsurf MCP documentation for details.
VS Code
-
Create
.vscode/mcp.jsonin your workspace (or run MCP: Open User Configuration for a global config). -
VS Code uses
serversas the top-level key (notmcpServers): -
Once saved, use the inline action list to
Start/Stop/manage the server.
See the VS Code MCP docs for details.
JetBrains IDEs
- Install the AI Assistant or Junie plugin.
- Navigate to Settings > Tools > AI Assistant or Junie > MCP Server.
- Click "+", add the configuration, and click Save, then Apply.
Logs: Help > Show Log in Finder (Explorer) > mcp > couchbase-guru.
Streamable HTTP transport mode
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.
Docker
Build the image:
Run it (stdio by default; no credentials needed):
For HTTP transport, publish the port and set the transport:
Risks associated with LLMs
- The use of large language models and similar technology involves risks, including the potential for inaccurate or harmful outputs.
- Couchbase does not review or evaluate the quality or accuracy of such outputs, and such outputs may not reflect Couchbase's views.
- You are solely responsible for determining whether to use large language models and related technology, and for complying with any applicable license terms, terms of use, and your organization's policies.
Troubleshooting
- Confirm that
uv/uvxis installed and on yourPATH. You may need to provide an absolute path touv/uvxin thecommandfield. - If a search times out, the documentation backend may be busy — retry in a moment.
- To rule out the public backend, run against your own agent with
--agent-base-url. - If running from source after updating the repo, run
uv syncto refresh dependencies. - Check your MCP client's logs (locations above) for errors.
Testing
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.
👩💻 Contributing
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).
📢 Support Policy
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.
來源:README.md,提交 095d55f
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分