MA

mashriram/azure_mcp_server

Developer tools

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

5 stars 7 forks 品質 64 トレンド 13MIT

An implementation of a Model Context Protocol server for interacting with Azure services. Currently supports Azure Blob Storage and Azure Cosmos DB (NoSQL API).

概要

An implementation of a Model Context Protocol server for interacting with Azure services. Currently supports Azure Blob Storage and Azure Cosmos DB (NoSQL API). All operations performed through this server are automatically logged and accessible via the audit://azure-operations resource endpoint. To install Azure MCP Server for Claude Desktop automatically via Smithery: 1. Clone this repository to your local machine. 2. Configure your Azure credentials. This server requires an Azure account with appropriate permissions for Blob Storage, Cosmos DB and App Configuration. We recommend using DefaultAzureCredential which attempts to authenticate via various methods in order. * Set the following environment variables: * AZURE_STORAGE_ACCOUNT_URL: The URL of your Azure Storage account (e.g., https:// .blob.core.windows.net). * AZURE_COSMOSDB_ENDPOINT: The endpoint URL for your Azure Cosmos DB account. * AZURE_COSMOSDB_KEY: The primary or secondary key for your Azure Cosmos DB account.

README

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

Azure MCP Server

An implementation of a Model Context Protocol server for interacting with Azure services. Currently supports Azure Blob Storage and Azure Cosmos DB (NoSQL API). All operations performed through this server are automatically logged and accessible via the audit://azure-operations resource endpoint.

Running Locally with the Claude Desktop App

Installing via Smithery

To install Azure MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mashriram/azure_mcp_server --client claude

Manual Installation

  1. Clone the Repository: Clone this repository to your local machine.

  2. Configure Azure Credentials: Configure your Azure credentials. This server requires an Azure account with appropriate permissions for Blob Storage, Cosmos DB and App Configuration. We recommend using DefaultAzureCredential which attempts to authenticate via various methods in order.

    • Environment Variables: Set the following environment variables:
      • AZURE_STORAGE_ACCOUNT_URL: The URL of your Azure Storage account (e.g., https://.blob.core.windows.net).
      • AZURE_COSMOSDB_ENDPOINT: The endpoint URL for your Azure Cosmos DB account.
      • AZURE_COSMOSDB_KEY: The primary or secondary key for your Azure Cosmos DB account. Important: Treat this key like a password and keep it secure.
      • AZURE_APP_CONFIGURATION_ENDPOINT: The URL of your Azure App Configuration instance.
    • Azure CLI: Alternatively, you can authenticate using the Azure CLI. Ensure you are logged in with an account that has the necessary permissions. This server uses DefaultAzureCredential so it will automatically authenticate with the Azure CLI credentials if environment variables are not specified. Use az login to log in.
  3. Configure Claude Desktop: Add the following configuration to your claude_desktop_config.json file:

    • macOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
    "mcpServers": {
      "mcp-server-azure": {
        "command": "uv",
        "args": [
          "--directory",
          "/path/to/repo/azure-mcp-server",
          "run",
          "azure-mcp-server"
        ]
      }
    }
    

    Replace /path/to/repo/azure-mcp-server with the actual path to the cloned repository.

GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @mashriram/azure_mcp_server --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

"mcpServers": { "mcp-server-azure": { "command": "uv", "args": [ "--directory", "/path/to/repo/azure-mcp-server", "run", "azure-mcp-server" ] } }