【MCP Server】AlloyDB × Claude Desktop 連携ガイド | AI でデータを徹底活用
Model Context Protocol (MCP) is an emerging, open-source standard for connecting LLMs with external services and data sources. Through MCP Servers, AI clients can perform actions like opening Jira tickets, posting Slack messages, committing GitHub branches and more. With CData MCP Servers, these capabilities expand exponentially.
In this article, we guide the reader through installing the CData MCP Server for AlloyDB, configuring the connection to AlloyDB, and asking questions of the data in Claude Desktop.
Prerequisites
You need to download Claude Desktop (download) and create an account before continuing.
Overview
Here's a quick overview of the steps:
- Download and install the CData MCP Server for AlloyDB
- Configure the connection to AlloyDB
- Ask questions about the data in Claude Desktop
Step 1: Download and install the CData MCP Server
- To begin, navigate to https://www.cdata.com/solutions/mcp/connectors and download the CData MCP Server for AlloyDB.
- Find and double-click the installer to begin the installation.
- Follow the prompts to complete the installation.
When the installation is complete, you are ready to configure your MCP Server by connecting to AlloyDB.
Step 2: Configure the connection to AlloyDB
- After installation, the CData MCP Server configuration wizard should open automatically.
NOTE: If the wizard does not open automatically, search for "CData MCP Server" in the Windows search bar and double-click the application.

- Click the dropdown menu in MCP Configuration > Configuration Name and select "
"
- Name the configuration (e.g. "cdataalloydb") and click "OK."
NOTE: This name is used as the name for the MCP server and as the prefix for all of the MCP Server's tools.
Connecting to AlloyDB
AlloyDB 接続プロパティの取得・設定方法
AlloyDB に接続するには、次の接続プロパティが必要です。
- Server:AlloyDB データベースをホスティングしているサーバーのホスト名またはIP アドレス。
- Port(オプション):AlloyDB データベースをホスティングしているサーバーのポート。このプロパティはデフォルトで5432に設定されます。
- User:AlloyDB サーバーに認証する際に使われるユーザー。
- Password:AlloyDB サーバーに認証する際に使われるパスワード。
- Database(オプション):AlloyDB サーバーに接続する場合のデータベース。設定されていない場合は、ユーザーのデフォルトデータベースが使用されます。
AlloyDB への認証
標準認証
標準認証(事前に提供されたユーザーとパスワードの組み合わせを使用)は、デフォルトの認証形式です。標準認証で接続する場合は、これ以上のアクションは必要ありません。
pg_hba.conf 認証スキーム
CData 製品がサポートしている他の認証方法では、AlloyDB サーバー上のpg_hba.conf ファイルで有効化する必要があります。
AlloyDB サーバーでの認証の設定については、こちらを参照してください。
MD5
pg_hba.conf ファイルのauth-method をmd5 に設定すると、MD5 パスワード検証を使用して認証できます。
SASL
CData 製品は、SASL(特にSCRAM-SHA-256)でパスワードを検証することで認証できます。
この認証方法を使用するには、pg_hba.conf ファイルのauth-method をscram-sha-256 に設定します。
Kerberos
Kerberos 認証は、CData 製品が接続を試行している際にAlloyDB サーバーで開始されます。この認証方法を有効化するには、AlloyDB サーバーでKerberos を設定します。AlloyDB サーバーでのKerberos 認証の設定を完了したら、CData 製品からKerberos 認証を行う方法については、ヘルプドキュメントの「Kerberos の使用」セクションを参照してください。
Enter the appropriate connection properties in the configuration wizard.
- Click "Connect" to authenticate with AlloyDB.
- Finally, click "Save Configuration" to save the MCP server.
NOTE: This saves the configuration details to a separate file and updates the Claude Desktop configuration file (claude_desktop_config.json) to start the CData MCP Server when the Claude Desktop client starts.
With the CData MCP Server configured, you are ready to start asking questions of your live data from Claude.
Step 3: Ask AI for answers from live AlloyDB のデータ
Now that we have installed the CData MCP Server and configured a connection, we are ready to start with AlloyDB のデータ in Claude Desktop.
- Open Claude Desktop. It may take a moment for the MCP Servers to start, but you will see the list of servers and tools available in the Claude interface (look for the settings icon below the prompt bar).
You can individually enable and disable specific tools by clicking on the server name.
- Now that you have connected, you can ask Claude questions about the AlloyDB のデータ. For example: "Can you give me a quantitative analysis about my closed-won opportunities by industry?"
NOTE: Claude may need to explore the AlloyDB のデータ to make sense of it before it can begin answering questions of the data. The tabular model presented by CData alongside the database tools available simplify the data exploration and analysis for an LLM.
Connect your AI to your data today!
CData MCP Servers make it easier than ever for LLMs to work with live enterprise data. To explore the technology hands-on, download a free, 30-day trial or visit the CData Community to share insights, ask questions, and help shape the future of enterprise-ready AI.