Skip to main content
Glama
IcyKallen

AWS CLI MCP Server

by IcyKallen

AWS CLI MCP 服务器

MCP(模型上下文协议)服务器可让您直接从 Claude 生成和执行 AWS CLI 命令。

特征

  • 通过 MCP 协议执行 AWS CLI 命令

  • 获取有关 AWS 服务的详细信息

  • 列出可用的 AWS 服务

  • 完全访问 AWS CLI 功能

Related MCP server: Tembo MCP Server

工具

  • 执行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 并使用凭证进行配置

  • TypeScript

本地安装

  1. 克隆此存储库:

git clone https://github.com/IcyKallen/aws-cli-mcp-server
cd aws-cli-mcp-server
  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 许可证

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IcyKallen/aws-cli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server