AWS_MCP_Server

dileepkumar10/AWS_MCP_Server

3.1

If you are the rightful owner of AWS_MCP_Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Model Context Protocol (MCP) server is a framework designed to simplify cloud application deployment using context-aware infrastructure automation with AWS services.

šŸš€ AWS MCP Server

The Model Context Protocol (MCP) server is a powerful framework designed to simplify cloud application deployment by leveraging context-aware infrastructure automation using native AWS services.


šŸ”§ Features

  • āœ… Context-driven deployment (team, env, region)
  • āš™ļø Auto-scaling with smart defaults
  • ā˜ļø Native AWS integration (EC2, Lambda, ECS, RDS, S3, EKS)
  • šŸ”„ CI/CD support with CodePipeline, CodeBuild, CodeDeploy
  • šŸ’° Cost optimization via AWS Cost Explorer
  • šŸ” IAM & KMS integrated for secure deployments
  • šŸ“„ YAML-based manifest system

šŸ“¦ Supported AWS Services

šŸ–„ļø Compute

  • EC2
  • Lambda

šŸ“¦ Containers

  • ECS
  • EKS
  • ECR

šŸ—„ļø Storage & Databases

  • S3
  • RDS

šŸ” Identity & Security

  • IAM
  • KMS
  • ACM

šŸ”§ CI/CD

  • CodePipeline
  • CodeBuild
  • CodeDeploy
  • CodeCommit

šŸ“Š Monitoring & Billing

  • CloudWatch
  • CloudWatch Logs
  • Cost Explorer
  • Organizations
  • Tags & Resource Groups

🧠 Why MCP?

FeatureTraditional APIMCP
DeclarativeāŒāœ…
Context-AwareāŒāœ…
Secure by DefaultāŒāœ…
Cost-AwareāŒāœ…
Pluggable DeploymentsāŒāœ…

šŸš€ Get Started

1. Clone the Repo

git clone https://github.com/yourname/aws-mcp-server.git
cd aws-mcp-server

2. Install uv

pip install uv

3. Install Project Requirements

uv pip install -r requirements.txt

4. Install GitHub Copilot Chat

  • Open VS Code
  • Go to Extensions → GitHub Copilot Chat → Install

šŸ–„ļø VS Code Configuration

Open VS Code Command Palette with Ctrl+Shift+P, then:

  • Search for: Preferences: Open User Settings (JSON)
  • Paste and edit the following:
{
  "mcp": {
    "servers": {
      "aws": {
        "command": "uv",
        "args": [
          "run",
          "--with",
          "mcp[cli],boto3",
          "mcp",
          "run",
          "D:\\Dileep\\MCPAws\\awsmcp\\main.py"
        ]
      }
    }
  },
  "files.autoSave": "afterDelay"
}

šŸ†• Creating a New MCP Server

Step-by-step Guide:

# 1. Install GitHub Copilot Chat Extension (VS Code)
# 2. Install uv package manager
pip install uv

# 3. Initialize a new MCP project
uv init my-first-mcp-server
cd my-first-mcp-server

# 4. Add MCP CLI to your project
uv add "mcp[cli]"

# 5. (Optional) Fix any typer type errors
pip install --upgrade typer

6. Write code in main.py

Example:

from mcp import App, Context

app = App(name="aws-mcp-server")

@app.task()
def deploy(ctx: Context):
    print(f"Deploying to {ctx.env} in region {ctx.region}")

7. Update VS Code settings.json

{
  "mcp": {
    "servers": {
      "aws": {
        "command": "uv",
        "args": [
          "run",
          "--with",
          "mcp[cli],boto3",
          "mcp",
          "run",
          "D:\\Dileep\\MCPAws\\awsmcp\\main.py"
        ]
      }
    }
  },
  "files.autoSave": "afterDelay"
}

šŸ¤ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


šŸ“¬ Contact

Author: R S Dileep kumar šŸ“§ Email: kumardileep2462000@gmail.com šŸ”— LinkedIn: https://linkedin.com/in/r-s-dileep


šŸ·ļø Tags

#AWS #MCP #ModelContextProtocol #DevOps #CloudAutomation
#GitHubCopilot #Python #uv #IaC #CloudNative

MCP makes your AWS deployments smarter, faster, and context-aware. šŸŽÆ