Skip to main content
Glama

mcp-azure

CI License: MIT npm

AzureModel Context Protocol 서버입니다. Azure Portal 뒤에 있는 프로그래매틱 계층인 Azure Resource Manager API를 통해 동작하며, MCP 지원 클라이언트(Claude Desktop, Claude Code, Cursor, Codex 등)가 Azure 리소스를 조회하고 운영할 수 있게 해줍니다. AI 에이전트가 안전한 경계 안에서 움직이도록 하는 거버넌스 계층이 포함되어 있습니다.

제공 기능

  • 인벤토리(Inventory) — 구독, 위치, 리소스 그룹, 리소스를 조회하고 ARM ID로 모든 리소스를 가져올 수 있습니다.

  • 운영(Operations) — 승인된 지역에 리소스 그룹을 만들고, 모든 리소스에 태그를 병합하며, VM 전원 상태를 제어합니다(start / stop / restart / deallocate).

  • 수명 주기(Lifecycle) — 보호 장치가 갖춰진 리소스 그룹 및 개별 리소스 삭제를 실행합니다.

  • 거버넌스 내장 — 액세스 모드, 구독/리소스 그룹 허용 목록, 보호된 리소스 그룹, 신규 그룹용 지역 허용 목록, 삭제 게이팅, 고영향 삭제에 대한 타자 확인(typed confirmation), dry-run, JSON 감사 로깅까지 지원합니다.

Related MCP server: Azure MCP Server

거버넌스 및 보안 모델

항목

플래그

기본값

효과

서버가 무엇을 할 수 있나요?

AZURE_MODE

read-only

read-only → 인벤토리, read-write → 리소스 그룹 생성·태그·VM 전원, admin → 삭제. 모드를 초과하는 도구는 등록되지 않습니다.

어느 구독을 허용 하나요?

AZURE_SUBSCRIPTION_ALLOWLIST

(모두)

다른 구독에 대한 작업은 거부됩니다.

어느 리소스 그룹을 허용하나요?

AZURE_RESOURCE_GROUP_ALLOWLIST

(모두)

목록에 없는 리소스 그룹에 대한 작업은 거부됩니다.

영구 읽기 전용 그룹

AZURE_PROTECTED_RESOURCE_GROUPS

(없음)

읽기 가능, 절대 변경 불가능.

승인된 지역

AZURE_LOCATION_ALLOWLIST

(모든 위치)

새 리소스 그룹은 여기에서만 생성할 수 있습니다.

삭제를 허용할까?

AZURE_ALLOW_DELETE

false

삭제하려면 이 항목 admin 모드가 필요합니다.

타입 확인

AZURE_REQUIRE_CONFIRMATION

true

삭제 시 confirm 값이 대상 이름과 일치해야 합니다. 단순 boolean이 아닙니다.

미리 보기

AZURE_DRY_RUN

false

쓰기/관리자 도구가 의도만 기록하고 동작을 실행하지 않습니다.

감사 기록

AZURE_AUDIT_LOG

true

보호된 작업마다 JSON 감사 기록이 stderr로 출력됩니다.

도구

읽기(Read-only+): list_subscriptions, list_locations, list_resource_groups, list_resources, get_resource

쓰기(read-write+): create_resource_group, tag_resource, control_vm

관리자(admin): delete_resource_group, delete_resource (모두 AZURE_ALLOW_DELETE와 타입 확인 confirm 필요)

빠른 시작 — 에이전트에 추가하기

npm의 @dockndevai/mcp-azure 로 배포되어 있습니다. Entra ID 서비스 주체와 함께 npx 로 실행됩니다. 각 클라이언트의 자세한 사용법은 docs/CLIENTS.md를, 전체 환경 변수는 .env.example를 참조하세요.

Claude Code

claude mcp add azure -e AZURE_TENANT_ID="…" -e AZURE_CLIENT_ID="…" -e AZURE_CLIENT_SECRET="…" -e AZURE_SUBSCRIPTION_ID="…" -e AZURE_MODE="read-only" -- npx -y @dockndevai/mcp-azure

Claude Desktop · Cursor · Windsurf

{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": ["-y", "@dockndevai/mcp-azure"],
      "env": {
        "AZURE_TENANT_ID": "…",
        "AZURE_CLIENT_ID": "…",
        "AZURE_CLIENT_SECRET": "…",
        "AZURE_SUBSCRIPTION_ID": "…",
        "AZURE_MODE": "read-only"
      }
    }
  }
}

예시 프롬프트

  • "내 구독의 모든 리소스 그룹과 각 그룹이 어느 지역에 있는지 나열해 줘"

  • "rg-web 그룹의 모든 리소스를 보여 줘"

  • "app-plan 리소스에 env=prod 및 owner=team-a 태그를 지정해 줘" (read-write 필요)

  • "rg-ci의 build-agent VM을 중지해 줘" (read-write 필요)

소스에서 실행(개발)

npm install
npm run build
node dist/index.js   # with the environment variables set

개발

npm run dev
npm test          # governance policy: modes, scoping, location allowlist, delete + confirmation
npm run typecheck

배포

공식 MCP 레지스트리용 server.json과 npm 소유권 검증용 mcpName이 포함되어 있습니다. **PUBLISHING.md**를 참조하세요.

라이선스

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides tools for listing and querying Azure resources directly from any MCP client, allowing you to efficiently browse your Azure infrastructure and analyze costs without leaving your workflow.
    3
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that exposes core Azure services as read-mostly tools any MCP client can call, including Blob Storage, Key Vault, Service Bus, and Resource Manager.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid

  • Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dockndevai/mcp-azure'

If you have feedback or need assistance with the MCP directory API, please join our Discord server