Skip to main content
Glama

AWS MCP

Ein Model Context Protocol (MCP) -Server ermöglicht KI-Assistenten wie Claude die Interaktion mit Ihrer AWS-Umgebung. Dies ermöglicht Abfragen in natürlicher Sprache und die Verwaltung Ihrer AWS-Ressourcen während der Konversation. Stellen Sie sich eine bessere Alternative zu Amazon Q vor.

AWS MCP

Merkmale

  • 🔍 AWS-Ressourcen mithilfe natürlicher Sprache abfragen und ändern

  • ☁️ Unterstützung für mehrere AWS-Profile und SSO-Authentifizierung

  • 🌐 Unterstützung mehrerer Regionen

  • 🔐 Sichere Handhabung der Anmeldeinformationen (es werden keine Anmeldeinformationen an externe Dienste weitergegeben, Ihre lokalen Anmeldeinformationen werden verwendet)

  • 🏃‍♂️ Lokale Ausführung mit Ihren AWS-Anmeldeinformationen

Related MCP server: AWS MCP Server

Voraussetzungen

Installation

  1. Klonen Sie das Repository:

git clone https://github.com/RafalWilinski/aws-mcp
cd aws-mcp
  1. Installieren Sie Abhängigkeiten:

pnpm install
# or
npm install

Verwendung

  1. Öffnen Sie die Claude-Desktop-App und gehen Sie zu Einstellungen -> Entwickler -> Konfiguration bearbeiten

Claude-Einstellungen

  1. Fügen Sie den folgenden Eintrag zu Ihrer claude_desktop_config.json hinzu:

{
  "mcpServers": {
    "aws": {
      "command": "npm", // OR pnpm
      "args": [
        "--silent",
        "--prefix",
        "/Users/<YOUR USERNAME>/aws-mcp",
        "start"
      ]
    }
  }
}

Wichtig: Ersetzen Sie /Users/<YOUR USERNAME>/aws-mcp durch den tatsächlichen Pfad zu Ihrem Projektverzeichnis.

  1. Starten Sie die Claude-Desktop-App neu. Sie sollten Folgendes sehen:

Claude MCP-Verbindungsstatus

  1. Beginnen Sie mit der Auswahl eines AWS-Profils oder springen Sie zur Aktion, indem Sie fragen:

    • „Liste der verfügbaren AWS-Profile“

    • „Alle EC2-Instanzen in meinem Konto auflisten“

    • „Zeigen Sie mir S3-Buckets mit ihren Größen“

    • „Welche Lambda-Funktionen werden in us-east-1 eingesetzt?“

    • „Listet alle ECS-Cluster und ihre Dienste auf“

Verwendung mit nvm

Erstellen Sie zuerst aus der Quelle und fügen Sie die folgende Konfiguration hinzu:

{
  "mcpServers": {
    "aws": {
      "command": "/Users/<USERNAME>/.nvm/versions/node/v20.10.0/bin/node",
      "args": [
        "<WORKSPACE_PATH>/aws-mcp/node_modules/tsx/dist/cli.mjs",
        "<WORKSPACE_PATH>/aws-mcp/index.ts",
        "--prefix",
        "<WORKSPACE_PATH>/aws-mcp",
        "start"
      ]
    }
  }
}

Fehlerbehebung

So zeigen Sie Protokolle an:

tail -n 50 -f ~/Library/Logs/Claude/mcp-server-aws.log
# or
tail -n 50 -f ~/Library/Logs/Claude/mcp.log

Funktionen in der Entwicklung

  • [ ] MFA-Unterstützung

  • [ ] SSO-Anmeldeinformationen zwischenspeichern, um zu verhindern, dass sie zu schnell aktualisiert werden

Available Tools

3 tools
list-credentialsB

List all AWS credentials/configs/profiles that are configured/usable on this machine

Inputs: no named parameters.

run-aws-codeC

Run AWS code

Inputs: code (required), reasoning (required), profileName, region.

select-profileA

Selects AWS profile to use for subsequent interactions. If needed, does SSO authentication

Inputs: profile (required), region.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: list-credentials handles credential enumeration, run-aws-code executes AWS code, and select-profile manages profile selection and authentication. An agent can easily differentiate between these three functions.

    Naming Consistency5/5

    All tool names follow a consistent verb-noun pattern with hyphens (list-credentials, run-aws-code, select-profile), making them predictable and readable throughout the set.

    Tool Count2/5

    With only 3 tools, the server feels under-scoped for AWS operations, which typically involve many services and actions. This limited set may not support common workflows like managing resources (e.g., S3, EC2) or performing CRUD operations, making it insufficient for the domain.

    Completeness1/5

    The tool set is severely incomplete for AWS functionality, lacking core operations such as creating, updating, or deleting resources, querying service status, or handling specific AWS services. This will cause significant agent failures in typical AWS tasks.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers