Home / Databases / mcp-server-couchbase

mcp-server-couchbase

io.github.couchbase/mcp-server-couchbase · v1.1.0 stdio

Score 73. Maintenance 40 of 40, security 25 of 35, adoption 8 of 25.

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 operational
uvx couchbase-mcp-server operational-insights
docker run -i --rm docker.io/couchbase/mcp-server:1.1.0 operational
docker run -i --rm docker.io/couchbase/mcp-server:1.1.0 operational-insights

Assembled 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 variableRequiredSecretPublisher's note
CB_CONNECTION_STRINGNoNoCouchbase connection string. Required for connecting to the cluster.
CB_USERNAMENoNoCouchbase database username. Required for basic authentication.
CB_PASSWORDNoYesCouchbase database password. Required for basic authentication.
CB_CA_CERT_PATHNoNoCouchbase CA certificate path. Required for TLS authentication in non Capella clusters.
CB_CLIENT_CERT_PATHNoNoCouchbase client certificate path. Required for mTLS authentication.
CB_CLIENT_KEY_PATHNoNoCouchbase client key path. Required for mTLS authentication.
CB_MCP_READ_ONLY_MODENoNoCouchbase 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_TRANSPORTNoNoTransport mode for the server (stdio, http or sse). Default is stdio. OAuth is only honored with http.
CB_MCP_HOSTNoNoHost to run the MCP server on (default: 127.0.0.1). Used only for HTTP and SSE transport modes.
CB_MCP_PORTNoNoPort to run the MCP server on (default: 8000). Used only for HTTP and SSE transport modes.
CB_MCP_WORKERSNoNoNumber 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_HTTPNoNoHandle 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

PartPointsWhat we observedResult
Maintenance40/40Last push today, 2 open issuesStrong
Security hygiene25/35Licence Apache-2.0, SECURITY.md missing, published package or hosted endpointFair
Adoption8/2534 GitHub starsWeak

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.

Get The Plug Weekly
GitHub stars34
npm weekly downloads-
Last pushtoday
LicenceApache-2.0
Open issues2
SECURITY.mdNo
LanguagePython
Latest version published2026-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.

★ 261↓ 1.8k/wkApache-2.0pushed 1d ago Databases

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.

★ 162↓ 774/wkMITpushed today Databases

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.

★ 33↓ 570/wkMITpushed today Databases