
ebman
io.github.tombaldwin由 GitHub 账号 tombaldwin 发布v0.49.0更新于 Nov 7, 2026
MCP server for AWS Elastic Beanstalk: read the fleet; --allow-writes adds two-phase writes.
概览
面向 AWS Elastic Beanstalk 的 MCP 服务器,让助手读取环境集群状态、排查异常环境,并在开启后执行需确认的写操作。
- 可以做什么
- 读取集群状态:环境、Worker 队列、选项设置、事件、版本、近期日志、lint、漂移与成本
- 故障排查:汇总事件、告警、实例健康与最近部署的诊断包
- 查看日志与 Worker 队列,包括死信队列内容
- 仅在允许写入时执行部署、重启、重建、终止、修改选项,以及死信队列重发、删除或清空;每次先返回计划,再由单独的确认步骤派发
- 在任意服务器(包括只读服务器)上声明全集群部署冻结
- 适用场景
- 适合运维 Elastic Beanstalk 环境的场景:希望助手直接回答集群健康状况、诊断红色告警环境,或执行常规部署与重启,而不必调用 AWS CLI 再解析输出。
- 运行要求
- 以 stdio 本地进程运行,可通过 Cargo、Homebrew 或预编译二进制安装(需 Rust 1.94.1+,支持 macOS 与 Linux x86_64)。需要标准 AWS 凭证链,通过 AWS_PROFILE 与 AWS_REGION 或常规 AWS 配置文件、实例角色配置。写工具需以 --allow-writes 启动,可只授权指定操作。
安装
在 SourceWeft 中
- 打开 控制台中的 ebman,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ebman
[crates.io] [downloads] [CI] [license] [homebrew] [by Polymorphism]
A k9s-style TUI for AWS Elastic Beanstalk. Triage red envs, stream logs, edit option settings, deploy new versions — all from the keyboard. If you've used k9s with Kubernetes, the muscle memory carries: : for commands, / to filter, Enter to drill in, ? for context-aware help.
Install · Quickstart · Triage workflow · Highlights · Why ebman? · Docs
[ebman demo — filter → :why → drill into Detail/Instances → embedded SSM session]
Captured from
ebman --demo, the synthetic-fleet mode that ships with the binary. Regenerate the gif withvhs demo.tapeafter a code change.
Install
Homebrew (macOS / Linux):
Cargo:
Pre-built binary: download the tarball for your platform from the GitHub Releases page, verify the *.sha256 next to it, extract, and put ebman on your PATH.
Tested on Rust 1.94.1+ (the AWS SDK sets the floor). macOS (Apple Silicon + Intel) and Linux x86_64. AWS SDK uses the standard credentials chain (AWS_PROFILE / AWS_REGION env, ~/.aws/credentials, instance role, etc.).
For the prettier glyph set (Powerline pill chain, Nerd Font tab icons), see docs/fonts.md. The default icons = "unicode" works fine in any terminal.
Quickstart
Once running, press ? for a per-context keymap (Detail, DLQ, Action menu, Saved-configs overlay all have scoped help).
Triage workflow
Production env goes red at 3am. From your terminal:
ebman— launch;prod-apishows up tinted red in the table/prod-api↵— jump to it!— open:why: recent events / alarms / instance health / last deploys, all in one overlay:diff prod-api staging-api— confirm staging is still on the previous version:rollback— redeploy the last-known-good version label, with a 5-second undo window- Action + outcome land in
~/.cache/ebman/audit.log
Five keystrokes to triage, one command to fix. The AWS-console alternative is a minimum of five page-loads, two tabs, and zero audit trail.
Built for operators who triage EB envs daily and don't want the AWS console round-trip — or the eb deploy ; aws elasticbeanstalk describe-events --max-items 50 | jq ... shell-pipeline every time something goes red.
Highlights
- Live env table with sort / filter / group-by-app / health sparkline / severity tints / mouse support.
- Per-env drill-down — tabs for Health / Events / Instances / Metrics / Queue / Logs / Config / App.
- Your own metrics — the App tab shows an env's CloudWatch metrics, RDS / ElastiCache rows and top log errors from
app.ENV.*inconfig.toml; with no config it shows what discovery found, andeedits the config in a form, no restart needed. - Red-env triage —
:whyopens a one-screen diagnostic: recent events + alarms + instance health + last deploys, with a DLQ peek for Worker envs. - Incident mode —
:incident START "headline"freezes deploys fleet-wide, pins a header banner with a running clock, and audit-logs the window;ebman freezedeclares a freeze no session owns, holding untilebman thaw;:event-tailstreams EB events across every env in one overlay;ebman audit replay <line-id>re-runs an audited action for post-incident review. - Honest health — envs with alarms in ALARM, DLQs with messages, or stale platforms surface on the row itself, not behind a tab.
- Forensics —
:diff env-A env-Bfor option-setting deltas,:lineagefor the deploy timeline,:alarm-history NAMEfor CW state transitions,:config-diff-localagainst a local EB CLI saved config. - Daily-driver writes — env vars, tags, deploys (label / local zip / S3, with
--preview), saved configs, CW alarms CRUD, ALB scheme, instance type, capacity, deployment policy, plus a generic:set-optionescape hatch. - Worker / SQS — DLQ viewer with resend, typed-name purge, bulk delete, peek-and-tail.
- SSM —
:ssh i-abcopens an embedded session;:ssm-run "<cmd>"fans a shell command across the env's instances. - Multi-account / multi-region —
:region allparallel queries (every read and write goes to the row's own region;NAME@REGIONpicks one of two same-named envs),:account NAMEviasts:AssumeRole,:find-env/:org-healthwalk every~/.awsprofile + configured account. - Bulk ops —
spacemulti-selects, then:batch-*fans out in parallel with audit + pending-pill rows. - Safety + audit —
--read-onlyflag, typed-name confirms, per-env / per-account read-only pins, full audit log at~/.cache/ebman/audit.log. - Headless / scriptable —
--control-socket PATH,ebman envs --json,ebman action rebuild --env NAME,ebman ctl screen / state / cmd <:cmd>. - Agent-native (MCP) —
ebman mcp serveexposes the read surface (envs, worker queues,whytriage bundles, recent logs, lint, drift, option settings, events, versions, cost) as MCP tools, so Claude Code or any MCP client can query your fleet first-class instead of shelling out and re-parsing. Two-phase writes —deploy/restart/rebuild/terminate/set_option/dlq_resend/dlq_delete/dlq_purge(the tool returns a plan, thenconfirm_actiondispatches) — are available when your client can put a question to you: every confirmation becomes a dialog naming the action, what it forecloses, and the identity it would use, and nothing dispatches unless the confirmation is approved. (ebman cannot tell you answering from a client that answers for itself — seedocs/safety-and-privacy.md— so on a headless or scripted client, prefer--read-onlyor a narrow--allow-writes.) Clients that cannot be asked need--allow-writes, or--allow-writes=dlq_resend,dlq_deleteto grant only some;--read-onlyrefuses writes on that server outright. Any server, a read-only one included, lets an agent declare a fleet freeze (freeze_fleet), since that only takes writes away; lifting it stays with you (ebman thaw). All of it honours the same safety pins, read-only, and cross-process incident freeze the TUI uses, and audits every dispatch and every refusal.
Why ebman?
You probably already have one of these:
ebman is k9s-for-EB: keyboard-driven, drill-down-first, focused on operators who triage red envs daily and want one screen for "what's wrong" and "what changed". The nearest peer in the broader Rust-TUI / k9s-style space is e1s (k9s-for-ECS); ebman is broader on the write surface and adds multi-account fan-out, an audit log, per-env safety pins, and an embedded SSM-session pane.
Documentation
- Keys — normal mode, detail view tabs, DLQ viewer.
- Command reference — every
:commandgrouped by job (navigation, per-env, write, multi-account, bulk). - Configuration —
~/.config/ebman/config.toml, plugin commands, project-local pinning. - Fonts — installing a Nerd Font for the Powerline glyph set.
- Headless interface —
--control-socket+ebman ctlfor scripts / CI; the CLI subcommands; shell completion (ebman completions); and theebman mcp serveMCP server (read tools + confirmation-gated two-phase writes) for Claude Code and other agents — runebman mcp setupfor the exact registration commands. - Safety, privacy, what's stored locally — read-only mode, audit log, bug-report scrubbing.
- Architecture — module map, how a keystroke becomes an AWS call, and the invariants the compiler doesn't enforce.
- Development — build / test / clippy + distribution notes.
- Contributing — setup, the pre-PR checklist, and what makes a change easy to accept.
License
Dual-licensed under MIT or Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.
Built and open-sourced by Polymorphism — enterprise software, cloud & AI. More on the ebman product page.
MCP Registry name: mcp-name: io.github.tombaldwin/ebman
来源:README.md,提交 6e11e3a
工具
0版本历史
16- v0.48.0Oct 29, 2026
- v0.47.1Oct 24, 2026
- v0.46.2Oct 23, 2026
- v0.46.0Oct 22, 2026
- v0.45.2Sep 30, 2026
- v0.45.1Sep 30, 2026
- v0.45.0Sep 26, 2026
- v0.44.0Sep 22, 2026
- v0.43.0Sep 22, 2026
- v0.42.0Sep 20, 2026
- v0.41.0Sep 19, 2026
- v0.40.0Sep 19, 2026
- v0.39.1Sep 18, 2026
- v0.39.0Sep 18, 2026
- v0.38.0Sep 17, 2026
- v0.37.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分