TG

trilogy-group/aws-pricing-mcp

Security testing
21 stars 0 forks 品質 60 トレンド 60

An MCP server that exposes AWS EC2 pricing data with an option to search by CPU, RAM, networking

概要

A Model Context Protocol (MCP) server that provides AWS EC2 instance pricing data. This project includes both a traditional server implementation and a serverless Lambda function. The Lambda function provides the same functionality as the server but with serverless benefits: For detailed Lambda documentation, see LAMBDA.md. - : Find the cheapest EC2 instances based on specifications - : On Demand, Reserved Instances, CloudFix RightSpend - : Region, platform, tenancy, vCPU, RAM, GPU, etc. - : Full MCP protocol compliance - : Lambda function with Function URL - : Always up-to-date pricing from S3

README

AWS Pricing MCP

A Model Context Protocol (MCP) server that provides AWS EC2 instance pricing data. This project includes both a traditional server implementation and a serverless Lambda function.

Quick Start

The Lambda function provides the same functionality as the server but with serverless benefits:

# Build and deploy
sam build
sam deploy --guided

# Get the Function URL
aws cloudformation describe-stacks \
  --stack-name aws-pricing-mcp \
  --query 'Stacks[0].Outputs[?OutputKey==`FunctionUrl`].OutputValue' \
  --output text

For detailed Lambda documentation, see LAMBDA.md.

Server Deployment

# Install dependencies
pip install -r requirements.txt

# Run the server
python src/server.py

Features

  • EC2 Pricing Data: Find the cheapest EC2 instances based on specifications
  • Multiple Pricing Models: On Demand, Reserved Instances, CloudFix RightSpend
  • Flexible Filtering: Region, platform, tenancy, vCPU, RAM, GPU, etc.
  • JSON-RPC 2.0: Full MCP protocol compliance
  • Serverless Option: Lambda function with Function URL
  • Dynamic Data: Always up-to-date pricing from S3

Documentation

License

LICENSE

View this README on GitHub

インストール

This server does not publish a one-line install command.

Open the repository installation guide