Couchbase MCP Server for LLMs
🗄️ Couchbase MCP Server für LLMs
Ein Model Context Protocol (MCP)-Server, der LLMs die direkte Interaktion mit Couchbase-Datenbanken auf Capella-Clustern ermöglicht. Abfragen von Buckets, Ausführen von CRUD-Operationen, Ausführen von N1QL-Abfragen und nahtlose Datenverwaltung mithilfe natürlicher Sprache.
🚀 Schnellstart
Voraussetzungen
Node.js 16 oder höher
Eine laufende Couchbase-Instanz auf Capella
Claude Desktop-Anwendung
Installation
Der Couchbase MCP-Server kann auf zwei Arten installiert werden:
Option 1: Verwenden von NPX (empfohlen)
Der schnellste Einstieg erfolgt über NPX:
npx -y @couchbasedatabase/couchbase-mcpOption 2: Manuelle Installation
Wenn Sie das Projekt lieber manuell klonen und ausführen möchten:
# Clone the repository
git clone https://github.com/Aniket310101/MCP-Server-Couchbase.git
cd MCP-Server-Couchbase
# Install dependencies
npm install
# Build the project
npm run buildClaude Desktop Integration
Fügen Sie diese Konfiguration zu Ihrer Claude Desktop-Konfigurationsdatei hinzu:
Windows :
%APPDATA%/Claude/claude_desktop_config.json
MacOS :~/Library/Application Support/Claude/claude_desktop_config.json
Option 1: Mit Paketinstallation
{
"mcpServers": {
"couchbase": {
"command": "npx",
"args": ["-y", "@couchbasedatabase/couchbase-mcp"],
"env": {
"COUCHBASE_URL": "<COUCHBASE CONNECTION STRING>",
"COUCHBASE_BUCKET": "<BUCKET NAME>",
"COUCHBASE_USERNAME": "<COUCHBASE USERNAME>",
"COUCHBASE_PASSWORD": "<COUCHBASE PASSWORD>"
}
}
}
}Option 2: Mit manueller Installation
{
"mcpServers": {
"couchbase": {
"command": "node",
"args": ["path/to/MCP-Server-Couchbase/dist/index.js"],
"env": {
"COUCHBASE_URL": "<COUCHBASE CONNECTION STRING>",
"COUCHBASE_BUCKET": "<BUCKET NAME>",
"COUCHBASE_USERNAME": "<COUCHBASE USERNAME>",
"COUCHBASE_PASSWORD": "<COUCHBASE PASSWORD>"
}
}
}
}Verbindung überprüfen
Starten Sie Claude Desktop neu
Die Couchbase MCP-Servertools sollten jetzt in Ihren Konversationen verfügbar sein
Related MCP server: Couchbase MCP Server
📝 Verfügbare Tools
Grundlegende Operationen
query: Führen Sie N1QL-Abfragen auslistBuckets: Listet verfügbare Buckets auf
Umfangsmanagement
createScope: Erstellen Sie einen neuen Bereich in einem BucketdeleteScope: Löscht einen vorhandenen BereichlistScopes: Listet alle Bereiche in einem Bucket auf
Sammlungsverwaltung
createCollection: Erstellen Sie eine neue Sammlung in einem BereichdropCollection: Löschen Sie eine Sammlung aus einem Bereich
Dokumentvorgänge
createDocument: Erstellt ein neues DokumentgetDocument: Ruft ein Dokument anhand der ID abupdateDocument: Aktualisieren Sie ein vorhandenes DokumentdeleteDocument: Löscht ein Dokument anhand der IDbulkCreateDocuments: Mehrere Dokumente gleichzeitig erstellen
Indexverwaltung
createIndex: Erstellen Sie einen neuen Index für angegebene FeldercreatePrimaryIndex: Erstellen Sie einen Primärindex für eine SammlunglistIndexes: Listet alle Indizes in einem Bucket aufdropIndex: Löscht einen vorhandenen Index
Jedes Tool unterstützt optionale collection und scope zum Ansprechen bestimmter Datencontainer.
🔒 Sicherheitsüberlegungen
Verwenden Sie für vertrauliche Anmeldeinformationen immer Umgebungsvariablen
Erwägen Sie, den Server für den Produktionseinsatz hinter einem Reverse-Proxy auszuführen
Implementieren Sie bei Bedarf entsprechende Zugriffskontrollen und Authentifizierung
📚 Beispiele
Hier sind einige Beispiele für Interaktionen mit Claude über den MCP-Server:
Alle Buckets auflisten:
Could you show me all available buckets in the database?Erstellen Sie einen Bereich und eine Sammlung:
Create a new scope called "users" and a collection called "profiles" in itDokumente abfragen:
Find all users who signed up in the last 30 daysErstellen Sie ein Dokument:
Create a new user document with name "John Doe" and email "john@example.com"
🤝 Beitrag
Beiträge sind willkommen! Senden Sie gerne einen Pull Request.
🛡️ Sicherheitsbewertungsabzeichen (MseeP.ai)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Flicense-qualityDmaintenanceA Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.- Alicense-qualityDmaintenanceA server that enables natural language interactions with Couchbase databases through the Model Context Protocol, allowing users to perform SQL++ queries on Couchbase Capella clusters using conversational commands.1MIT
- PythonApache 2.0
- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables large language models to access database metadata and perform cross-engine data querying across diverse database ecosystems.1652Apache 2.0
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
GibsonAI MCP server: manage your databases with natural language
A Model Context Protocol server for Wix AI tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Aniket310101/MCP-Server-Couchbase'
If you have feedback or need assistance with the MCP directory API, please join our Discord server