MCP.so
Sign In

Couchbase MCP Server for LLMs

@Aniket310101

Basic information

Category

Other

Transports

stdio

Author

Aniket310101

About Couchbase MCP Server for LLMs

A Model Context Protocol (MCP) server that enables LLMs to interact directly with Couchbase databases. Query buckets, execute N1QL queries, and manage data seamlessly through natural language.

Couchbase MCP Server for LLMs config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "MCP-Server-Couchbase": {
      "command": "npx",
      "args": [
        "-y",
        "@couchbasedatabase/couchbase-mcp"
      ]
    }
  }
}

Couchbase MCP Server for LLMs tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Couchbase MCP Server for LLMs?

A Model Context Protocol (MCP) server that enables LLMs to interact directly with Couchbase databases on Capella clusters. It allows querying buckets, performing CRUD operations, executing N1QL queries, and managing data through natural language.

How to use Couchbase MCP Server for LLMs?

Install via NPX (npx -y @couchbasedatabase/couchbase-mcp) or manually (clone, install, build). Configure Claude Desktop by adding the server with environment variables COUCHBASE_URL, COUCHBASE_BUCKET, COUCHBASE_USERNAME, and COUCHBASE_PASSWORD. Restart Claude Desktop to make the tools available in conversations.

Key features of Couchbase MCP Server for LLMs

  • Execute N1QL queries and list available buckets
  • Manage scopes (create, delete, list) within a bucket
  • Manage collections (create, drop) within a scope
  • Perform CRUD operations on documents (single and bulk)
  • Create and manage indexes (primary, secondary, list, drop)

Use cases of Couchbase MCP Server for LLMs

  • List all buckets in a Couchbase database using natural language
  • Create a new scope and collection (e.g., "users" and "profiles")
  • Query documents with conditions (e.g., "find users who signed up in the last 30 days")
  • Create documents by describing their content (e.g., "add a new user named John Doe")

Frequently asked questions

1

What prerequisites are required?

Node.js 16 or higher, a running Couchbase instance on Capella, and the Claude Desktop application.

2

How do I configure the server with my Couchbase instance?

Set the environment variables `COUCHBASE_URL` (connection string), `COUCHBASE_BUCKET` (bucket name), `COUCHBASE_USERNAME`, and `COUCHBASE_PASSWORD` in the Claude Desktop configuration file.

3

How do I verify the connection is working?

Restart Claude Desktop after configuration; the Couchbase MCP server tools should then appear in your conversations.

4

What security measures are recommended?

Always use environment variables for credentials, consider running behind a reverse proxy in production, and implement appropriate access controls and authentication.

5

What tools are available for document operations?

Tools include `createDocument`, `getDocument`, `updateDocument`, `deleteDocument`, and `bulkCreateDocuments`, all with optional `collection` and `scope` parameters.

Comments

More Other MCP servers