GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Descripción del creador (original en inglés)
Azure FinOps MCP: cost, budgets, forecasting and optimization for Claude, VS Code and Cursor.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
AZURE_ALLOWED_SUBSCRIPTIONS, AZURE_DEFAULT_SUBSCRIPTION, FINOPS_CACHE_TTL_SECONDSNecesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"azure-finops": {
"command": "uvx",
"args": [
"azure-finops-mcp"
],
"env": {
"AZURE_ALLOWED_SUBSCRIPTIONS": "your-value",
"AZURE_DEFAULT_SUBSCRIPTION": "your-value",
"FINOPS_CACHE_TTL_SECONDS": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add azure-finops --env AZURE_ALLOWED_SUBSCRIPTIONS=your-value --env AZURE_DEFAULT_SUBSCRIPTION=your-value --env FINOPS_CACHE_TTL_SECONDS=your-value -- uvx azure-finops-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"azure-finops": {
"command": "uvx",
"args": [
"azure-finops-mcp"
],
"env": {
"AZURE_ALLOWED_SUBSCRIPTIONS": "your-value",
"AZURE_DEFAULT_SUBSCRIPTION": "your-value",
"FINOPS_CACHE_TTL_SECONDS": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"azure-finops": {
"type": "stdio",
"command": "uvx",
"args": [
"azure-finops-mcp"
],
"env": {
"AZURE_ALLOWED_SUBSCRIPTIONS": "your-value",
"AZURE_DEFAULT_SUBSCRIPTION": "your-value",
"FINOPS_CACHE_TTL_SECONDS": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
FINOPS_CACHE_TTL_SECONDS envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 10 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub raviteja-pegata, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: AZURE_ALLOWED_SUBSCRIPTIONS, AZURE_DEFAULT_SUBSCRIPTION
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.1.1) llegó al registro hace 6 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: GitHub, Desktop Commander, Cloudflare MCP
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
An MCP server that gives LLM clients (Claude Desktop, Claude Code, VS Code, Cursor) conversational access to Azure cost analysis, budget tracking, forecasting, and resource optimization — across multiple subscriptions.
| Tool | Purpose |
|---|---|
list_subscriptions | List allowed subscriptions with friendly names |
| Tool | Purpose |
|---|---|
get_cost_summary | Total cost for a date range (single sub) |
get_cost_by_dimension | Cost breakdown by service / RG / location / meter |
get_cost_by_tag | Cost grouped by tag value (showback/chargeback) |
get_month_to_date_cost | Current-month spend (single sub) |
get_portfolio_month_to_date_cost | Current-month spend across ALL subs |
| Tool | Purpose |
|---|---|
get_budget_status | Budget consumption for a single sub |
get_portfolio_budget_status | Budget status across ALL subs |
| Tool | Purpose |
|---|---|
find_idle_resources | Unattached disks, stranded IPs/NICs, stopped VMs |
find_idle_resources_portfolio | Idle resources across ALL subs |
get_advisor_recommendations | Azure Advisor cost recs with annual savings |
get_vm_utilization | CPU stats to validate rightsizing |
| Tool | Purpose |
|---|---|
forecast_month_end_spend | Predicted month-end cost (single sub) |
forecast_portfolio_month_end_spend | Predicted month-end cost across ALL subs |
pip install azure-finops-mcp
Then add it to your MCP client config using the installed command — no cloning needed:
{
"mcpServers": { "azure-finops": { "command": "azure-finops-mcp", "env": { "AZURE_ALLOWED_SUBSCRIPTIONS": "sub-id-1,sub-id-2", "AZURE_DEFAULT_SUBSCRIPTION": "sub-id-1" } } } }
See the Client Configuration section below for per-client config file locations.
az login)The identity running this server (your user, a service principal, or a managed identity) needs three roles assigned on each subscription you want to query:
| Role | Purpose |
|---|---|
| Cost Management Reader | Cost analysis, forecasting, budget queries |
| Reader | Resource inventory via Resource Graph |
| Monitoring Reader | VM utilization metrics via Azure Monitor |
SUBSCRIPTION_ID="<your-subscription-id>"
PRINCIPAL_ID=" "
for ROLE in "Cost Management Reader" "Reader" "Monitoring Reader"; do az role assignment create \ --assignee "$PRINCIPAL_ID" \ --role "$ROLE" \ --scope "/subscriptions/$SUBSCRIPTION_ID" done
Repeat for each subscription listed in AZURE_ALLOWED_SUBSCRIPTIONS.
az login
az account set --subscription " "
az ad signed-in-user show --query id -o tsv
Your user already has these roles if you're a subscription Owner or Contributor. If not, ask your Azure admin to assign them.
After deploying with deploy.sh, the script automatically assigns these three roles to the Container App's system-assigned managed identity on each allowed subscription. No credentials or secrets are needed — DefaultAzureCredential picks up the managed identity automatically at runtime.
git clone <your-repo-url> azure-finops-mcp
cd azure-finops-mcp
python3 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e .
cp .env.example .env
# Required: comma-separated subscription IDs the server may query
AZURE_ALLOWED_SUBSCRIPTIONS=sub-id-1,sub-id-2,sub-id-3
AZURE_DEFAULT_SUBSCRIPTION=sub-id-1
The Inspector is a web UI that lets you call tools interactively and see raw JSON-RPC messages. Always test here before connecting to Claude Desktop.
# Use the venv's python3 explicitly — the Inspector launches a subprocess
npx @modelcontextprotocol/inspector $(which python3) -m azure_finops_mcp.server
In the Inspector UI:
list_subscriptions first (no arguments needed)get_month_to_date_cost (no arguments needed — uses default sub)Find the absolute path to your venv's Python first — you'll need it in every config below:
# With your venv activated:
which python3
Edit claude_desktop_config.json:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{
"mcpServers": { "azure-finops": { "command": "/absolute/path/to/.venv/bin/python3", "args": ["-m", "azure_finops_mcp.server"], "env": { "AZURE_ALLOWED_SUBSCRIPTIONS": "sub-1,sub-2,sub-3", "AZURE_DEFAULT_SUBSCRIPTION": "sub-1", "FINOPS_CACHE_TTL_SECONDS": "900" } } } }
Restart Claude Desktop. A tool icon in the chat input confirms the server connected.
Create .vscode/mcp.json in your workspace (or add to user settings.json under "mcp"):
{
"servers": { "azure-finops": { "type": "stdio", "command": "/absolute/path/to/.venv/bin/python3", "args": ["-m", "azure_finops_mcp.server"], "env": { "AZURE_ALLOWED_SUBSCRIPTIONS": "sub-1,sub-2,sub-3", "AZURE_DEFAULT_SUBSCRIPTION": "sub-1", "FINOPS_CACHE_TTL_SECONDS": "900" } } } }
Requires VS Code 1.99+ with the GitHub Copilot extension. Open the Chat panel, switch to Agent mode, and the azure-finops tools will appear automatically.
Create or edit ~/.cursor/mcp.json:
{
"mcpServers": { "azure-finops": { "command": "/absolute/path/to/.venv/bin/python3", "args": ["-m", "azure_finops_mcp.server"], "env": { "AZURE_ALLOWED_SUBSCRIPTIONS": "sub-1,sub-2,sub-3", "AZURE_DEFAULT_SUBSCRIPTION": "sub-1", "FINOPS_CACHE_TTL_SECONDS": "900" } } } }
Or add it via Cursor Settings → MCP → Add new global MCP server. Restart Cursor. The tools appear in Cursor's Agent/Composer panel.
claude mcp add azure-finops \
/absolute/path/to/.venv/bin/python3 \ -m azure_finops_mcp.server \ -e AZURE_ALLOWED_SUBSCRIPTIONS=sub-1,sub-2,sub-3 \ -e AZURE_DEFAULT_SUBSCRIPTION=sub-1
All clients support connecting to the deployed server over HTTP — no local Python needed:
Claude Desktop / Cursor — add to the same config files above:
{
"mcpServers": { "azure-finops": { "type": "http", "url": "https:// /mcp" } } }
VS Code — in .vscode/mcp.json:
{
"servers": { "azure-finops": { "type": "http", "url": "https:// /mcp" } } }
Claude Web — Settings → Integrations → Add → https:// /mcp
Try these once connected:
costcenter tag."my-analytics-vm actually being used? Check its CPU over 14 days."Claude Desktop ◄─┐
VS Code ◄─┤ Cursor ◄─┼──stdio / HTTP──► Azure FinOps MCP Server ◄──REST──► Azure APIs Claude Code ◄─┤ │ Claude Web ◄─┘ ├── config.py ← env + allowlist ├── azure_clients.py ← shared credential ├── cache.py ← TTL cache ├── server.py ← FastMCP + registration └── tools/ ├── subscriptions ← discovery ├── cost ← queries + portfolio ├── budgets ← budget status ├── optimization ← idle + advisor + metrics └── forecast ← predictions
Narrow tools over flexible tools. The LLM picks among well-named tools far better than it constructs complex query objects. 15 purpose-built tools beats 3 configurable ones.
Subscription allowlist. A frozenset loaded from env. Every tool calls resolve_subscription() which refuses any ID not in the list. Prevents the LLM from querying unauthorized subscriptions — important for prompt injection defense.
Portfolio tools catch per-sub errors. When querying 5+ subscriptions, one might have different RBAC or be in a weird state. Portfolio tools (get_portfolio_*) wrap each sub in try/except so partial results are returned with errors listed separately.
Cache on Cost Management only. Cost queries are expensive and rate-limited (~30 req/min per tenant). Cost data updates hourly at best. Default 15-minute TTL trades almost nothing in freshness for significant rate-limit headroom. Resource Graph and Advisor are fast and cheap — no caching needed.
Structured returns, not prose. Tools return dicts with columns/rows/metadata. The LLM narrates them naturally. This avoids encoding English into tool responses (which makes them brittle to prompt changes).
For team-wide access, deploy as a remote HTTP server:
server.py: mcp.run(transport="streamable-http", host="0.0.0.0", port=8000)
FROM python:3.12-slim
WORKDIR /app COPY . . RUN pip install --no-cache-dir -e . CMD ["azure-finops-mcp"]
DefaultAzureCredential picks up the managed identity automatically — no code changes needed.| Problem | Fix |
|---|---|
DefaultAzureCredential auth errors | Run az login and verify with az account show |
| 429 throttling on Cost Management | Increase FINOPS_CACHE_TTL_SECONDS |
| Empty budget list | Budgets must exist in the portal — the API doesn't create them |
find_idle_resources errors | You need Reader RBAC at subscription scope |
| Inspector "Connection Error" | Use absolute path to venv's python3 in Command f
Solo se muestra el principio; lee el resto en el repo