Skip to main content

Azure MCP Agent for secure, compliant resource deployment

Project description

Azure SFI MCP Agent - Installation Guide

Description

Azure SFI MCP Agent is a Model Context Protocol (MCP) server that enables secure, compliant Azure resource deployment directly from VS Code using GitHub Copilot Chat. This agent helps you create SFI compliant Azure resources with automatic compliance orchestration.

Capabilities

  1. List Azure Permissions - View your active role assignments and access levels
  2. List Azure Resources - Browse resources across subscriptions and resource groups
  3. Create SFI-Compliant Resources - Deploy Azure resources with automatic compliance features:
    • Storage Accounts (ADLS Gen2)
    • Key Vaults
    • Azure OpenAI
    • AI Search
    • AI Foundry
    • Cosmos DB
    • Log Analytics Workspaces
    • Network Security Perimeters (NSP)
    • User Assigned Managed Identity (UAMI)
  4. Add Diagnostic Settings - Automatically configure Log Analytics monitoring
  5. NSP Attachment - Automatic Network Security Perimeter attachment for supported resources

Prerequisites

Before installing the Azure SFI MCP Agent, ensure you have the following installed:

Required Software

  1. Visual Studio Code - Download
  2. PowerShell Core (pwsh) - Download
  3. Azure CLI - Download
  4. Python 3.10+ - Download
  5. uvx - Download
  6. GitHub Copilot Chat Extension - Install from VS Code Marketplace

Azure Requirements

  • Active Azure subscription
  • Appropriate Azure RBAC permissions for resource creation
  • Azure CLI authenticated (az login)

Installation Steps

Step 1: Open GitHub Copilot Chat

  1. Launch Visual Studio Code
  2. Open GitHub Copilot Chat (click the chat icon in the sidebar or press Ctrl+Alt+I)

Step 2: Access MCP Tools Menu

  1. In the Copilot Chat window, click on the 🔧 Tools button
  2. Select "Install MCP Server from PyPI" or similar option

Step 3: Install the Package

  1. When prompted for the package name, enter:
    azuresfimcpagent
    
  2. Select the latest version when prompted
  3. Wait for the installation to complete

Step 4: Configure MCP Settings

Add the following configuration to the mcp.json file:

{
    "mcpServers": {
        "azuresfimcpagent": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "azuresfimcpagent==1.0.0"
            ]
        }
    }
}

Note: Replace 1.0.0 with the latest version number you installed.

Step 5: Restart VS Code

  1. Close and reopen Visual Studio Code to load the MCP server configuration
  2. Open GitHub Copilot Chat again
  3. Select the MCP Tool installed

Step 6: Verify Installation

In GitHub Copilot Chat, type:

show menu

You should see the available actions menu confirming successful installation.


💡 Usage Examples

List Your Azure Permissions

list my azure permissions

List Azure Resources

list resources in resource-group-name

Create a Storage Account

create storage account

Create a Key Vault

create key vault

The agent will interactively prompt you for required parameters and automatically:

  • ✅ Deploy the SFI compliant resources
  • ✅ Configure Log Analytics diagnostic settings
  • ✅ Apply security best practices and compliance controls

Azure CLI Authentication

Ensure you're logged into Azure CLI:

az login
az account show

PowerShell Core Required

This agent requires PowerShell Core (pwsh), not Windows PowerShell. Verify:

pwsh --version

📄 License

MIT License - see LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azuresfimcpagent_test-1.0.3.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azuresfimcpagent_test-1.0.3-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

Details for the file azuresfimcpagent_test-1.0.3.tar.gz.

File metadata

  • Download URL: azuresfimcpagent_test-1.0.3.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for azuresfimcpagent_test-1.0.3.tar.gz
Algorithm Hash digest
SHA256 754d493a49cba3434c54903df0a4bb7d239f2f18f97f699a3557953026948801
MD5 c3a76ae7cedfdb0b8cebfd47a2af6775
BLAKE2b-256 9cbba18cb82a690a8e4cfd76a2b6af55bb99a74b4cc352d79a1b082015a3cef3

See more details on using hashes here.

File details

Details for the file azuresfimcpagent_test-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for azuresfimcpagent_test-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c936b0d15055be4c7711a8befe1166755c0fdaf253d0930acce566ab168d599f
MD5 95c70f30258e16449f1f84e4461c9775
BLAKE2b-256 14052dc44f200fb198249786701da2ad3279e3b5c019cfffa12af61bfd429878

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page