Skip to content

Commit 4bb9484

Browse files
committed
Adding Enterprise Support tool and operations for Billing and Cost Management MCP
1 parent cdd87a8 commit 4bb9484

8 files changed

Lines changed: 1664 additions & 1 deletion

File tree

src/billing-cost-management-mcp-server/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99
### Added
10+
- Added AWS Billing Enterprise Support data via an `enterprise_support` tool (`GetEnterpriseSupportChargeSummary`, `GetEnterpriseSupportContractDetails`, `ListEnterpriseSupportLinkedAccountCharges`) covering a billing period's Enterprise Support charge and the Support-eligible spend it was calculated from, the contract terms that govern how the charge is allocated, and the per-linked-account charge breakdown
1011
- Added AWS Billing credits support via a `credits` tool (`GetCredits`, `GetCreditAllocationHistory`) covering credit balance, expiration, product applicability, sharing configuration, and the per-service allocation ledger
1112
- Added AWS Compute Optimizer Automation support via a `compute-optimizer-automation` tool (`GetAutomationEvent`, `GetAutomationRule`, `GetEnrollmentConfiguration`, `ListAccounts`, `ListAutomationEvents`, `ListAutomationEventSteps`, `ListAutomationEventSummaries`, `ListAutomationRules`, `ListRecommendedActions`, `ListRecommendedActionSummaries`, `ListAutomationRulePreview`, `ListAutomationRulePreviewSummaries`, `ListTagsForResource`)
1213
- Extending support for Billing and Cost Management Pricing Calculator's Workload estimate (`CreateWorkloadEstimate`, `BatchCreateWorkloadEstimateUsage`).

src/billing-cost-management-mcp-server/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ MCP server for accessing AWS Billing and Cost Management capabilities.
6868
- **Invoice units**: List and retrieve invoice unit definitions (groups of accounts that receive a separate invoice, with their receiver account and linked-account rules), filtered by name, receiver, or member account; and fetch invoice receiver profiles (legal name, address, tax registration number) for a set of accounts
6969
- **Procurement portal preferences**: List and retrieve procurement portal connections (SAP Business Network, Coupa) and e-invoice delivery / purchase-order retrieval settings
7070

71+
### AWS Enterprise Support
72+
73+
- **Enterprise Support charge summary**: Retrieve a billing period's Enterprise Support charge with the Support-eligible spend it was calculated from, the effective pricing plan, and any applied discounts
74+
- **Support contract details**: Review the contract terms that govern how a billing period's charge is allocated, including the allocation method, Reserved Instance and Savings Plan treatment, and the payer accounts covered
75+
- **Per-account charge breakdown**: Break a billing period's charge down by linked account with prorated Support-eligible spend, subscription periods, and per-service spend
76+
7177
### Specialized Cost Optimization Prompts
7278

7379
- **Graviton migration analysis**: Guided analysis to identify EC2 instances suitable for AWS Graviton migration
@@ -325,6 +331,9 @@ AWS Invoicing:
325331
AWS Billing:
326332
- billing:GetCredits
327333
- billing:GetCreditAllocationHistory
334+
- billing:GetEnterpriseSupportChargeSummary
335+
- billing:GetEnterpriseSupportContractDetails
336+
- billing:ListEnterpriseSupportLinkedAccountCharges
328337

329338
#### Configuration
330339

@@ -442,3 +451,6 @@ The server currently supports the following AWS services
442451

443452
13. **AWS Credits**
444453
- `credits` tool: get_credits, get_credit_allocation_history
454+
455+
14. **AWS Enterprise Support**
456+
- `enterprise_support` tool: get_charge_summary, get_contract_details, list_linked_account_charges

src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/server.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
cost_optimization_hub_server,
6262
)
6363
from awslabs.billing_cost_management_mcp_server.tools.credits_tools import credits_server
64+
from awslabs.billing_cost_management_mcp_server.tools.enterprise_support_tools import (
65+
enterprise_support_server,
66+
)
6467
from awslabs.billing_cost_management_mcp_server.tools.free_tier_usage_tools import (
6568
free_tier_usage_server,
6669
)
@@ -228,6 +231,7 @@ def setup():
228231
mcp.mount(invoice_units_server)
229232
mcp.mount(procurement_preferences_server)
230233
mcp.mount(credits_server)
234+
mcp.mount(enterprise_support_server)
231235

232236
register_prompts()
233237

0 commit comments

Comments
 (0)