Azure Table Storage MCP server

Enable efficient storage, retrieval, and querying of structured data in the cloud for large-scale applications.
Back to servers
Setup instructions
Provider
Christia Pedersen
Release date
Dec 20, 2024
Language
TypeScript
Stats
6 stars

The MCP Azure TableStore server enables interaction with Azure Table Storage directly through Cline, allowing you to query and manage data in Azure Storage Tables with features like OData filter support, table schema retrieval, and table listing capabilities.

Installation Options

NPM Installation (Recommended)

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

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

Setting Up in Cline

To use the Azure TableStore server with Cline, add it to your MCP settings configuration:

  1. Locate your configuration file:

    • Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
  2. Add the following 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"
      }
    }
  }
}

Configuration

The server requires the following environment variable:

  • AZURE_STORAGE_CONNECTION_STRING: Your Azure Storage account connection string

Usage in Cline

Querying Tables

To query a table, you can use natural language in Cline:

Query the Users table where PartitionKey is 'ACTIVE'

This will invoke the query_table tool with:

{
  "tableName": "Users",
  "filter": "PartitionKey eq 'ACTIVE'",
  "limit": 5
}

Safety Note

The query_table tool returns a limited subset of results (default: 5 items) to protect the LLM's context window. The response includes:

  • Total number of matching items
  • Limited subset of items
  • Applied limit value

Getting Table Schema

To understand a table's structure:

Show me the schema for the Orders table

This will use the get_table_schema tool with:

{
  "tableName": "Orders"
}

Listing Tables

To view all tables in your storage account:

List all tables in the storage account

This will use the list_tables tool with an empty JSON object:

{}

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "tablestore" '{"command":"node","args":["C:/path/to/your/mcp-azure-tablestorage/build/index.js"],"env":{"AZURE_STORAGE_CONNECTION_STRING":"your_connection_string_here"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

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

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

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

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later