Infrawise
Official@infrawise/mcp-server
Claude Code MCP server for Infrawise Azure FinOps recommendations.
What it provides
Tools exposed to Claude Code:
get_idle_resources— idle/zombie resources to delete or deallocateget_sku_optimizations— rightsizing recommendations for overprovisioned resourcesget_general_recommendations— purchasing model and licensing optimizationsget_savings_summary— aggregated savings totals across all categories
All tools accept an optional subscription_filter (subscription UUID) to scope results.
Related MCP server: kubopt
Quickstart
npx @infrawise/mcp-server@latest setupThat's it. setup opens your browser for Azure sign-in, registers the MCP server with Claude Code, and confirms everything is working. Restart Claude Code when it completes.
Prerequisite: You need an active Infrawise account with at least one Azure subscription onboarded. Complete onboarding →
Useful commands
# Re-authenticate only (e.g. after switching accounts) — opens browser
npx @infrawise/mcp-server@latest auth
# Pin a specific tenant
npx @infrawise/mcp-server@latest auth --tenant <tenantId>
# Diagnose auth and onboarding issues with fix steps
npx @infrawise/mcp-server@latest doctor
# Check that the MCP server is registered
claude mcp listSwitching accounts
Delete the cached credentials and re-authenticate:
# macOS / Linux
rm ~/.infrawise/mcp-credentials.json
# Windows (PowerShell)
Remove-Item "$env:USERPROFILE\.infrawise\mcp-credentials.json"
npx @infrawise/mcp-server@latest authLocal development
npm install
npm run build
node dist/index.js setup # or auth / doctorEnvironment variables
Variable | Default | Purpose |
|
| Backend base URL |
|
| Public client app the CLI signs in as |
|
| Token scope (the Infrawise API audience) |
|
| MSAL authority |
| (unset) | Optional tenant override; builds authority URL automatically |
Security
Token cache stored at
~/.infrawise/mcp-credentials.jsonWritten with
0600mode (best effort on Windows)Read-only server — all calls are GET only
Releases
Releases are managed by the Infrawise team and published to npm as @infrawise/mcp-server.
Maintenance
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Infrawise/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server