AWS Instances MCP Server logo

AWS Instances MCP Server

by codewithdpk

This is a Model Context Protocol (MCP) server that retrieves and lists running AWS EC2 instances for a specified region using the AWS SDK. It allows users to easily access information about their AWS EC2 instances.

View on GitHub

Last updated: N/A

What is AWS Instances MCP Server?

This is a Model Context Protocol (MCP) server designed to retrieve and list running AWS EC2 instances for a specified region. It leverages the AWS SDK to interact with AWS services and provide instance details.

How to use AWS Instances MCP Server?

To use this server, first clone the repository, install dependencies using npm install, configure your AWS credentials in a .env file, and build the server using npm run build. Then, configure Claude for Desktop to connect to the server by adding it to the mcpServers configuration.

Key features of AWS Instances MCP Server

  • Retrieve running EC2 instances for a specified AWS region

  • Support for multiple availability zones

  • Detailed instance information (Instance ID, Instance Type, Public IP, Private IP, Instance State)

  • Uses Model Context Protocol (MCP)

Use cases of AWS Instances MCP Server

  • Monitoring AWS EC2 instance status

  • Automating EC2 instance information retrieval

  • Integrating EC2 instance data with other applications

  • Providing context to AI models about EC2 instances

FAQ from AWS Instances MCP Server

What is MCP?

MCP stands for Model Context Protocol.

What AWS permissions are required?

The AWS credentials need appropriate EC2 read permissions.

What Node.js version is required?

Node.js version 18 or later is required.

How do I configure AWS credentials?

Create a .env file in the project root with your AWS Access Key ID and Secret Access Key.

Where can I find the Claude for Desktop configuration file?

The Claude for Desktop App configuration is located at ~/Library/Application Support/Claude/claude_desktop_config.json.