Token导航 LogoToken导航TokenDH.com
Sceptre MCP Server logo
运维云端stdio官方级别未说明来源级核验

Sceptre MCP Server

MCP Server

一个基于Sceptre的MCP服务器,为AI代理提供AWS CloudFormation堆栈的全生命周期管理功能。

工具数

21

提示词数

0

GitHub Stars

0

资源数

0
基础设施即代码PythonClaude自动化运维Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Sceptre

提供方

Sceptre

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install sceptre-mcp-server

详细介绍

权杖mcp服务器

它做什么

人工智能代理(Claude、Kiro等)可以连接到此服务器,并通过Sceptre的Python API管理AWS CloudFormation堆栈。服务器公开了22个涵盖整个堆栈生命周期的工具:

  • 堆栈生命周期 --创建、更新、删除、启动
  • 询问 --状态、描述、输出、资源、事件
  • 模板 --生成、验证
  • 差异和漂移 --与部署状态进行比较,检测并显示漂移
  • 更改集合 --创建、描述、列出、执行、删除
  • 发现 --列出堆栈,转储解析配置

需求

  • Python 3.10+
  • A已配置 权杖项目config/templates/ 目录

安装

pip install sceptre-mcp-server

或者直接运行而不安装:

uvx sceptre-mcp-server

MCP客户端配置

基罗

添加 .kiro/settings/mcp.json:

{
  "mcpServers": {
    "sceptre": {
      "command": "uvx",
      "args": ["sceptre-mcp-server"],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

克劳德桌面

添加 claude_desktop_config.json:

{
  "mcpServers": {
    "sceptre": {
      "command": "uvx",
      "args": ["sceptre-mcp-server"]
    }
  }
}

工具参考

每个工具都需要一个 sceptre_project_dir 指向Sceptre项目根的参数。堆栈专用工具还需要 stack_path 相对于 config/ 目录。

堆栈生命周期

工具参数说明
create_stacksceptre_project_dir, stack_path创建新的CloudFormation堆栈
update_stacksceptre_project_dir, stack_path更新现有堆栈
delete_stacksceptre_project_dir, stack_path删除堆栈
launch_stacksceptre_project_dir, stack_path根据需要创建或更新堆栈

询问

工具参数说明
get_stack_statussceptre_project_dir, stack_path获取当前堆栈状态
describe_stacksceptre_project_dir, stack_path获取完整堆栈详细信息
describe_stack_outputssceptre_project_dir, stack_path获取堆栈输出值
describe_stack_resourcessceptre_project_dir, stack_path列出堆栈资源
describe_stack_eventssceptre_project_dir, stack_path获取堆栈事件历史记录

模板

工具参数说明
generate_templatesceptre_project_dir, stack_path渲染CloudFormation模板
validate_templatesceptre_project_dir, stack_path使用CloudFormation验证模板

差异与漂移

工具参数说明
diff_stacksceptre_project_dir, stack_path, diff_type本地模板与部署模板的差异(deepdiff或difflib)
drift_detectsceptre_project_dir, stack_path检测配置漂移
drift_showsceptre_project_dir, stack_path, drifted_only显示漂移细节

更改集合

工具参数说明
create_change_setsceptre_project_dir, stack_path, change_set_name创建变更集
describe_change_setsceptre_project_dir, stack_path, change_set_name描述变更集
list_change_setssceptre_project_dir, stack_path列出所有变更集
execute_change_setsceptre_project_dir, stack_path, change_set_name执行变更集
delete_change_setsceptre_project_dir, stack_path, change_set_name删除更改集

发现和配置

工具参数说明
list_stackssceptre_project_dir, stack_path (可选)列出项目中的堆栈
dump_configsceptre_project_dir, stack_path转储解析堆栈配置

示例用法

一旦连接,AI代理可以调用以下工具:

> List all stacks in my project at /home/user/infra

Calls: list_stacks(sceptre_project_dir="/home/user/infra")

> What's the status of the dev VPC stack?

Calls: get_stack_status(sceptre_project_dir="/home/user/infra", stack_path="dev/vpc.yaml")

> Show me what would change if I deploy the prod API stack

Calls: diff_stack(sceptre_project_dir="/home/user/infra", stack_path="prod/api.yaml")

AWS配置

Sceptre使用标准的AWS证书链。要指定配置文件或区域,请通过MCP客户端配置传递环境变量:

{
  "mcpServers": {
    "sceptre": {
      "command": "uvx",
      "args": ["sceptre-mcp-server"],
      "env": {
        "AWS_PROFILE": "my-profile",
        "AWS_DEFAULT_REGION": "us-west-2"
      }
    }
  }
}

贡献

贡献.md 用于开发设置、测试、预提交挂钩和类型检查。

许可证

阿帕奇-2.0

目录标签

目录标签

基础设施即代码PythonClaude自动化运维AWS管理本地部署AI代理工具CloudFormation

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

21

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP