
How I Gave Claude Code Access to 6,500 Azure Cmdlets
TL;DR I told Claude Code: "Create me a VM on Azure for dev testing." It asked a few questions, ran Az module commands through a persistent PowerShell session, hit a capacity error, but the AI recovered on its own and handed me an SSH command. The whole thing took about 15 minutes — including error recovery and retry. The secret ingredient? PowerShell.MCP — an MCP server that gives AI agents a persistent PowerShell console. What is PowerShell.MCP? PowerShell.MCP is an MCP server that gives AI agents a persistent, shared PowerShell console . One installation provides access to 10,000+ PowerShell modules and any CLI tool. It works with any MCP-compatible AI agent. The Conversation Here's what actually happened — errors and all. Step 1: "Make me a VM" I gave Claude Code a simple request: I need a VM on Azure for development testing. Please use the Az PowerShell module to create it. Instead of guessing, Claude presented an interactive prompt asking me to choose OS, VM size, region, and nami
Continue reading on Dev.to
Opens in a new tab




