py-az-mcp

py-az-mcp

0

The Azure MCP Server is a Model Context Protocol server that integrates Azure Cloud resources with programmatic access via Azure CLI. It facilitates various operations including managing Virtual Machines, Storage, Networking, and Security services. The server offers comprehensive error handling and secure authentication using Service Principal credentials.

Azure MCP Server

A Model Context Protocol (MCP) server for programmatically accessing Azure Cloud resources using Azure CLI commands. It supports authentication, token management, and various Azure operations including Compute, Storage, App Services, Networking, Database, Security, and more.

Features

  • Service Principal authentication
  • Automatic token management
  • Supports operations for Virtual Machines, Storage Accounts, Web Apps, SQL Servers, Key Vaults, Role Assignments, etc.

Prerequisites

  • Python 3.13 or higher
  • Azure CLI
  • Azure subscription

Installation

  1. Clone the repository
  2. Install dependencies

Configuration

  • Set up a Service Principal
  • Configure environment variables

Usage

  • Start the MCP server

Dependencies

  • Python >= 3.13
  • Azure CLI >= 2.57.0

Security Considerations

  • Service Principal authentication
  • Environment variable configuration

Contributing

  • Fork the repository
  • Create a feature branch
  • Create a Pull Request

License

MIT License