AIエージェントをAzureサービスに接続し、チャットクライアントからクラウドリソースの調査や管理を可能にします。
別名 microsoft/mcp, azure, @azure/mcp, msmcp-azure
- スター
- 3,855
- ツール
- —
- ダウンロード数(30日間)
- 704,899
- 最新バージョン
- 3.0.0-beta.48
- 最終コミット
- 2026年11月14日
- ライセンス
- MIT
Azure MCPとは
AzureはMCPサーバーです。 AIエージェントをAzureサービスに接続し、チャットクライアントからクラウドリソースの調査や管理を可能にします。.
プロジェクトのREADMEから生成された概要
Azure MCP server について
Azure MCP Serverは、クラウドリソースを管理する開発者が、AIエージェントをクラウドインフラストラクチャに接続することを可能にします。Model Context Protocolを通じて、チャットクライアントがさまざまなAzureサービスを調査および管理する方法を提供します。このサーバーは、スタンドアロンのツールとして、またはVS CodeのGitHub Copilot for Azure拡張機能と統合して使用できます。
ユーザーは、VS Code、Visual Studio 2022、Visual Studio 2026、IntelliJ IDEA、Eclipseを含む複数の開発環境内で、このサーバーをローカルにデプロイできます。書き込み操作を防止する読み取り専用モードや、サービスごとにツールをグループ化する名前空間モードなど、異なる動作モードをサポートしています。動作させるには、サーバーを起動する前にAzureへの認証が必要です。設定オプションにより、エージェントに公開する特定のサービスをフィルタリングしたり、ストレージなどの特定の名前空間に対してSSRF保護を無効にしたりすることも可能です。
できること
- 1エージェントの権限を制限するAIがクラウド環境に対して変更を加えないよう、サーバーを構成します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Azure MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにAzure MCPをインストール
$ claude mcp add azure -- npx -y @azure/mcpCursorにAzure MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp"
]
}
}
}VS CodeにAzure MCPをインストール
.vscode/mcp.json
{
"servers": {
"azure": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@azure/mcp"
]
}
}
}VS Code CLIにAzure MCPをインストール
$ code --add-mcp '{"name":"azure","type":"stdio","command":"npx","args":["-y","@azure/mcp"]}'Claude DesktopにAzure MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp"
]
}
}
}CodexにAzure MCPをインストール
$ codex mcp add azure -- npx -y @azure/mcpCodex config.tomlにAzure MCPをインストール
~/.codex/config.toml
[mcp_servers.azure] command = "npx" args = ["-y", "@azure/mcp"]
Gemini CLIにAzure MCPをインストール
$ gemini mcp add -s user azure npx -- -y @azure/mcpGemini settings.jsonにAzure MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp"
]
}
}
}設定
AZURE_CLIENT_IDAZURE_CLIENT_SECRETAZURE_MCP_COLLECT_TELEMETRYAZURE_MCP_COLLECT_TELEMETRY_MICROSOFTAZURE_TENANT_ID
| 名前 | 説明 | 種類 |
|---|---|---|
| AZURE_CLIENT_ID | — | |
| AZURE_CLIENT_SECRET | — | |
| AZURE_MCP_COLLECT_TELEMETRY | — | |
| AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT | — | |
| AZURE_TENANT_ID | — |
自動チェック
実行日 2026年11月11日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし合格
README
GitHubで見るAzure MCP Server
[!NOTE] Azure MCP Server 2.0 is now generally available.
All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Table of Contents
Overview
Azure MCP Server supercharges your agents with Azure context across numerous Azure services.
Local Setup
Install Azure MCP Server using either an IDE extension or package manager. Choose one method below.
[!IMPORTANT] Authenticate to Azure before running the Azure MCP server. See the Authentication guide for authentication methods and instructions.
Developer Tools
Start using Azure MCP with your favorite IDE. We recommend VS Code:
VS Code (Recommended)
Compatible with both the Stable and Insiders builds of VS Code.

