@incidentpilot/mcp-aws
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@incidentpilot/mcp-aws Investigate why the api-server EC2 instance is failing health checks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@incidentpilot/mcp-aws
Open-source MCP server for AWS infrastructure. Give Claude, ChatGPT, or any AI assistant secure access to your AWS resources for incident investigation and automated remediation.
Your credentials stay local. Always.
Why This Exists
Traditional incident management tools require you to:
Install agents in your AWS account
Grant cross-account IAM access to third parties
Trust closed-source code with your credentials
This MCP server runs locally on your machine. Your AWS credentials never leave your environment. The AI connects to your infrastructure through MCP, and you approve every action.
Related MCP server: AWS Infrastructure MCP Server
Features
Service | Read Operations | Write Operations (with approval) |
EC2 | Describe instances, status checks | Start, stop, reboot |
RDS | Describe databases, events | - |
Lambda | Get function config, list functions | Invoke (with approval) |
S3 | List buckets, get bucket info | - |
EKS | List/describe clusters, node groups | - |
IAM | Get user/role details | - |
CloudWatch | Query metrics, list alarms | - |
Auto Scaling | Describe groups, activities | Scale up/down |
ELB | Describe load balancers, targets | - |
SQS | List queues, get attributes | Purge DLQ |
SNS | List topics, subscriptions | - |
Route 53 | List hosted zones, records | - |
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"aws": {
"command": "npx",
"args": ["-y", "@incidentpilot/mcp-aws@latest"],
"env": {
"AWS_PROFILE": "default"
}
}
}
}That's it. Restart Claude Desktop and ask: "What EC2 instances are running in us-east-1?"
Claude Code
claude mcp add aws -- npx -y @incidentpilot/mcp-aws@latestUsing AWS Profiles
{
"mcpServers": {
"aws-prod": {
"command": "npx",
"args": ["-y", "@incidentpilot/mcp-aws@latest"],
"env": {
"AWS_PROFILE": "production",
"AWS_REGION": "us-west-2"
}
},
"aws-dev": {
"command": "npx",
"args": ["-y", "@incidentpilot/mcp-aws@latest"],
"env": {
"AWS_PROFILE": "development",
"AWS_REGION": "us-east-1"
}
}
}
}Environment Variables
Variable | Description | Required |
| AWS CLI profile name | No (uses default) |
| Default region | No (defaults to us-east-1) |
| Access key (if not using profile) | No |
| Secret key (if not using profile) | No |
Example Conversations
Investigate an incident:
"My application is slow. Check CloudWatch metrics for the production ECS service and see if there are any alarms firing."
Quick status check:
"List all EC2 instances in us-west-2 that aren't running"
Remediation (with approval):
"Restart the api-server EC2 instance - it's not responding to health checks"
Claude will ask for confirmation before executing
IAM Permissions
Minimum permissions for read-only operations:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:Describe*",
"rds:Describe*",
"lambda:GetFunction",
"lambda:ListFunctions",
"s3:ListBuckets",
"s3:GetBucket*",
"eks:Describe*",
"eks:List*",
"iam:GetUser",
"iam:GetRole",
"cloudwatch:GetMetricData",
"cloudwatch:DescribeAlarms",
"autoscaling:Describe*",
"elasticloadbalancing:Describe*",
"sqs:ListQueues",
"sqs:GetQueueAttributes",
"sns:ListTopics",
"sns:ListSubscriptions",
"route53:ListHostedZones",
"route53:ListResourceRecordSets"
],
"Resource": "*"
}
]
}For write operations (remediation), add:
{
"Effect": "Allow",
"Action": [
"ec2:StartInstances",
"ec2:StopInstances",
"ec2:RebootInstances",
"autoscaling:SetDesiredCapacity"
],
"Resource": "*"
}Security
Local execution: Your credentials never leave your machine
Human-in-the-loop: All write operations require explicit approval
Audit logging: Every operation is logged to stderr
Rate limiting: Built-in protection against runaway requests
No telemetry: We don't collect any usage data
Available Tools
Read-Only (always allowed)
aws_describe_instances- List EC2 instances with filtersaws_get_instance_status- Get EC2 health checksaws_describe_rds_instances- List RDS databasesaws_get_lambda_function- Get Lambda configurationaws_list_s3_buckets- List S3 bucketsaws_get_s3_bucket_info- Get bucket detailsaws_list_eks_clusters- List EKS clustersaws_describe_eks_cluster- Get cluster detailsaws_get_cloudwatch_alarms- List CloudWatch alarmsaws_get_cloudwatch_metrics- Query metricsaws_describe_auto_scaling_groups- List ASG details
Write Operations (require approval)
aws_stop_instance- Stop EC2 instancesaws_start_instance- Start EC2 instancesaws_reboot_instance- Reboot EC2 instancesaws_scale_asg- Scale Auto Scaling groups
Development
# Clone the repo
git clone https://github.com/incidentpilot/mcp-aws.git
cd mcp-aws
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Run tests
npm testContributing
Contributions welcome! Please read our Contributing Guide first.
Related Projects
@incidentpilot/mcp-gcp - Google Cloud Platform
@incidentpilot/mcp-azure - Microsoft Azure
@incidentpilot/mcp-kubernetes - Kubernetes clusters
@incidentpilot/mcp-docker - Docker containers
License
MIT - see LICENSE
Support
Discord: Join our community
Built with love by Incident Pilot - AI Runbooks for Cloud Operations
Available Tools
65 toolsautoscaling_get_activitiesC
Get recent scaling activities for an Auto Scaling Group
Inputs: autoScalingGroupName (required), region, maxRecords, activityIds, +1 more.
autoscaling_get_group_detailsC
Get detailed information about an Auto Scaling Group including scaling policies
Inputs: autoScalingGroupName (required), region.
autoscaling_list_groupsC
List Auto Scaling Groups with their current configuration and status
Inputs: region, filters, maxRecords, autoScalingGroupNames.
autoscaling_list_launch_configurationsB
List launch configurations (legacy - use Launch Templates when possible)
Inputs: region, maxRecords, launchConfigurationNames.
autoscaling_set_desired_capacityC
[REQUIRES APPROVAL] Set the desired capacity of an Auto Scaling Group
Inputs: reason (required), approvalToken (required), desiredCapacity (required), autoScalingGroupName (required), +2 more.
cloudfront_get_distribution_detailsB
Get detailed configuration of a CloudFront distribution
Inputs: distributionId (required).
cloudfront_list_distributionsC
List CloudFront CDN distributions
Inputs: maxItems.
cloudwatch_get_alarm_detailsC
Get detailed information about a specific CloudWatch alarm
Inputs: alarmName (required), region.
cloudwatch_get_metricsC
Get CloudWatch metric data for a specific metric over a time range
Inputs: namespace (required), metricName (required), stat, period, +4 more.
cloudwatch_list_alarmsB
List all CloudWatch alarms, optionally filtered by state or name prefix
Inputs: region, maxResults, stateValue, alarmNamePrefix.
customer_clearB
Clear the current customer context and credentials
Inputs: no named parameters.
customer_infoC
Get information about the currently configured customer
Inputs: no named parameters.
customer_initializeC
Initialize customer credentials for cross-account access
Inputs: roleArn (required), customerId (required), externalId (required), region, +1 more.
customer_switchC
Switch to a different customer's credentials
Inputs: roleArn (required), customerId (required), externalId (required), region, +1 more.
ec2_get_instance_statusC
Get detailed status checks for EC2 instances including system and instance health
Inputs: region, instanceIds, includeAllInstances.
ec2_list_instancesB
List EC2 instances with optional filters. Use filters to narrow down results by state, tags, etc.
Inputs: region, filters, maxResults, instanceIds.
ec2_reboot_instanceC
[REQUIRES APPROVAL] Reboot one or more EC2 instances
Inputs: reason (required), instanceIds (required), region.
ec2_start_instanceA
[REQUIRES APPROVAL] Start one or more stopped EC2 instances
Inputs: reason (required), instanceIds (required), region.
ec2_stop_instanceB
[REQUIRES APPROVAL] Stop one or more running EC2 instances. Data on instance store volumes will be lost.
Inputs: reason (required), instanceIds (required), force, region.
ecs_force_deploymentA
[REQUIRES APPROVAL] Force a new deployment of an ECS service (restarts all tasks). The MCP client will prompt for confirmation.
Inputs: reason (required), cluster (required), service (required), region.
ecs_get_service_detailsC
Get detailed information about a specific ECS service
Inputs: cluster (required), service (required), region.
ecs_list_clustersC
List all ECS clusters in the account
Inputs: region.
ecs_list_servicesC
List all services in an ECS cluster
Inputs: cluster (required), region.
ecs_list_tasksC
List tasks running in an ECS service
Inputs: cluster (required), region, serviceName, desiredStatus.
ecs_scale_serviceB
[REQUIRES APPROVAL] Scale an ECS service to a desired count. The MCP client will prompt for confirmation.
Inputs: reason (required), cluster (required), service (required), desiredCount (required), +1 more.
eks_get_addon_detailsC
Get detailed information about an EKS add-on
Inputs: addonName (required), clusterName (required), region.
eks_get_cluster_detailsC
Get detailed information about an EKS cluster including endpoint, status, and configuration
Inputs: clusterName (required), region.
eks_get_fargate_profile_detailsC
Get detailed information about a Fargate profile
Inputs: clusterName (required), fargateProfileName (required), region.
eks_get_node_group_detailsB
Get detailed information about a managed node group including scaling configuration
Inputs: clusterName (required), nodegroupName (required), region.
eks_list_addonsC
List add-ons installed in an EKS cluster
Inputs: clusterName (required), region, maxResults.
eks_list_clustersB
List all EKS clusters in the region
Inputs: region, maxResults.
eks_list_fargate_profilesC
List Fargate profiles in an EKS cluster
Inputs: clusterName (required), region, maxResults.
eks_list_node_groupsC
List managed node groups in an EKS cluster
Inputs: clusterName (required), region, maxResults.
elb_get_load_balancer_detailsA
Get detailed information about a load balancer including listeners and target groups
Inputs: loadBalancerArn (required), region.
elb_get_target_healthC
Get the health status of targets in a target group
Inputs: targetGroupArn (required), region.
elb_list_load_balancersB
List Application Load Balancers (ALB) and Network Load Balancers (NLB)
Inputs: names, region, loadBalancerArns.
iam_get_access_advisorB
Get service last accessed data for an IAM entity (helps identify unused permissions)
Inputs: arn (required), region.
iam_get_policy_detailsA
Get detailed information about an IAM managed policy including the policy document
Inputs: policyArn (required), region.
iam_get_role_detailsA
Get detailed information about an IAM role including trust policy and attached policies
Inputs: roleName (required), region.
iam_list_policiesC
List IAM managed policies
Inputs: scope, region, maxItems, pathPrefix, +1 more.
iam_list_rolesC
List IAM roles in the account
Inputs: region, maxItems, pathPrefix.
iam_list_usersB
List IAM users in the account (basic info only, no credentials)
Inputs: region, maxItems, pathPrefix.
lambda_get_function_configC
Get detailed configuration for a specific Lambda function
Inputs: functionName (required), region, qualifier.
lambda_get_recent_invocationsC
Get recent invocation metrics from CloudWatch for a Lambda function
Inputs: functionName (required), period, region, timeRangeMinutes.
lambda_list_functionsC
List all Lambda functions with optional filters
Inputs: region, runtime, maxResults, functionNamePrefix.
lambda_update_concurrencyB
[REQUIRES APPROVAL] Update reserved concurrency for a Lambda function. The MCP client will prompt for confirmation.
Inputs: reason (required), functionName (required), reservedConcurrency (required), region.
rds_get_eventsC
Get recent RDS events for an instance or cluster
Inputs: region, duration, sourceType, sourceIdentifier.
rds_list_clustersC
List all RDS Aurora clusters
Inputs: region, dbClusterIdentifier.
rds_list_instancesC
List all RDS database instances
Inputs: region, dbInstanceIdentifier.
rds_reboot_instanceB
[REQUIRES APPROVAL] Reboot an RDS database instance. The MCP client will prompt for confirmation.
Inputs: reason (required), dbInstanceIdentifier (required), region, forceFailover.
route53_get_health_check_statusC
Get the status of a Route53 health check
Inputs: healthCheckId (required), region.
route53_list_hosted_zonesC
List all Route53 DNS hosted zones
Inputs: region, maxItems.
route53_list_recordsC
List DNS records in a Route53 hosted zone
Inputs: hostedZoneId (required), region, maxItems, recordName, +1 more.
s3_check_public_accessB
Check if an S3 bucket has any public access by examining public access block configuration, bucket policy status, and ACL settings
Inputs: bucketName (required), region.
s3_get_bucket_infoB
Get detailed information about a specific S3 bucket including versioning, encryption, public access block settings, and lifecycle rules count
Inputs: bucketName (required), region.
s3_get_bucket_metricsA
Get S3 bucket request metrics from CloudWatch including request count, bytes downloaded/uploaded, and error rates
Inputs: bucketName (required), region, filterPrefix, timeRangeHours.
s3_list_bucketsB
List all S3 buckets in the account with their creation date and region
Inputs: region.
sns_get_topic_attributesC
Get attributes for a specific SNS topic
Inputs: topicArn (required), region.
sns_list_topicsB
List all SNS topics in the account
Inputs: region.
sqs_get_queue_attributesC
Get attributes for a specific SQS queue
Inputs: queueUrl (required), region.
sqs_get_queue_metricsC
Get CloudWatch metrics for a specific SQS queue
Inputs: queueName (required), period, region, timeRangeMinutes.
sqs_list_queuesB
List all SQS queues, optionally filtered by name prefix
Inputs: region, maxResults, queueNamePrefix.
vpc_list_security_groupsC
List security groups with inbound/outbound rules
Inputs: vpcId, region, filters, groupIds, +1 more.
vpc_list_subnetsC
List subnets with availability zones and CIDR blocks
Inputs: vpcId, region, filters, subnetIds.
vpc_list_vpcsB
List VPCs with CIDR blocks and tags
Inputs: region, vpcIds, filters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 65 tools
Nearly every tool is scoped to a single AWS service prefix plus a distinct action, so an agent can reliably pick e.g. ecs_list_clusters vs eks_list_clusters vs rds_list_clusters. The only real overlaps are the generic cloudwatch_get_metrics versus service-specific metric tools (sqs_get_queue_metrics, s3_get_bucket_metrics), where an agent may not know which to reach for.
The dominant pattern is service_verb_noun (ec2_list_instances, iam_get_role_details, autoscaling_set_desired_capacity), applied consistently across ~60 tools. Minor deviations: singular names for multi-instance actions (ec2_start_instance, ec2_reboot_instance), the redundant vpc_list_vpcs, and the customer_* group which mixes noun-first (customer_info) with verb-first (customer_initialize, customer_switch, customer_clear).
65 tools is well past the point where an agent can hold the surface in context, and many are narrow list/get pairs per service. While AWS is a genuinely large domain, the set could be consolidated (e.g. generic list/get with a resource-type parameter, or a single metrics tool) rather than one tool per resource kind.
Read coverage is broad across compute, networking, storage, and IAM, and write operations are consistently approval-gated, which fits an incident-response server. However, the surface is almost entirely read-only with no update/delete paths for most services, and critically for an incident tool there is no CloudWatch Logs or Lambda log access, and no per-resource metrics for EC2/ECS beyond the generic metric call.
Maintenance
Related MCP Connectors
AI SRE for AWS teams: your agent reads security, cost and reliability findings, read-only by default
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
AWS cloud security scanners for AI agents — S3, IAM, EC2, EKS, RDS, CloudTrail, CloudWatch Logs
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to AWS infrastructure through AWS IAM Identity Center for secure, natural language management of cloud resources across multiple accounts. It enables users to execute AWS CLI commands, monitor resources, and run remote shell commands on EC2 instances via Systems Manager.1,185 npm15ISC
- FlicenseNot gradedqualityDmaintenanceEnables Claude AI to automatically audit AWS cloud resource configurations, diagnose security vulnerabilities, and generate high-availability optimization reports.-
- FlicenseNot gradedqualityBmaintenanceEnables AI to scan AWS accounts, analyze attack paths, and verify security fixes on a read-only graph of cloud resources.5-
- AlicenseNot gradedqualityCmaintenanceEnables cloud and platform engineers to investigate AWS incidents by grounding responses in approved runbooks and operational evidence, with authenticated access, citations, observability, and human approval before any write action.MIT