Couchbase · Official

Couchbase MCP server

Explore Couchbase buckets and schemas, run SQL++ and vector queries, and analyze query performance on Capella or self-managed clusters.

Verified publisher namespaceLocalDatabases
Registry name
io.github.couchbase/mcp-server-couchbase
Latest version
1.0.1 · updated 2026-08-13
Links
Vendor docsSource

Install

Commands are generated from the registry record. Remote servers usually ask you to sign in with OAuth on first use.

Step-by-step guides

Claude Code

claude mcp add couchbase -- uvx couchbase-mcp-server

Codex

# ~/.codex/config.toml
[mcp_servers.couchbase]
command = "uvx"
args = ["couchbase-mcp-server"]

Gemini CLI

gemini mcp add couchbase uvx couchbase-mcp-server

Cursor

{
  "mcpServers": {
    "couchbase": {
      "command": "uvx",
      "args": [
        "couchbase-mcp-server"
      ]
    }
  }
}

VS Code (GitHub Copilot)

code --add-mcp '{"name":"couchbase","command":"uvx","args":["couchbase-mcp-server"]}'

What the Couchbase MCP server can do

From Couchbase's own MCP documentation.

Authentication

Self-hosted server that connects with CB_CONNECTION_STRING plus CB_USERNAME and CB_PASSWORD (or a client certificate and key for mTLS). Optional OAuth 2.1 (JWT/JWKS) when run over Streamable HTTP for shared deployments.

Options

  • Read-only mode is on by default; set CB_MCP_READ_ONLY_MODE=false to allow writes and data-modifying SQL++
  • Disable tools or require user confirmation per tool
  • Transports: stdio (default), Streamable HTTP and SSE (CB_MCP_TRANSPORT)
  • Works with Couchbase Capella and self-managed clusters; a separate Operational Insights server is included
  • Install from PyPI (couchbase-mcp-server) or Docker

Tools

get_server_configuration_statustest_cluster_connectionget_cluster_health_and_servicesget_buckets_in_clusterget_scopes_and_collections_in_bucketget_schema_for_collectionget_document_by_idupsert_document_by_iddelete_document_by_idlist_indexesget_index_advisor_recommendationscreate_query_indexrun_sql_plus_plus_queryexplain_sql_plus_plus_queryrun_searchrun_vector_queryrun_vector_searchget_longest_running_queriesget_active_queries

Good to know

  • Some tools (cluster metrics, index stats, query vitals) work only on self-managed Couchbase Server 7.6+ and are not registered on Capella
  • Vector queries need Couchbase Server 8.0+ GSI vector indexes or 7.6+ Search, plus a configured embedding provider
  • The product collects usage data by default
  • Tool disabling guides the model; the Couchbase user's RBAC is the real security boundary
Couchbase MCP docs

Packages

  • pypi couchbase-mcp-server
  • oci docker.io/couchbase/mcp-server:1.0.1

More databases

Get the weekly agent stack update

New official MCP servers, spec changes and harness releases, checked against the source. One email a week, no fluff.

Work at Couchbase?

Feature Couchbase at the top of the databases category and the MCP directory from $49/month.

Feature this server

Add a "Listed on AgentAtlas" badge to the Couchbase README

Free. Shows readers where to find install commands for every client.

[![Listed on AgentAtlas](https://img.shields.io/badge/listed_on-AgentAtlas-111111)](https://agentatlas.dev/mcp/couchbase)

Reviewed Oct 19, 2026. Official means published under Couchbase's namespace in the MCP registry. It is not a security audit.