Couchbase

Couchbase

Couchbase is a distributed document database with a powerful search engine and in-built operational and analytical capabilities.

1.5K

2

11 Tools

Signed
Built by Docker
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

Couchbase MCP Server

Couchbase is a distributed document database with a powerful search engine and in-built operational and analytical capabilities.

What is an MCP Server?

Characteristics

AttributeDetails
Docker Imagemcp/couchbase
AuthorCouchbase-Ecosystem
Repositoryhttps://github.com/Couchbase-Ecosystem/mcp-server-couchbase
Dockerfilehttps://github.com/Couchbase-Ecosystem/mcp-server-couchbase/blob/main/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/couchbase --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (11)

Tools provided by this ServerShort Description
delete_document_by_idDelete a document by its ID.
get_buckets_in_clusterGet the names of all the accessible buckets in the cluster.
get_collections_in_scopeGet the names of all collections in the given scope and bucket.
get_document_by_idGet a document by its ID from the specified scope and collection.
get_schema_for_collectionGet the schema for a collection in the specified scope.
get_scopes_and_collections_in_bucketGet the names of all scopes and collections in the bucket.
get_scopes_in_bucketGet the names of all scopes in the given bucket.
get_server_configuration_statusGet the server status and configuration without establishing connection.
run_sql_plus_plus_queryRun a SQL++ query on a scope and return the results as a list of JSON objects.
test_cluster_connectionTest the connection to Couchbase cluster and optionally to a bucket.
upsert_document_by_idInsert or update a document by its ID.

Tools Details

Tool: delete_document_by_id

Delete a document by its ID. Returns True on success, False on failure.

ParametersTypeDescription
bucket_namestring
collection_namestring
document_idstring
scope_namestring

Tool: get_buckets_in_cluster

Get the names of all the accessible buckets in the cluster.

Tool: get_collections_in_scope

Get the names of all collections in the given scope and bucket.

ParametersTypeDescription
bucket_namestring
scope_namestring

Tool: get_document_by_id

Get a document by its ID from the specified scope and collection. If the document is not found, it will raise an exception.

ParametersTypeDescription
bucket_namestring
collection_namestring
document_idstring
scope_namestring

Tool: get_schema_for_collection

Get the schema for a collection in the specified scope. Returns a dictionary with the collection name and the schema returned by running INFER query on the Couchbase collection.

ParametersTypeDescription
bucket_namestring
collection_namestring
scope_namestring

Tool: get_scopes_and_collections_in_bucket

Get the names of all scopes and collections in the bucket. Returns a dictionary with scope names as keys and lists of collection names as values.

ParametersTypeDescription
bucket_namestring

Tool: get_scopes_in_bucket

Get the names of all scopes in the given bucket.

ParametersTypeDescription
bucket_namestring

Tool: get_server_configuration_status

Get the server status and configuration without establishing connection. This tool can be used to verify if the server is running and check the configuration.

Tool: run_sql_plus_plus_query

Run a SQL++ query on a scope and return the results as a list of JSON objects.

ParametersTypeDescription
bucket_namestring
querystring
scope_namestring

Tool: test_cluster_connection

Test the connection to Couchbase cluster and optionally to a bucket. This tool verifies the connection to the Couchbase cluster and bucket by establishing the connection if it is not already established. If bucket name is not provided, it will not try to connect to the bucket specified in the MCP server settings. Returns connection status and basic cluster information.

ParametersTypeDescription
bucket_namestringoptional

Tool: upsert_document_by_id

Insert or update a document by its ID. Returns True on success, False on failure.

ParametersTypeDescription
bucket_namestring
collection_namestring
document_contentobject
document_idstring
scope_namestring

Use this MCP Server

{
  "mcpServers": {
    "couchbase": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CB_CONNECTION_STRING",
        "-e",
        "CB_USERNAME",
        "-e",
        "CB_BUCKET_NAME",
        "-e",
        "CB_MCP_READ_ONLY_QUERY_MODE",
        "-e",
        "CB_PASSWORD",
        "mcp/couchbase"
      ],
      "env": {
        "CB_CONNECTION_STRING": "couchbases://cb.example.com",
        "CB_USERNAME": "Administrator",
        "CB_BUCKET_NAME": "my-bucket",
        "CB_MCP_READ_ONLY_QUERY_MODE": "true",
        "CB_PASSWORD": "<CB_PASSWORD>"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers