Skip to main content
Glama

Couchbase MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

test_cluster_connection

Test the connection to Couchbase cluster and bucket. This tool verifies the connection to the Couchbase cluster and bucket by establishing the connection if it is not already established. Returns connection status and basic cluster information.

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.

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.

upsert_document_by_id

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

delete_document_by_id

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

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.

run_sql_plus_plus_query

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Couchbase-Ecosystem/mcp-server-couchbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server