What is AWS MCP Server?
A REST API server that connects to AWS accounts, similar to the AWS CLI. It provides endpoints to interact with S3, EC2, and Lambda services, enabling users to list, read, create, update, and delete AWS resources programmatically.
How to use AWS MCP Server?
Install dependencies with npm install, then configure AWS credentials via a .env file or the standard AWS credentials file (~/.aws/credentials). Start the server with npm start. Interact using curl, Postman, a web browser (GET only), or a custom frontend application.
Key features of AWS MCP Server
- Connect to AWS accounts using multiple credential sources (env vars, credentials file, config file, instance profiles)
- Supports S3, EC2, and Lambda service operations
- Profile‑based configuration similar to AWS CLI
- REST API endpoints for listing, starting, stopping, and invoking resources
- Security measures:
.gitignore for secrets, pre‑commit hooks, secrets checker script
Use cases of AWS MCP Server
- List all S3 buckets and their objects
- Start and stop EC2 instances remotely
- Retrieve and invoke Lambda functions
- Build a custom frontend acting as a simplified AWS Management Console
コメント