MCP.so
登录

Couchbase MCP Server

@hummusonrails

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

hummusonrails

提交者

Ben Greenberg

关于 Couchbase MCP Server

暂无概览

#couchbase#mcp-server#database-query

Couchbase MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "couchbase": {
      "command": "npx",
      "args": [
        "couchbase-mcp-server"
      ],
      "env": {
        "COUCHBASE_CONNECTION_STRING": "couchbases://your-cluster.cloud.couchbase.com",
        "COUCHBASE_USERNAME": "my-username",
        "COUCHBASE_PASSWORD": "my-password"
      }
    }
  }
}

Couchbase MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Couchbase?

The Couchbase MCP server implements the Model Context Protocol (MCP) to bridge large language models with Couchbase Capella clusters. It allows MCP clients such as Claude Desktop to execute SQL++ queries using natural language commands.

How to use Couchbase?

Clone the repository, install dependencies with npm install, create a .env file with connection string, username, and password, then build with npm run build. Run the server using npx couchbase-mcp-server, which communicates over standard input/output (Stdio transport). Ensure your MCP client (e.g., Claude Desktop) is configured to connect to this local server.

Key features of Couchbase

  • Provides a single tool: query-couchbase.
  • Executes SQL++ queries on Couchbase Capella clusters.
  • Translates natural language requests into SQL++ statements.
  • Uses the Couchbase Node.js SDK for database operations.
  • Communicates via StdioServerTransport (stdin/stdout).

Use cases of Couchbase

  • Ask "Show me the results of SELECT * FROM my_bucket LIMIT 10".
  • Request "Execute this query: SELECT name, age FROM users WHERE active = true".
  • Get the latest documents from a bucket in plain English.
  • Summarize recent orders from an orders bucket.

常见问题

1

What transport does the Couchbase MCP server use?

It uses the StdioServerTransport, meaning it communicates over standard input/output.

2

What environment variables are required?

You need `COUCHBASE_CONNECTION_STRING`, `COUCHBASE_USERNAME`, and `COUCHBASE_PASSWORD`.

3

Does the server work with any Couchbase deployment?

It is designed for Couchbase Capella clusters; the connection string should point to a Capella endpoint.

4

How can I debug the server?

All logging messages are sent to stderr so that stdout contains only MCP protocol JSON; check stderr for connection and error details.

5

What tool does the server expose?

It exposes a single tool called `query-couchbase` that runs SQL++ queries against your Couchbase Capella cluster.

评论

其他 分类下的更多 MCP 服务器