AWS CLI MCP Server

Integrations

  • Allows execution of AWS CLI commands through Node.js, enabling management of AWS resources like S3 buckets and EC2 instances directly from Claude.

  • Uses TypeScript to implement an MCP server that exposes AWS CLI functionality, providing tools to execute commands and retrieve service information for AWS services.

AWS CLI MCP 서버

Claude에서 직접 AWS CLI 명령을 생성하고 실행할 수 있는 MCP(Model Context Protocol) 서버입니다.

특징

  • MCP 프로토콜을 통해 AWS CLI 명령 실행
  • AWS 서비스에 대한 자세한 정보를 얻으세요
  • 사용 가능한 AWS 서비스 나열
  • AWS CLI 기능에 대한 전체 액세스

도구

  • execute-aws-command : AWS CLI 명령 실행
    • 매개변수:
      • command : AWS 서비스(예: s3, ec2, lambda)
      • subcommand (선택 사항): 실행할 명령(예: ls, describe-instances)
      • options (선택 사항): 키-값 쌍 형태의 명령 옵션
  • get-service-details : 특정 AWS 서비스에 대한 세부 정보를 가져옵니다.
    • 매개변수:
      • service : AWS 서비스 이름(예: s3, ec2, lambda)

자원

  • aws-services://list : 사용 가능한 AWS 서비스 목록

설정 및 설치

필수 조건

  • Node.js(v20 이상 권장)
  • npm 또는 yarn
  • AWS CLI가 설치되고 자격 증명으로 구성됨
  • 타입스크립트

로컬 설치

  1. 이 저장소를 복제하세요:

지엑스피1

  1. 종속성 설치:
npm install
  1. 프로젝트를 빌드하세요:
npm run build
  1. AWS CLI가 구성되었는지 확인하세요.
aws configure
  1. MCP 서버를 시작합니다.
npm start

Claude Desktop과 통합

claude_desktop_config.json 에 다음을 추가하세요:

프로젝트를 빌드한 후에는 다음을 사용할 수 있습니다.

{ "mcpServers": { "aws-cli": { "command": "node", "args": [ "/path/to/aws-cli-mcp-server/dist/index.js" ] } } }

Claude에서의 사용 예

S3 버킷 목록

I need to list my S3 buckets.

S3 버킷 만들기

Create a new S3 bucket named "my-test-bucket" in the us-west-2 region.

EC2 서비스 세부 정보 가져오기

What EC2 commands are available?

보안 참고 사항

  • 이 서버는 구성된 AWS 자격 증명과 동일한 권한으로 AWS CLI 명령을 실행합니다.
  • 이 서버에 누가 접근할 수 있는지 주의하세요
  • 프로덕션 사용을 위해 추가 인증 구현을 고려하세요

특허

MIT 라이센스

-
security - not tested
F
license - not found
-
quality - not tested

Claude가 AWS CLI 명령을 생성하고 실행할 수 있도록 하는 MCP 서버로, 사용자는 자연어 대화를 통해 AWS 리소스를 관리할 수 있습니다.

  1. Features
    1. Tools
      1. Resources
        1. Setup and Installation
          1. Prerequisites
          2. Local Installation
          3. Integration with Claude Desktop
        2. Example Usage in Claude
          1. List S3 Buckets
          2. Create an S3 Bucket
          3. Get EC2 Service Details
        3. Security Notes
          1. License
            ID: cz5x56gtb8