Claude での使用
Claude Desktop connects to Square through the CData Code Assist MCP for Square using the Model Context Protocol (MCP).
When you launch Claude, it automatically detects MCP connections registered during setup. These connections are created and saved using the CData Code Assist MCP Configuration Tool, which is installed with the MCP server.
Each saved connection is recognized by Claude and can be referenced by name when asking questions.
Installing Claude
Claude Desktop は、Model Context Protocol(MCP)を使用して、サポートされているデータソースに対して自然言語クエリを実行できるスタンドアロンアプリケーションです。
MCP 経由でSquare に接続するには、はじめにClaude Desktop アプリケーションをインストールする必要があります。
最新バージョンは公式Claude ダウンロードページ からダウンロードできます。
Claude Desktop をインストールした後、CData MCP Driver for Square を使用してMCP 接続を設定します。
How Claude Uses the Server
When you ask Claude a question, it launches the corresponding MCP server connection, reads the available tool descriptions provided by the connector, and generates a secure query in the background.
There is no need to write SQL or teach Claude how to query your data. Each tool is self-describing, and Claude consumes those descriptions to determine how to retrieve the right information.
Example Prompts
After setup, you can ask Claude natural-language questions like:
- "Which payment methods are used most frequently by customers?"
- "How many payments were made using gift cards?"
- "Which orders included discounts or promotions in the last 30 days?"
- "Which items are most frequently ordered together?"
- "How many new customers were added this quarter?"
- "Which employees processed the most sales by volume?"
- "Are there any items with zero sales in the last 60 days?"
- "What are the best-selling items by revenue this month?"
- "What is the status of all unpaid invoices?"
- "Which Square locations have the highest and lowest daily sales averages?"
Claude securely executes the query using the MCP server and responds using the live results from Square.