Couchbase
JSON →Interact with the data stored in Couchbase clusters using natural language.
Install
uvx couchbase-mcp-server Tools · 16
- get_server_configuration_status Get the status of the MCP server
- test_cluster_connection Check the cluster credentials by connecting to the cluster
- get_cluster_health_and_services Get cluster health status and list of all running services
- get_buckets_in_cluster Get a list of all the buckets in the cluster
- get_scopes_in_bucket Get a list of all the scopes in the specified bucket
- get_collections_in_scope Get a list of all the collections in a specified scope and bucket. Note that this tool requires the cluster to have Query service.
- get_scopes_and_collections_in_bucket Get a list of all the scopes and collections in the specified bucket
- get_schema_for_collection Get the structure for a collection
- get_document_by_id Get a document by ID from a specified scope and collection
- upsert_document_by_id Upsert a document by ID to a specified scope and collection. Disabled by default when CB_MCP_READ_ONLY_MODE=true.
- insert_document_by_id Insert a new document by ID (fails if document exists). Disabled by default when CB_MCP_READ_ONLY_MODE=true.
- replace_document_by_id Replace an existing document by ID (fails if document doesn't exist). Disabled by default when CB_MCP_READ_ONLY_MODE=true.
- delete_document_by_id Delete a document by ID from a specified scope and collection. Disabled by default when CB_MCP_READ_ONLY_MODE=true.
- list_indexes List all indexes in the cluster with their definitions, with optional filtering by bucket, scope, collection and index name. Set return_raw_index_stats=true to return the unprocessed index information.
- get_index_advisor_recommendations Get index recommendations from Couchbase Index Advisor for a given SQL++ query to optimize query performance
- run_sql_plus_plus_query Run a SQL++ query on a specified scope. Queries are automatically scoped to the specified scope.
Environment variables
CB_MCP_HOSTCB_MCP_PORT
★ 32 GitHub stars