ebman

io.github.tombaldwin由 GitHub 帳號 tombaldwin 發布v0.48.0更新於 Oct 29, 2026

MCP server for AWS Elastic Beanstalk: read the fleet; --allow-writes adds two-phase writes.

概覽

AI 產生的概覽

針對 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 啟動,可只授權指定操作。
安裝前請注意
寫入工具可部署、重啟、重建、終止環境,以及刪除或清空死信佇列訊息,會直接影響線上 AWS 資源。伺服器無法判斷用戶端是否真的向使用者確認,因此在無介面或腳本化用戶端上建議使用 --read-only 或縮小範圍的 --allow-writes。它使用你的 AWS 身分並可跨帳戶扮演角色;操作與拒絕都會寫入本機稽核日誌。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ebman,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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 with vhs demo.tape after a code change.

Install

Homebrew (macOS / Linux):

bash
brew install tombaldwin/tap/ebman

Cargo:

bash
cargo install ebman

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

bash
ebman                                  # launch the TUIebman --read-only                      # disable all write surfaces (audit-friendly)ebman --demo                           # synthetic fleet (no AWS calls) — for screenshots / VHSebman --versionebman --help

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:

  1. ebman — launch; prod-api shows up tinted red in the table
  2. /prod-api ↵ — jump to it
  3. ! — open :why: recent events / alarms / instance health / last deploys, all in one overlay
  4. :diff prod-api staging-api — confirm staging is still on the previous version
  5. :rollback — redeploy the last-known-good version label, with a 5-second undo window
  6. 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.* in config.toml; with no config it shows what discovery found, and e edits the config in a form, no restart needed.
  • Red-env triage — :why opens 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 freeze declares a freeze no session owns, holding until ebman thaw; :event-tail streams 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-B for option-setting deltas, :lineage for the deploy timeline, :alarm-history NAME for CW state transitions, :config-diff-local against 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-option escape hatch.
  • Worker / SQS — DLQ viewer with resend, typed-name purge, bulk delete, peek-and-tail.
  • SSM — :ssh i-abc opens an embedded session; :ssm-run "<cmd>" fans a shell command across the env's instances.
  • Multi-account / multi-region — :region all parallel queries (every read and write goes to the row's own region; NAME@REGION picks one of two same-named envs), :account NAME via sts:AssumeRole, :find-env / :org-health walk every ~/.aws profile + configured account.
  • Bulk ops — space multi-selects, then :batch-* fans out in parallel with audit + pending-pill rows.
  • Safety + audit — --read-only flag, 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 serve exposes the read surface (envs, worker queues, why triage 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, then confirm_action dispatches) — 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 — see docs/safety-and-privacy.md — so on a headless or scripted client, prefer --read-only or a narrow --allow-writes.) Clients that cannot be asked need --allow-writes, or --allow-writes=dlq_resend,dlq_delete to grant only some; --read-only refuses 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:

ToolWhat it's good atWhere it falls short for daily EB triage
AWS ConsoleApproachable, complete UI surface.Page loads, eventually-consistent state, 5 tabs to triage one env. Fine for occasional ops, painful at 3am.
eb CLIA single project's deploy flow (eb deploy, eb logs).No multi-env view, no live drill-down, no diff between envs, no SQS DLQ workflow.
aws elasticbeanstalkRaw API access, scriptable.You build the workflow out of --query / jq pipelines yourself. No live updates, no triage view.
k9s + EKSThe pattern this tool is modelled on.Doesn't exist for Elastic Beanstalk.

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 :command grouped 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 ctl for scripts / CI; the CLI subcommands; shell completion (ebman completions); and the ebman mcp serve MCP server (read tools + confirmation-gated two-phase writes) for Claude Code and other agents — run ebman mcp setup for 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
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

16
  1. v0.48.0最新Oct 29, 2026
  2. v0.47.1Oct 24, 2026
  3. v0.46.2Oct 23, 2026
  4. v0.46.0Oct 22, 2026
  5. v0.45.2Sep 30, 2026
  6. v0.45.1Sep 30, 2026
  7. v0.45.0Sep 26, 2026
  8. v0.44.0Sep 22, 2026
  9. v0.43.0Sep 22, 2026
  10. v0.42.0Sep 20, 2026
  11. v0.41.0Sep 19, 2026
  12. v0.40.0Sep 19, 2026
  13. v0.39.1Sep 18, 2026
  14. v0.39.0Sep 18, 2026
  15. v0.38.0Sep 17, 2026
  16. v0.37.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分