mcp-server-couchbase

mcp-server-couchbase

0

The Couchbase MCP Server is a TypeScript and Bun-based implementation designed to facilitate interactions between large language models and Couchbase clusters. It offers comprehensive database and query management features, enhanced documentation capabilities, and robust security configurations. The project emphasizes performance and developer experience, leveraging strong typing and the Bun runtime.

Couchbase MCP Server (TypeScript/Bun Version)

An MCP server implementation of Couchbase that allows LLMs to directly interact with Couchbase clusters.

Features

  • Database Operations: Includes operations like retrieving, updating, deleting documents, and executing SQL++ queries.
  • Query Analysis: Provides detailed index information, query optimization suggestions, and system health metrics.
  • Documentation Management: Tools to list, read, create, and synchronize documentation.
  • Security Features: Read-only query mode to prevent modifications, secure document operations, and environment-based configuration.

Prerequisites

  • Bun 1.0 or higher, a running Couchbase cluster (Capella), and an MCP client.

Configuration

Clone the repository, install dependencies, build the TypeScript project, and configure environment variables for Couchbase connection.

Running the Server

Can be run in development or production mode, with options for different transport modes and configurations.

Risks

There are risks associated with using LLMs, such as inaccurate or harmful outputs.

TypeScript Implementation Notes

Benefits include type safety, better developer experience, and enhanced performance.

Troubleshooting

Instructions on verifying paths, credentials, and Bun installation.