DM

dkmaker/mcp-azure-tablestorage

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

6 stars 5 forks 品質 66 トレンド 14MIT

A MCP Server to query a Azure Table Storage for local development

概要

A TypeScript-based MCP server that enables interaction with Azure Table Storage directly through Cline. This tool allows you to query and manage data in Azure Storage Tables. - Query Azure Storage Tables with OData filter support - Get table schemas to understand data structure - List all tables in the storage account - Detailed error handling and response information - Simple configuration through connection string You can install the package globally via npm: Note: When using npx or global installation, you'll still need to configure the AZURE_STORAGE_CONNECTION_STRING environment variable. To use the Azure TableStore server with Cline, you need to add it to your MCP settings configuration. The configuration file is located at: Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json Add the following to your configuration: Replace C:/path/to/your/mcp-azure-tablestorage with the actual path where you cloned the repository.

README

以下は原文 README の抜粋です。原文を見る。

Azure TableStore MCP Server

A TypeScript-based MCP server that enables interaction with Azure Table Storage directly through Cline. This tool allows you to query and manage data in Azure Storage Tables.

Features

  • Query Azure Storage Tables with OData filter support
  • Get table schemas to understand data structure
  • List all tables in the storage account
  • Detailed error handling and response information
  • Simple configuration through connection string

Installation

Local Development Setup

  1. Clone the repository:
git clone https://github.com/dkmaker/mcp-azure-tablestorage.git
cd mcp-azure-tablestorage
  1. Install dependencies:
npm install
  1. Build the server:
npm run build

NPM Installation

You can install the package globally via npm:

npm install -g dkmaker-mcp-server-tablestore

Or run it directly with npx:

npx dkmaker-mcp-server-tablestore

Note: When using npx or global installation, you’ll still need to configure the AZURE_STORAGE_CONNECTION_STRING environment variable.

Installing in Cline

To use the Azure TableStore server with Cline, you need to add it to your MCP settings configuration. The configuration file is located at:

Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Add the following to your configuration:

{
  "mcpServers": {
    "tablestore": {
      "command": "node",
      "args": ["C:/path/to/your/mcp-azure-tablestorage/build/index.js"],
      "env": {
        "AZURE_STORAGE_CONNECTION_STRING": "your_connection_string_here"  // Required: Your Azure Storage connection string
      }
    }
  }
}

Replace C:/path/to/your/mcp-azure-tablestorage with the actual path where you cloned the repository.

Configuration

The server requires the following environment variable:

  • AZURE_STORAGE_CONNECTION_STRING: Your Azure Storage account connection string

Usage in Cline

⚠️ IMPORTANT SAFETY NOTE: The query_table tool returns a limited subset of results (default: 5 items) to protect the LLM’s context window. DO NOT increase this limit unless explicitly confirmed by the user, as larger result sets can overwhelm the context window.

Once installed, you can use the Azure TableStore server through Cline. Here are some examples:

  1. Querying a table:
Query the Users table where PartitionKey is 'ACTIVE'

Cline will use the query_table tool with:

{
  "tableName": "Users",
  "filter": "PartitionKey eq 'ACTIVE'",
  "limit": 5  // Optional: Defaults to 5 items. WARNING: Do not increase without user confirmation
}

The response will include:

GitHub で README 全文を見る

インストール

npx dkmaker-mcp-server-tablestore
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "tablestore": { "command": "node", "args": ["C:/path/to/your/mcp-azure-tablestorage/build/index.js"], "env": { "AZURE_STORAGE_CONNECTION_STRING": "your_connection_string_here" // Required: Your Azure Storage connection string } } } }