AWS Trusted Advisor MCP Server logo

AWS Trusted Advisor MCP Server

by enomoto11

This project provides an MCP (Multimodal Conversational Processing) server that leverages AWS Trusted Advisor. It suggests recommended changes based on AWS Trusted Advisor check results, such as stopping EC2 instances or creating EBS snapshots.

View on GitHub

Last updated: N/A

What is AWS Trusted Advisor MCP Server?

The AWS Trusted Advisor MCP Server is a tool that helps users identify and address potential issues in their AWS environment based on Trusted Advisor recommendations. It provides suggestions for improvements without making any actual changes, ensuring safety even in IaC-managed environments.

How to use AWS Trusted Advisor MCP Server?

To use the server, you need to clone the repository, install the dependencies, configure AWS credentials, and run the server. You can then interact with the server through its API endpoints or integrate it with tools like Cursor editor to receive recommendations and suggested actions.

Key features of AWS Trusted Advisor MCP Server

  • Suggests stopping underutilized EC2 instances

  • Suggests creating EBS snapshots for volumes lacking backups

  • Suggests disabling exposed IAM access keys

  • Suggests enabling versioning for S3 buckets

Use cases of AWS Trusted Advisor MCP Server

  • Automated security audits and recommendations

  • Cost optimization by identifying underutilized resources

  • Improved data protection through EBS snapshots and S3 versioning

  • Proactive identification and remediation of potential security vulnerabilities

FAQ from AWS Trusted Advisor MCP Server

Does this tool make actual changes to my AWS environment?

No, this tool only provides recommendations and does not automatically apply any changes.

What AWS permissions are required to use this tool?

You need an IAM user with at least support:DescribeTrustedAdvisorChecks and support:DescribeTrustedAdvisorCheckResult permissions.

How do I configure AWS credentials for this tool?

You can configure credentials using a .env file, AWS configuration file, or environment variables.

Can I use this tool in an IaC-managed environment?

Yes, this tool is safe to use in IaC-managed environments as it only provides recommendations and does not make any actual changes. It also provides Terraform examples for implementing the recommendations.

How do I add a new custom tool?

To add a new tool, you need to add a tool definition in src/config.ts, implement the tool in src/tools.ts, and register the implementation in the implementTools object.