接続の確立
The CData Code Assist MCP for Azure Table Storage defines each connection to Azure Table Storage 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/Azure Table Storage Data Provider/".
- On macOS, configuration files are stored in "~/Library/Application Support/CData/Azure Table Storage 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.
Connecting to Azure Table Storage APIs
The driver will connect to the Azure Table Storage account specified by Account. By default, connections to the Azure Table Storage are secured via SSL, though this can be controlled through UseSSL. The authentication method to the Azure Table Storage is determined by the AuthScheme property.
Authenticating to Azure Table Storage
The following mechanisms may be used to authenticate.
アクセスキー
Account プロパティをストレージアカウント名に設定し、ストレージアカウントのAccessKey を設定して接続します。これらの値を取得する方法は次のとおりです。
ストレージをBackend として使用している場合(デフォルト):
- [Azure]ポータルにログインし、左側の[サービス]メニューで[ストレージアカウント]を選択します。
- ストレージアカウントがない場合は、[追加]ボタンをクリックしてアカウントを作成します。
- 使用するストレージアカウントのリンクをクリックし、[設定]の[アクセスキー]を選択します。 [アクセスキー]ウィンドウには、ストレージアカウント名と本製品 で使用するキー(接続にはkey1またはkey2のどちらかを使用できます)が含まれています。これらのプロパティは、それぞれAccount とAccessKey本製品 接続プロパティにマッピングされます。
CosmosDB をBackend として使用している場合:
- [Azure]ポータルにログインし、左側の[サービス]メニューで[Azure Cosmos DB]を選択します。
- 使用するCosmos DB アカウントのリンクをクリックし、[設定]の[接続文字列]を選択します。 [接続文字列]ウィンドウには、Cosmos DB アカウント名と本製品 で使用する主キーが含まれています。これらのプロパティは、それぞれAccount とAccessKey本製品 接続プロパティにマッピングされます。
Shared Access Signature
Set Account to the storage account name and set the SharedAccessSignature to a valid signature of a resource to connect to. The SharedAccessSignature may be generated with a tool such as Azure Storage Explorer.
Typically when SharedAccessSignature is used, the specific table to work with must also be specified via the Tables connection property. If no table is specified, a table listing will be attemped, but may fail due to a lack of permissions.