Code Assist MCP for Twilio

Build 25.0.9540

接続の確立

The CData Code Assist MCP for Twilio defines each connection to Twilio as a named configuration that an MCP Client (such as Claude Desktop) can use when sending natural language queries.

You create and manage these configurations using the CData Code Assist MCP Configuration Tool. The tool automatically handles formatting, storage, and registration with MCP clients.

Understanding Connection Configurations

Each connection configuration is stored in a .mcp file. This file includes the details needed to initialize the connector when an MCP Client starts a session.

  • On Windows, configuration files are stored in "~/AppData/Roaming/CData/Twilio Data Provider/".
  • On macOS, configuration files are stored in "~/Library/Application Support/CData/Twilio Data Provider/".

The .mcp file is a text file that contains a list of connection properties and a timestamp. For example:

#Tue May 20 15:48:40 EDT 2025
AuthScheme=Basic
User=myUser
Password=myPassword
Security Token=myToken

The configuration tool handles these settings automatically. Each saved configuration enables an MCP client to launch a dedicated MCP server instance with the correct connector and options. Manual file editing is not required.

Twilio への接続

Auth Token またはAPI キーのいずれかを使用して、Twilio に認証できます。

Auth Token

Auth Token およびAccount SID を使用して、Twilio に認証できます。

Twilio Console Dashboard を開き、Account Info セクションに移動して、以下の接続プロパティを設定します。

  • AccountSIDAccount SID フィールドの値。
  • AuthTokenAuth Token フィールドの値。Show をクリックして非表示を解除します。

API キー

API キーを使用してTwilio に認証するには:

  1. Twilio Console Dashboard を開き、Account Info > API Keys > Go to API Keys をクリックします。API keys & tokens ページが開きます。
  2. Create API key をクリックします。Create New API Key メニューが開きます。
    • Friendly name を、トークンを参照するために使用する名前に設定します。
    • Region を、API キーを適用する地域に設定します。
    • Key type を目的のキータイプに設定します。以下のオプションがあります。
      • Standard - API Keys、Account Configuration、およびSubaccounts の管理を除く、すべてのTwilio API 機能へのアクセスを許可します。
      • Main - Standard キータイプと同じ機能へのアクセス権に加えて、API Keys、Account Configuration、およびSubaccounts を管理できる機能が追加されます。
      • Restricted - 標準のAPIKey が付与するTwilio API 機能のサブセットへの詳細なアクセスを許可します。このオプションを選択した場合、トークンが許可する権限を手動で指定する必要があります。
  3. Create をクリックします。Copy secret key ページが開きます。
  4. SID およびSecret フィールドの値を控えておきます。後者は1回しか表示されないため、このページを離れる前に必ずコピーしてください。
  5. 次の接続プロパティを設定します。
    • AuthSchemeAPIKey
    • AccountSID:Twilio Console Dashboard のAccount Info セクションにあるAccount SID フィールドの値。
    • APIKeySID:ステップ 4 でメモした、先ほど生成したAPI キーのSID。
    • APIKeySecret:ステップ 4 でメモした、先ほど生成したAPI キーのシークレット。

OAuth クライアント認証

OAuthClient を使用してTwilio に認証するには:

Twilio は、クライアントクレデンシャルグラントフローを使用したOAuth 認証をサポートしています。カスタムOAuth アプリケーションを作成し、必要なスコープを定義する必要があります。詳細については、カスタムOAuth アプリケーションの作成 を参照してください。

接続するには、以下のプロパティを設定します。

  • AuthScheme:クライアントクレデンシャルグラントタイプを使用して認証を行うには、OAuthClient に設定します。
  • OAuthClientId:アプリケーションを登録した際に割り当てられたクライアントID に設定します。
  • OAuthClientSecret:アプリケーションを登録した際に割り当てられたクライアントシークレットに設定します。

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9540