CostManagementClient Claude Desktop Config
Add the CostManagementClient MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"azure-com-cost-management-costmanagement": {
"command": "npx",
"args": [
"-y",
"@mcp/azure-com-cost-management-costmanagement"
],
"env": {
"COSTMANAGEMENTCLIENT_API_KEY": "your_costmanagementclient_api_key"
}
}
}
}Environment Variables
COSTMANAGEMENTCLIENT_API_KEYReplace your_costmanagementclient_api_key with your actual costmanagementclient api key
Endpoints
POST
/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/QueryQueryBillingAccount
GET
/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/dimensionsBillingAccountDimensions_List
GET
/providers/Microsoft.CostManagement/operationsOperations_List
POST
/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/QueryQuerySubscription
GET
/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/dimensionsSubscriptionDimensions_List
GET
/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reportconfigsReportConfig_List
GET
/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reportconfigs/{reportConfigName}ReportConfig_Get
PUT
/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reportconfigs/{reportConfigName}ReportConfig_CreateOrUpdate
DELETE
/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reportconfigs/{reportConfigName}ReportConfig_Delete
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/dimensionsResourceGroupDimensions_List