aws-mcp-server

This repository provides an MCP server that uses the AWS SDK to retrieve and list running EC2 instances for a specified AWS region. It requires Node.js, an AWS account, and

2
0

AWS Instances MCP Server

Overview

This is an MCP server designed to retrieve and list running AWS EC2 instances for a specified region using the AWS SDK.

Prerequisites

  • Node.js (version 18 or later)
  • AWS Account
  • AWS Access Key and Secret Access Key

Features

The server retrieves running EC2 instances for a specified AWS region, supporting multiple availability zones. It provides detailed instance information, including Instance ID, Instance Type, Public IP, Private IP, and Instance State.

Tools

  • get-aws-instances: Retrieves list of running AWS instances for a given region

Example Usage

server.tool("get-aws-instances", {
  region: "ap-south-1"
})

Technologies

  • MCP
  • TypeScript
  • AWS SDK
  • Model Context Protocol (MCP)
  • Zod for type validation

Repository

CO
codewithdpk

codewithdpk/aws-mcp-server

Created

March 28, 2025

Updated

March 28, 2025

Language

JavaScript

Category

System Tools