Home / Databases / mcp-server-couchbase
mcp-server-couchbase
io.github.couchbase/mcp-server-couchbase · v1.1.0 stdio
Couchbase MCP servers: Operational and Operational Insights clusters.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #171 of 216 Databases servers on Socketlist by score, with 34 GitHub stars and a last code push today.
Install
uvx couchbase-mcp-server operationaluvx couchbase-mcp-server operational-insightsdocker run -i --rm docker.io/couchbase/mcp-server:1.1.0 operationaldocker run -i --rm docker.io/couchbase/mcp-server:1.1.0 operational-insightsAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect mcp-server-couchbase to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env CB_PASSWORD=<cb_password> --env CB_MCP_EMBEDDING_MODEL_API_KEY=<cb_mcp_embedding_model_api_key> --env CB_MCP_EMBEDDING_MODEL_AWS_ACCESS_KEY_ID=<cb_mcp_embedding_model_aws_access_key_id> --env CB_MCP_EMBEDDING_MODEL_AWS_SECRET_ACCESS_KEY=<cb_mcp_embedding_model_aws_secret_access_key> --transport stdio mcp-server-couchbase -- uvx couchbase-mcp-server operational.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"mcp-server-couchbase": {
"type": "stdio",
"command": "uvx",
"args": [
"couchbase-mcp-server",
"operational"
],
"env": {
"CB_PASSWORD": "${CB_PASSWORD}",
"CB_MCP_EMBEDDING_MODEL_API_KEY": "${CB_MCP_EMBEDDING_MODEL_API_KEY}",
"CB_MCP_EMBEDDING_MODEL_AWS_ACCESS_KEY_ID": "${CB_MCP_EMBEDDING_MODEL_AWS_ACCESS_KEY_ID}",
"CB_MCP_EMBEDDING_MODEL_AWS_SECRET_ACCESS_KEY": "${CB_MCP_EMBEDDING_MODEL_AWS_SECRET_ACCESS_KEY}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"mcp-server-couchbase": {
"command": "uvx",
"args": [
"couchbase-mcp-server",
"operational"
],
"env": {
"CB_PASSWORD": "${env:CB_PASSWORD}",
"CB_MCP_EMBEDDING_MODEL_API_KEY": "${env:CB_MCP_EMBEDDING_MODEL_API_KEY}",
"CB_MCP_EMBEDDING_MODEL_AWS_ACCESS_KEY_ID": "${env:CB_MCP_EMBEDDING_MODEL_AWS_ACCESS_KEY_ID}",
"CB_MCP_EMBEDDING_MODEL_AWS_SECRET_ACCESS_KEY": "${env:CB_MCP_EMBEDDING_MODEL_AWS_SECRET_ACCESS_KEY}"
}
}
}
}Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
CB_CONNECTION_STRING | No | No | Couchbase connection string. Required for connecting to the cluster. |
CB_USERNAME | No | No | Couchbase database username. Required for basic authentication. |
CB_PASSWORD | No | Yes | Couchbase database password. Required for basic authentication. |
CB_CA_CERT_PATH | No | No | Couchbase CA certificate path. Required for TLS authentication in non Capella clusters. |
CB_CLIENT_CERT_PATH | No | No | Couchbase client certificate path. Required for mTLS authentication. |
CB_CLIENT_KEY_PATH | No | No | Couchbase client key path. Required for mTLS authentication. |
CB_MCP_READ_ONLY_MODE | No | No | Couchbase read only mode. Set to true to disable write operations: KV document, scope/collection and index write tools are not loaded, and SQL++ queries that modify data are blocked. Set to false to a |
CB_MCP_TRANSPORT | No | No | Transport mode for the server (stdio, http or sse). Default is stdio. OAuth is only honored with http. |
CB_MCP_HOST | No | No | Host to run the MCP server on (default: 127.0.0.1). Used only for HTTP and SSE transport modes. |
CB_MCP_PORT | No | No | Port to run the MCP server on (default: 8000). Used only for HTTP and SSE transport modes. |
CB_MCP_WORKERS | No | No | Number of server worker processes (default: 1). Values above 1 use more CPU cores, require the http transport, run in stateless HTTP mode, and cannot be combined with CB_MCP_CONFIRMATION_REQUIRED_TOOL |
CB_MCP_STATELESS_HTTP | No | No | Handle each HTTP request without per-session state (default: true when workers > 1, otherwise false). Only honored with the http transport; cannot be combined with CB_MCP_CONFIRMATION_REQUIRED_TOOLS. |
38 more are listed in the registry entry; see the README for the full set.
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"uvx",
"couchbase-mcp-server",
"operational"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 40/40 | Last push today, 2 open issues | Strong |
| Security hygiene | 25/35 | Licence Apache-2.0, SECURITY.md missing, published package or hosted endpoint | Fair |
| Adoption | 8/25 | 34 GitHub stars | Weak |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Databases. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 34 |
| npm weekly downloads | - |
| Last push | today |
| Licence | Apache-2.0 |
| Open issues | 2 |
| SECURITY.md | No |
| Language | Python |
| Latest version published | 2026-11-02 |
Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.
Similar servers
levelrail
Score 85. Maintenance 40 of 40, security 25 of 35, adoption 20 of 25.io.github.glincker/levelrail
Self-hosted MCP server for your Levelrail deployments, servers, databases and domains.
Mnemosyne
Score 93. Maintenance 40 of 40, security 35 of 35, adoption 18 of 25.io.github.28naem-del/mnemosyne
Evidence-tracked local memory MCP server: one SQLite file; corrections retire dependent memories.
dbmcp
Score 90. Maintenance 40 of 40, security 35 of 35, adoption 15 of 25.ai.haymon/dbmcp
The privacy first MCP server for SQL databases.