Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>AWS FinOps MCPNew to Visual Studio Code? Get it now.
AWS FinOps MCP

AWS FinOps MCP

Gleidson FerSanP

|
22 installs
| (0) | Free
MCP server for AWS cost management and financial operations - auto-configures for GitHub Copilot Chat
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AWS FinOps MCP - VS Code Extension

MCP server for AWS cost management and financial operations - auto-configures for GitHub Copilot Chat

VS Code MCP

Features

🚀 Auto-Configuration - Automatically registers the MCP server when installed. No manual configuration needed.

💰 Cost Analysis - Get current month costs, costs by service, and cost forecasts directly in Copilot Chat.

📊 Resource Inventory - List EC2 instances, RDS databases, and S3 buckets.

💡 Cost Optimization - Get AWS Trusted Advisor cost optimization recommendations.

Installation

  1. Install the extension from VS Code Marketplace
  2. Ensure you have AWS credentials configured
  3. Open GitHub Copilot Chat and start asking about your AWS costs!

Usage

Once installed, simply ask GitHub Copilot about your AWS costs:

Cost Analysis

"What are my AWS costs this month?"
"Which services are costing me the most?"
"Forecast my AWS costs for next month"

Resource Inventory

"List all my EC2 instances"
"Show me my RDS databases"
"How many S3 buckets do I have?"

Cost Optimization

"How can I reduce my AWS costs?"
"Are there any optimization recommendations?"

Available MCP Tools

Tool Description
get-current-month-costs Get AWS costs for the current month
get-costs-by-service Get costs grouped by AWS service
get-cost-forecast Get cost forecast for the next period
list-ec2-instances List EC2 instances with details
list-rds-instances List RDS database instances
list-s3-buckets List S3 buckets
get-cost-optimization-recommendations Get Trusted Advisor recommendations

Configuration

Access settings via Command Palette → AWS FinOps: Configure AWS FinOps MCP

Setting Description Default
awsFinopsMcp.autoStart Auto-start MCP server true
awsFinopsMcp.logLevel Log level (error, warn, info, debug) info
awsFinopsMcp.awsRegion Default AWS region (env variable)
awsFinopsMcp.awsProfile AWS profile to use (default profile)

Commands

Command Description
AWS FinOps: Configure AWS FinOps MCP Open configuration options
AWS FinOps: Restart MCP Server Restart the MCP server
AWS FinOps: Show Available Tools Show list of available MCP tools
AWS FinOps: Open Documentation Open this documentation

Prerequisites

AWS Credentials

You need AWS credentials configured. The extension uses the standard AWS credential chain:

  1. Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
  2. AWS credentials file (~/.aws/credentials)
  3. IAM role (when running on AWS)

Required IAM Permissions

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ce:GetCostAndUsage",
                "ce:GetCostForecast",
                "ec2:DescribeInstances",
                "rds:DescribeDBInstances",
                "s3:ListAllMyBuckets",
                "support:DescribeTrustedAdvisorChecks",
                "support:DescribeTrustedAdvisorCheckResult"
            ],
            "Resource": "*"
        }
    ]
}

Note: Trusted Advisor features require AWS Business or Enterprise support plan.

Architecture

┌─────────────────┐     ┌────────────────────┐     ┌─────────────────┐
│ GitHub Copilot  │────▶│ AWS FinOps MCP    │────▶│ AWS APIs        │
│ Chat            │     │ Extension          │     │ - Cost Explorer │
│                 │◀────│ (MCP Server)       │◀────│ - EC2           │
└─────────────────┘     └────────────────────┘     │ - RDS           │
                                                   │ - S3            │
                                                   │ - Support       │
                                                   └─────────────────┘

Development

Building from Source

# Clone repository
git clone https://github.com/your-org/mcp-aws-finops.git
cd mcp-aws-finops

# Build MCP server
npm install
npm run build

# Build extension
cd extension
npm install
npm run compile
npm run bundle-mcp

# Package extension
npm run package

Installing Locally

# Install the .vsix file
code --install-extension aws-finops-mcp-1.0.0.vsix

Troubleshooting

MCP Server Not Starting

  1. Check Output panel → "AWS FinOps MCP" for error messages
  2. Ensure AWS credentials are configured
  3. Run AWS FinOps: Restart MCP Server command

AWS API Errors

  1. Verify IAM permissions are correctly configured
  2. Check if AWS region is properly set
  3. Ensure network connectivity to AWS APIs

Trusted Advisor Not Working

Trusted Advisor features require:

  • AWS Business or Enterprise support plan
  • Region set to us-east-1

Contributing

Contributions are welcome! Please see the main repository for contribution guidelines.

License

MIT

Links

  • MCP AWS FinOps Repository
  • Model Context Protocol
  • VS Code Extension API
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft