Skip to content
VS Code

AWS CLI MCP Server for VS Code

io.github.musaddiq-dev/aws-cli-mcp-server

Python MCP server for AWS CLI inspection and operations

client:VS Code transport:stdio runtime:pypi

Install AWS CLI MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "aws-region",
      "description": "AWS_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-profile",
      "description": "AWS_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-mcp-working-dir",
      "description": "AWS_MCP_WORKING_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-mcp-require-confirmation",
      "description": "AWS_MCP_REQUIRE_CONFIRMATION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-mcp-log-level",
      "description": "AWS_MCP_LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "aws-cli-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mdev-aws-mcp-server"
      ],
      "env": {
        "AWS_REGION": "${input:aws-region}",
        "AWS_PROFILE": "${input:aws-profile}",
        "AWS_MCP_WORKING_DIR": "${input:aws-mcp-working-dir}",
        "AWS_MCP_REQUIRE_CONFIRMATION": "${input:aws-mcp-require-confirmation}",
        "AWS_MCP_LOG_LEVEL": "${input:aws-mcp-log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

AWS CLI MCP Server in other clients