mcp-server-couchbase
io.github.couchbase/mcp-server-couchbase
About mcp-server-couchbase
mcp-server-couchbase is an MCP server published by the GitHub account couchbase. Couchbase MCP Server - Enable AI agents to connect to and interact with Couchbase clusters.
It runs on your own machine: your AI client starts it from the PyPI package couchbase-mcp-server at version 1.0.1.
It asks for one secret: CB_PASSWORD. Give it a key with the least access that still works.
Version 1.0.1 was published on 13 August 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
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 allow disable write operations across both KV and query. KV write tools are not loaded and SQL++ queries that modify data are blocked. Set to false to allow data modification queries and tools. |
CB_MCP_TRANSPORT | No | No | Transport mode for the server (stdio, http or sse). Default is stdio |
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_DISABLED_TOOLS | No | No | Tools to disable. Accepts comma-separated tool names (e.g., 'tool_1,tool_2') or a file path containing one tool name per line. |
CB_MCP_CONFIRMATION_REQUIRED_TOOLS | No | No | Comma-separated tool names that require user confirmation before execution. Also accepts a file path containing one tool name per line. Requires the MCP client to support elicitation. |
CB_MCP_LOG_LEVEL | No | No | Logging level for the MCP server. One of off, debug, info, warning, error. Use 'off' to disable logging entirely. Invalid values fall back to info. Default is info. |
CB_MCP_LOG_SINKS | No | No | Comma-separated list of log destinations. Allowed values: stderr, file. Include 'file' to write per-level log files; include 'stderr' to write to the console. Default is stderr. |
CB_MCP_LOG_FILE | No | No | Base path for the per-level log files. One rotating file is written per level (e.g. mcp_server.info.log, mcp_server.error.log). Only used when 'file' is in CB_MCP_LOG_SINKS. Default is mcp_server.log. |
CB_MCP_LOG_ROTATION_MAX_SIZE_MB | No | No | Global maximum size in MB per-level log file before it rotates, inherited by every level unless overridden by a per-level CB_MCP_LOG_<LEVEL>_ROTATION_MAX_SIZE_MB. A value of 0 is invalid and falls back to the default (1 MB) with a startup warning. Default is 1 (1 MB). |
CB_MCP_LOG_MAX_BYTES | No | No | [DEPRECATED] Global rotation size in bytes; use CB_MCP_LOG_ROTATION_MAX_SIZE_MB (MB) instead. Still honored for backward compatibility but ignored when CB_MCP_LOG_ROTATION_MAX_SIZE_MB is also set. A value of 0 is invalid and falls back to the default with a startup warning. |
CB_MCP_LOG_ERROR_ROTATION_MAX_SIZE_MB | No | No | Rotation size in MB for the ERROR log file. Overrides CB_MCP_LOG_ROTATION_MAX_SIZE_MB for ERROR; inherits it when unset. 0 is invalid and falls back to the inherited global with a startup warning. |
CB_MCP_LOG_WARNING_ROTATION_MAX_SIZE_MB | No | No | Rotation size in MB for the WARNING log file. Overrides CB_MCP_LOG_ROTATION_MAX_SIZE_MB for WARNING; inherits it when unset. 0 is invalid and falls back to the inherited global with a startup warning. |
CB_MCP_LOG_INFO_ROTATION_MAX_SIZE_MB | No | No | Rotation size in MB for the INFO log file. Overrides CB_MCP_LOG_ROTATION_MAX_SIZE_MB for INFO; inherits it when unset. 0 is invalid and falls back to the inherited global with a startup warning. |
CB_MCP_LOG_DEBUG_ROTATION_MAX_SIZE_MB | No | No | Rotation size in MB for the DEBUG log file. Overrides CB_MCP_LOG_ROTATION_MAX_SIZE_MB for DEBUG; inherits it when unset. 0 is invalid and falls back to the inherited global with a startup warning. |
CB_MCP_LOG_RETENTION_BACKUP_COUNT | No | No | Number of rotated backup files kept per-level log file, excluding the live file. Applies to every level unless overridden per level. Set to 0 to keep only the live file (still capped by the rotation size). Default is 1. |
CB_MCP_LOG_ERROR_RETENTION_BACKUP_COUNT | No | No | Rotated backups kept for the ERROR log file. Overrides CB_MCP_LOG_RETENTION_BACKUP_COUNT for ERROR; inherits it when unset. |
CB_MCP_LOG_WARNING_RETENTION_BACKUP_COUNT | No | No | Rotated backups kept for the WARNING log file. Overrides CB_MCP_LOG_RETENTION_BACKUP_COUNT for WARNING; inherits it when unset. |
CB_MCP_LOG_INFO_RETENTION_BACKUP_COUNT | No | No | Rotated backups kept for the INFO log file. Overrides CB_MCP_LOG_RETENTION_BACKUP_COUNT for INFO; inherits it when unset. |
CB_MCP_LOG_DEBUG_RETENTION_BACKUP_COUNT | No | No | Rotated backups kept for the DEBUG log file. Overrides CB_MCP_LOG_RETENTION_BACKUP_COUNT for DEBUG; inherits it when unset. |
CB_MCP_OAUTH_JWT_JWKS_URI | No | No | JWKS endpoint of the identity provider used to verify bearer JWT signatures. Required to enable OAuth, along with CB_MCP_OAUTH_JWT_ISSUER and CB_MCP_OAUTH_JWT_AUDIENCE. Only honored when CB_MCP_TRANSPORT=http. |
CB_MCP_OAUTH_JWT_ISSUER | No | No | Expected JWT 'iss' claim value. Also advertised as the authorization server in Protected Resource Metadata when CB_MCP_OAUTH_MCP_BASE_URL is set. Required to enable OAuth. |
CB_MCP_OAUTH_JWT_AUDIENCE | No | No | Expected JWT 'aud' claim value. Required to enable OAuth. |
CB_MCP_OAUTH_JWT_ALGORITHM | No | No | JWT signing algorithm. One of RS256/384/512, ES256/384/512, PS256/384/512. Default is RS256. |
CB_MCP_OAUTH_MCP_BASE_URL | No | No | Public base URL of this MCP server. When set, the server publishes RFC 9728 Protected Resource Metadata at <base_url>/.well-known/oauth-protected-resource/mcp so PRM-aware clients can discover the authorization server. Optional. |
CB_MCP_OAUTH_SCOPE_READ_LABEL | No | No | Override the OAuth scope label the server treats as 'read' access; advertised in PRM and matched against the token's scope/scp claim. Use when your IdP cannot emit the canonical form. Default is couchbase-mcp:read. |
CB_MCP_OAUTH_SCOPE_WRITE_LABEL | No | No | Override the OAuth scope label the server treats as 'write' access; same semantics as CB_MCP_OAUTH_SCOPE_READ_LABEL. Default is couchbase-mcp:write. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/couchbase/mcp-server-couchbase |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: CB_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account couchbase |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | couchbase-mcp-server 1.0.1 has no setup.py; nothing runs at install |
| Code red flags | Pass | Read 114 files in couchbase-mcp-server 1.0.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 114 files, including comments and the README |
Popularity & health: 77 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
34 forks, 241 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.couchbase/mcp-server-couchbase |
|---|---|
| Publisher | GitHub account couchbase |
| How the name is verified | Name verified via GitHub account couchbase. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | pypi couchbase-mcp-server 1.0.1 (stdio)oci docker.io/couchbase/mcp-server:1.0.1 no version given (stdio) |
| Version | 1.0.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/couchbase/mcp-server-couchbase |
| Website | https://mcp-server.couchbase.com/ |
| Category | Other (assigned by keyword rule, not by hand) |
Related servers in Other
- ble-mcp-server7/7Let AI agents interact with real BLE hardware — scan, connect,…
- serial-mcp-server7/7Let AI agents interact with serial devices — list ports, connect,…
- agent-discover6/7Find, install and enable MCP servers mid-session on any host, with…
- iris7/7Microsoft 365 mail MCP: reads mail, drafts into Outlook; sending is…
- Soleil Clusters8/8Read and build visual moodboards, shot lists and lookbooks from an…
- beans-mcp7/7Interact with the Beans CLI issue tracker agentically