Couchbase MCP Server
Couchbase MCP サーバー
モデルコンテキストプロトコル(MCP)は、大規模言語モデル(LLM)と外部システム間の相互作用を処理するためのプロトコルです。このリポジトリは、Couchbase Node.js SDKを使用してCouchbase MCPサーバーを実装し、MCPクライアント(Claude Desktopなど)がCouchbase Capellaクラスタ上で自然言語クエリを実行できるようにします。
このサーバーでは次のようなコマンドを使用できます:
Show me the results of SELECT * FROM my_bucket LIMIT 10Execute this query: SELECT name, age FROM users WHERE active = trueGet me the latest 5 documents from my_bucketSummarize the latest 5 orders from the orders bucket for me
例
以下のスクリーンショットは、Claude DesktopクライアントでMCPサーバーが動作している様子を示しています。ユーザーは平易な英語で一般的なリクエストを発行し、MCPサーバーはそれをSQL++クエリに変換してCouchbase Capellaクラスターに対して実行します。そして、その結果はユーザーに読みやすい形式で返されます。
Related MCP server: Couchbase MCP Server
設定
リポジトリをクローンし、依存関係をインストールします。
git clone git@github.com:hummusonrails/couchbase-mcp-server.git
cd couchbase-mcp-server
npm installルート ディレクトリに
.envファイルを作成し、Couchbase 接続文字列、ユーザー名、パスワードを追加します。
COUCHBASE_CONNECTION_STRING=couchbases://your-cluster.cloud.couchbase.com
COUCHBASE_USERNAME=your_username
COUCHBASE_PASSWORD=your_password必要な環境変数については、 .env.sampleファイルを参照してください。
プロジェクトをビルドします。
npm run buildStdio トランスポートを使用してサーバーを実行します。
npx couchbase-mcp-server[!NOTE] MCPサーバーはStdioServerTransportを使用するため、標準入出力を介して通信します。MCPクライアント(例:Claude Desktop)がローカルMCPサーバーを使用するように設定されていることを確認してください。Claude Desktopのドキュメントに従って、MCPクライアントをローカルサーバーに接続するための設定を行ってください。
特徴
Couchbase クエリツール
ツール名:
query-couchbase説明: Couchbase Capella クラスターで SQL++ クエリ ステートメントを実行します。
使用方法: 呼び出されると、サーバーは Couchbase Node.js SDK を使用して、提供された SQL++ クエリを実行し、結果を返します。
現像
プロジェクトをローカルで作業するには:
依存関係をインストールします:
npm install
npm run buildMCP クライアントを使用してサーバーをテストします。
接続するように構成された MCP クライアント (例: Claude Desktop) を起動し、サンプル クエリを使用してツールを呼び出します。
デバッグ
stdout MCPプロトコルのJSONのみが含まれるように、すべてのログメッセージはstderrに送信されます。詳細な接続メッセージとエラーメッセージについては、ログをご確認ください。
貢献
貢献を歓迎します!プルリクエストを送信したり、提案をIssueで公開したりしてお気軽にご連絡ください。変更を加える際は、プロジェクトのコードスタイルに従ってください。
ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
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
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables large language models to interact directly with Couchbase databases through natural language, supporting operations like querying buckets, performing CRUD operations, and executing N1QL queries.207MIT
- PythonApache 2.0
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI clients to interact with BlazeSQL's Natural Language Query API, allowing natural language queries against SQL databases.1
- 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
GibsonAI MCP server: manage your databases with natural language
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/hummusonrails/couchbase-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server