AWS CLI MCP Server

by ClockworkCubed

139 downloads Not rated yet
GitHub

About

MCP server that acts as a thin wrapper around the local AWS CLI command

Explore

- Thin Wrapper: Direct proxy to local AWS CLI commands
- Security: Respects existing AWS CLI credentials and permissions
- Compatibility: Works with all AWS CLI commands and services
- Configuration: Uses existing AWS CLI profiles and configurations

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name AWS CLI MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- AWS CLI installed and configured locally
- Valid AWS credentials (via aws configure, IAM roles, or environment variables)

brew install awscli

aws configure


bash

Start the MCP server using Python:

python aws_mcp.py

The server will start and log:

INFO     Starting MCP server 'aws-cli-mcp' with transport 'stdio'

The server runs in stdio mode and communicates via the Model Context Protocol over standard input/output.

{
  "tool": "execute_aws_command_tool",
  "arguments": {
    "args": ["sts", "get-caller-identity"]
  }
}
{
  "args": ["service", "command", "--option", "value"]
}

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "aws cli mcp server": {
            "aws-cli-mcp": {
                "command": "python",
                "args": [
                    "aws_mcp.py"
                ]
            }
        }
    }
}

McpServers

{
    "aws-cli-mcp": {
        "command": "python",
        "args": [
            "aws_mcp.py"
        ]
    }
}

Tests

A Model Context Protocol (MCP) server that acts as a thin wrapper around the local AWS CLI command, providing AI assistants with secure access to AWS services through the familiar AWS CLI interface.

Overview

This MCP server allows AI assistants to interact with AWS services by proxying commands to the local AWS CLI installation. It provides a secure, controlled way for AI systems to manage AWS resources while leveraging existing AWS CLI configurations and credentials.

Features

- Thin Wrapper: Direct proxy to local AWS CLI commands
- Security: Respects existing AWS CLI credentials and permissions
- Compatibility: Works with all AWS CLI commands and services
- Configuration: Uses existing AWS CLI profiles and configurations

Prerequisites

- AWS CLI installed and configured locally
- Valid AWS credentials (via aws configure, IAM roles, or environment variables)

Installation

Prerequisites

1. Python 3.10+ - Required for FastMCP compatibility
2. AWS CLI - Must be installed and configured locally

   # Install via homebrew (macOS)
brew install awscli

# Or via pip
pip install awscli

# Configure with your credentials
aws configure

Install Dependencies

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.