【MCP Server】XML × Claude Desktop 連携ガイド | AI でデータを徹底活用

加藤龍彦
加藤龍彦
デジタルマーケティング
CData XML MCP Server をインストールして、XML のデータをAI モデルのClaude から分析する方法を解説します。使い慣れた業務システムのデータを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 XML, configuring the connection to XML, 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:

  1. Download and install the CData MCP Server for XML
  2. Configure the connection to XML
  3. Ask questions about the data in Claude Desktop

Step 1: Download and install the CData MCP Server

  1. To begin, navigate to https://www.cdata.com/solutions/mcp/connectors and download the CData MCP Server for XML.
  2. Find and double-click the installer to begin the installation.
  3. Follow the prompts to complete the installation.

When the installation is complete, you are ready to configure your MCP Server by connecting to XML.

Step 2: Configure the connection to XML

  1. 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.

  2. Click the dropdown menu in MCP Configuration > Configuration Name and select ""
  3. Name the configuration (e.g. "cdataxml") 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.

  4. Connecting to XML

    データソースを認証するには、データプロバイダーのドキュメント内の「はじめに」セクションをご覧ください。 データプロバイダーはXML API を双方向データベーステーブルとしてモデル化し、XML ファイルをread-only ビュー(ローカルファイル、人気のクラウドサービスに格納されたファイル、およびFTP サーバー)としてモデル化します。 HTTP Basic、Digest、NTLM、OAuth、およびFTP を含む主な認証スキームはサポートされています。認証のガイドについては、データプロバイダーのドキュメント内の「はじめに」セクションをご覧ください。

    URI と認証値を設定した後で、DataModel を設定することでデータの構造によりよくマッチするようデータの抽象化を調整できます。

    DataModel プロパティはデータがどのようにテーブルとして抽象化されるかを制御するプロパティであり、次の基本的な設定を調整します。

    • Document(デフォルト):XML データのトップレベルのドキュメントビューをモデル化します。データプロバイダーは入れ子化した要素をデータの集約値として返します。
    • FlattenedDocuments:入れ子化したドキュメントとその親を結合して単一のテーブルに入力します。
    • Relational:個別の関連テーブルを階層化されたデータから返します。テーブルは主キーと、親ドキュメントにリンクする外部キーを含みます。

    リレーショナルな抽象化の設定についての詳細は、「XML データのモデリング」セクションを参照してください。次の例で使用されているサンプルデータも存在します。 このデータには、人名、その人たちが所有する車、車に施されたさまざまなメンテナンスに関する情報が含まれます。

    Enter the appropriate connection properties in the configuration wizard.

  5. Click "Connect" to authenticate with XML.
  6. 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 XML のデータ

Now that we have installed the CData MCP Server and configured a connection, we are ready to start with XML のデータ in Claude Desktop.

  1. 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.

  2. Now that you have connected, you can ask Claude questions about the XML のデータ. For example: "Can you give me a quantitative analysis about my closed-won opportunities by industry?"

    NOTE: Claude may need to explore the XML のデータ 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.

はじめる準備はできましたか?

XML MCP Server の無料トライアルをダウンロード:

 ダウンロード

詳細:

XML Documents Icon XML MCP Server お問い合わせ

The CData MCP Server for XML Documents allows you to connect with live XML Documents data, directly from LLMs that support MCP.