mcp-server-couchbase
Verified Safeby Couchbase-Ecosystem
Overview
Enables LLMs to directly interact with Couchbase clusters for database operations and analytics via the Model Context Protocol (MCP).
Installation
docker run --rm -i -e CB_CONNECTION_STRING='<couchbase_connection_string>' -e CB_USERNAME='<database_user>' -e CB_PASSWORD='<database_password>' -e CB_MCP_TRANSPORT='<http|sse|stdio>' -e CB_MCP_READ_ONLY_QUERY_MODE='<true|false>' -e CB_MCP_PORT=9001 -p 9001:9001 mcp/couchbaseEnvironment Variables
- CB_CONNECTION_STRING
- CB_USERNAME
- CB_PASSWORD
- CB_CA_CERT_PATH
- CB_CLIENT_CERT_PATH
- CB_CLIENT_KEY_PATH
- CB_MCP_READ_ONLY_QUERY_MODE
- CB_MCP_TRANSPORT
- CB_MCP_HOST
- CB_MCP_PORT
Security Notes
The `run_sql_plus_plus_query` tool uses `lark_sqlpp` to parse and detect data or structure modification queries, enforcing a read-only mode by default. This is a strong safeguard against accidental LLM-driven modifications via SQL++. However, if `CB_MCP_READ_ONLY_QUERY_MODE` is explicitly set to `false`, LLMs can execute arbitrary SQL++ queries. Key-Value (KV) operations (upsert, delete) directly modify data and are always available. The documentation explicitly states that HTTP and SSE transport modes do not include authorization support, which is a critical security consideration. If these network transports are enabled and exposed, external authorization/authentication mechanisms must be implemented to prevent unauthorized database access.
Similar Servers
mcp-server-elasticsearch
Connects Model Context Protocol (MCP) clients to Elasticsearch for natural language interaction with indices and data.
airtable-mcp-server
Facilitate LLM interaction with Airtable databases for schema inspection and record manipulation.
mcp
Provides an official Model Context Protocol (MCP) server for Neo4j, enabling LLMs and other AI clients to interact with Neo4j databases through tool calls for schema introspection and Cypher query execution.
opensearch-mcp-server-py
Enables AI assistants and Large Language Models (LLMs) to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface for operations like searching, retrieving mappings, and managing shards.