- Install the GitHub Copilot Chat extension.
- Install the Azure MCP Server extension.
- Sign in to Azure (Command Palette:
Azure: Sign In).
Visual Studio 2026
- Download Visual Studio 2026 or Visual Studio 2026 Insiders and install using the Visual Studio Installer.
- If Visual Studio 2026 is already installed, open the Visual Studio Installer and select the Modify button, which displays the available workloads.
- On the Workloads tab, select Azure and AI development and select GitHub Copilot.
- Click install while downloading to complete the installation.
For more information, visit Install GitHub Copilot for Azure in Visual Studio 2026
Visual Studio 2022
From within Visual Studio 2022 install GitHub Copilot for Azure (VS 2022):
- Go to
Extensions | Manage Extensions... - Switch to the
Browsetab inExtension Manager - Search for
Github Copilot for Azure - Click
Install
IntelliJ IDEA
- Install either the IntelliJ IDEA Ultimate or IntelliJ IDEA Community edition.
- Install the GitHub Copilot plugin.
- Install the Azure Toolkit for Intellij plugin.
Eclipse IDE
- Install Eclipse IDE.
- Install the GitHub Copilot plugin.
- Install the Azure Toolkit for Eclipse plugin.
Google Antigravity
-
Install and open Google Antigravity.
-
In the editor's agent side panel, select ... > MCP Servers > Manage MCP Servers > View raw config.
-
Add Azure MCP Server to the
mcpServersobject inmcp_config.json:{ "mcpServers": { "azure-mcp-server": { "command": "npx", "args": ["-y", "@azure/mcp@latest", "server", "start"] } } }
Antigravity stores global configuration at ~/.gemini/config/mcp_config.json. For workspace-only configuration, use .agents/mcp_config.json. For more information, see the Google Antigravity MCP documentation.
Claude Code
The Azure plugin packages the Azure MCP Server along with Azure-related agents and skills, bringing Azure integration to Claude Code in one installation.
- Install Claude Code.
- Install the Azure plugin from Anthropic's official plugin marketplace by running the following command in Claude Code:
/plugin install azure@claude-plugins-official
For more information on discovering and installing plugins, see the Claude Code plugins documentation.
Manual Setup
Azure MCP Server can also be configured across other IDEs, CLIs, and MCP clients:
Use one of the following options to configure your mcp.json:
Option 1: Configure using .NET tool (dnx)
-
To use Azure MCP server from .NET, you must have the latest .NET 10 SDK LTS installed. .NET 10 and later adds a command, dnx, which is used to download, install, and run the MCP server from nuget.org. To verify the .NET version, run the following command in the terminal:
dotnet --info -
Configure the
mcp.jsonfile with the following:{ "mcpServers": { "azure-mcp-server": { "command": "dnx", "args": [ "Azure.Mcp", "--source", "https://api.nuget.org/v3/index.json", "--yes", "--", "azmcp", "server", "start" ], "type": "stdio" } } }
Option 2: Configure using Node.js (npm/npx)
-
To use Azure MCP server from node one must have Node.js (LTS) installed and available on your system PATH — this provides both
npmandnpx. We recommend the latest Node.js LTS version. To verify your installation run:node --version,npm --version, andnpx --version. -
Configure the
mcp.jsonfile with the following:{ "mcpServers": { "azure-mcp-server": { "command": "npx", "args": [ "-y", "@azure/mcp@latest", "server", "start" ] } } }
Option 3: Configure using Python (uvx)
-
To use Azure MCP server from Python, you must have uv installed. uv is a fast Python package installer and resolver. To verify your installation run:
uv --versionanduvx --version. -
Configure the
mcp.jsonfile with the following:{ "mcpServers": { "azure-mcp-server": { "command": "uvx", "args": [ "--from", "msmcp-azure", "azmcp", "server", "start" ] } } }
Note: When manually configuring Visual Studio and Visual Studio Code, use servers instead of mcpServers as the root object.
Client-Specific Configuration
| IDE | File Location | Documentation Link |
|---|---|---|
| VS Code | .vscode/mcp.json (workspace)settings.json (user) |
VS Code MCP Documentation |
| Visual Studio | .mcp.json (solution/workspace) |
Visual Studio MCP Setup |
| GitHub Copilot CLI | ~/.copilot/mcp-config.json |
Copilot CLI MCP Configuration |
| Claude Code | ~/.claude.json or .mcp.json (project) |
Claude Code MCP Configuration |
| Eclipse IDE | GitHub Copilot Chat -> Configure Tools -> MCP Servers | Eclipse MCP Documentation |
| IntelliJ IDEA | Built-in MCP server (2025.2+)Settings > Tools > MCP Server | IntelliJ MCP Documentation |
| Google Antigravity | ~/.gemini/config/mcp_config.json (global).agents/mcp_config.json (workspace) |
Google Antigravity MCP Documentation |
| Cursor | ~/.cursor/mcp.json or .cursor/mcp.json |
Cursor MCP Documentation |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
Windsurf Cascade MCP Integration |
| Amazon Q Developer | ~/.aws/amazonq/mcp.json (global).amazonq/mcp.json (workspace) |
AWS Q Developer MCP Guide |
| Claude Desktop | ~/.claude/claude_desktop_config.json (macOS)%APPDATA%\Claude\claude_desktop_config.json (Windows) |
Claude Desktop MCP Setup |
GitHub Copilot CLI Configuration
GitHub Copilot CLI supports MCP servers via the /mcp command.
Add Azure MCP Server
-
In a Copilot CLI session, run
/mcp addto open the MCP server configuration form. -
Fill in the fields:
Field Value Server Name azure-mcpServer Type 1(Local)Command npx -y @azure/mcp@latest server startEnvironment Variables (leave blank - uses Azure CLI auth) Tools *Alternative Command (using .NET):
dotnet dnx Azure.Mcp server start -
Press Ctrl+S (or Cmd+S on macOS) to save the server configuration.
Verification
Verify the MCP server is configured by running:
/mcp show
You should see output similar to:
● MCP Server Configuration:
• azure-mcp (local): Command: npx
Total servers: 1
Config file: ~/.copilot/mcp-config.json
Managing MCP Servers
- List servers:
/mcp show - Remove a server:
/mcp remove azure-mcp - Get help:
/mcp help
GitHub Copilot SDK Configuration
The GitHub Copilot SDK enables programmatic integration of Azure MCP tools into your applications across multiple languages.
Using GitHub Copilot SDK with Azure MCP
This guide explains how to configure the GitHub Copilot SDK to use Azure MCP (Model Context Protocol) tools for interacting with Azure resources.
Overview
Azure MCP provides a set of tools that enable AI assistants to interact with Azure resources directly. When integrated with the Copilot SDK, you can build applications that leverage natural language to manage Azure subscriptions, resource groups, storage accounts, and more.
Prerequisites
- GitHub Copilot CLI - Install from GitHub Copilot CLI
- Azure MCP Server - Available via npm:
@azure/mcp - Azure CLI - Authenticated via
az login - Valid GitHub Copilot subscription
Install Azure MCP Server
# Option 1: Use npx (downloads on demand)
npx -y @azure/mcp@latest server start
# Option 2: Install globally (faster startup)
npm install -g @azure/mcp@latest
Key Configuration Insight
Important: MCP servers must be configured in the session config for tools to be available. The critical configuration is:
{
"mcp_servers": {
"azure-mcp": {
"type": "local",
"command": "npx",
"args": ["-y", "@azure/mcp@latest", "server", "start"],
"tools": ["*"]
}
}
}
The tools: ["*"] parameter is essential - it enables all tools from the MCP server for the session.
Python
Installation
pip install github-copilot-sdk
Azure MCPのよくある質問
Azure MCPをClaude Codeに追加するには
ターミナルでclaude mcp add azure -- npx -y @azure/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Azure MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
VS CodeにAzure MCP Serverをインストールするにはどうすればよいですか?
GitHub Copilot Chat拡張機能をインストールした後、Azure MCP Server拡張機能をインストールし、コマンドパレットからAzureにサインインしてください。
Azure MCP Serverはどのような言語やランタイムから入手できますか?
NuGet、npm、PyPI、Docker、およびMCPBパッケージマネージャーを通じて配布されています。
Azure MCP Serverは読み取り専用モードをサポートしていますか?
はい、readOnly設定を有効にすることで読み取り専用モードにでき、書き込み操作を防止できます。
サーバーを実行する前にAzureへの認証が必要ですか?
はい、Azure MCP serverを実行する前にAzureへの認証を行う必要があります。
Azure MCP Serverはソブリンクラウドをサポートしていますか?
はい、ドキュメントにソブリンクラウドのサポートに関するセクションがあります。