Skip to main content
Glama

aws-mcp

AWS MCP

模型上下文协议 (MCP)服务器,使 Claude 等 AI 助手能够与您的 AWS 环境进行交互。这允许在对话过程中使用自然语言查询和管理您的 AWS 资源。想想 Amazon Q 更好的替代方案吧。

AWS MCP

特征

  • 🔍 使用自然语言查询和修改 AWS 资源
  • ☁️ 支持多个 AWS 配置文件和 SSO 身份验证
  • 🌐 多区域支持
  • 🔐 安全凭证处理(没有凭证暴露给外部服务,使用您的本地凭证)
  • 🏃‍♂️ 使用您的 AWS 凭证进行本地执行

先决条件

安装

  1. 克隆存储库:
git clone https://github.com/RafalWilinski/aws-mcp cd aws-mcp
  1. 安装依赖项:
pnpm install # or npm install

用法

  1. 打开 Claude 桌面应用程序并转到“设置”->“开发者”->“编辑配置”

克劳德·塞瑟斯

  1. 将以下条目添加到您的claude_desktop_config.json中:
{ "mcpServers": { "aws": { "command": "npm", // OR pnpm "args": [ "--silent", "--prefix", "/Users/<YOUR USERNAME>/aws-mcp", "start" ] } } }

重要提示:将/Users/<YOUR USERNAME>/aws-mcp替换为您的项目目录的实际路径。

  1. 重启 Claude 桌面应用。你应该会看到如下内容:

Claude MCP 连接状态

  1. 首先选择一个 AWS 配置文件,或者通过询问以下问题来采取行动:
    • “列出可用的 AWS 配置文件”
    • “列出我账户中的所有 EC2 实例”
    • “显示 S3 存储桶及其大小”
    • “us-east-1 部署了哪些 Lambda 函数?”
    • “列出所有 ECS 集群及其服务”

nvm一起使用

首先从源代码构建并添加以下配置:

{ "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" ] } } }

故障排除

查看日志:

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

开发中的功能

  • [ ] MFA 支持
  • [ ] 缓存 SSO 凭证以防止过于急切地刷新它们

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

模型上下文协议 (MCP) 服务器,使 Claude 等 AI 助手能够与您的 AWS 环境进行交互。这允许在对话过程中使用自然语言查询和管理您的 AWS 资源。想想 Amazon Q 更好的替代方案吧。

  1. 特征
    1. 先决条件
      1. 安装
        1. 用法
          1. 与nvm一起使用
            1. 故障排除
              1. 开发中的功能

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  Model Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.
                  Last updated -
                  10
                  53
                  16
                  JavaScript
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol (MCP) server that allows AI agents like Claude to interact with the Aligo SMS API to send text messages and retrieve related information.
                  Last updated -
                  JavaScript
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  An MCP server that enables Claude to generate and execute AWS CLI commands, allowing users to manage AWS resources through natural language conversations.
                  Last updated -
                  1
                  TypeScript
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.
                  Last updated -
                  TypeScript
                  • Apple

                View all related MCP servers

                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/RafalWilinski/aws-mcp'

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