What's Running

io.github.stcmain由 GitHub 帳號 stcmain 發布v0.1.0更新於 Nov 3, 2026

Ground truth for agent fleets: live agent sessions, listening ports, daemons, system load.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

唯讀 MCP 伺服器,回報本機實際正在執行的內容:代理工作階段、監聽埠、已載入的常駐服務與系統負載。

可以做什麼
  • 一次呼叫取得整台機器的執行狀態快照
  • 列出存活的代理程序,區分終端機附著與脫離/孤兒工作階段,並附上 pid、執行時間與工作目錄
  • 列出所有 TCP 監聽通訊埠及其所屬程序
  • 列出已載入的常駐服務(macOS 用 launchctl,Linux 用 systemd 使用者服務),可依標籤篩選
  • 回報平均負載、執行時間與根磁碟剩餘空間
適用情境
適合在同一台機器上同時執行多個編碼代理工作階段時使用,讓助理確認某個服務、常駐程序或代理是否真的還活著,而不是依賴過期的對話紀錄或記憶檔案。也適合在工作階段開始時做一次快速健康檢查。
執行需求
以 stdio 方式作為本機程序執行;可透過 Claude Desktop 擴充套件包、npx 或從原始碼搭配 Node.js 安裝。以 macOS 為主,Linux 為盡力支援。選用環境變數 WR_AGENT_PATTERNS 可指定哪些程序名稱算作代理。不需要帳號或 API 金鑰。
安裝前請注意
它刻意把本機資訊暴露給模型:程序名稱、pid、工作目錄與通訊埠。README 建議不要把它接到不受信任的用戶端。設計上為唯讀,使用固定指令且不經 shell,指令 10 秒逾時。README 另宣傳了其他付費套件。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

whats-running-mcp

[npm] [license] [Glama]

Ground truth for agent fleets. An MCP server that tells your AI agent what is actually running on the machine — live agent sessions, listening TCP ports, loaded daemons, system load — read straight from the OS (ps / lsof / launchctl / df), never from docs, transcripts, or memory files.

Why

If you run more than one coding-agent session (Claude Code, Codex, Aider…), you've seen this failure mode: an agent "health-checks" a server that died weeks ago, or confidently reports a daemon as live because an old transcript said so. Model memory is a cache with no invalidation. The OS is the source of truth.

This server started as a shell script (whats-running) I wrote after my own fleet of Claude Code sessions kept reporting stale state as live. Wrapping it in MCP means every session grounds itself the same way, automatically.

Tools

ToolWhat it answers
whats_runningFull snapshot in one call — use at session start
agent_sessionsWhich agent processes are live? Terminal-attached vs detached/orphan, with pid, uptime, and working directory
listening_portsIs service X actually up? Every TCP LISTEN socket with owning process
daemonsWhat persistent services are loaded? launchctl (macOS, non-Apple) or systemd user services (Linux), with optional label filter
system_statsLoad average, uptime, root-disk free space

Install

Claude Desktop (one-click, no terminal): download the latest whats-running-mcp-<version>.dxt from Releases and open it with Claude Desktop (double-click, or Settings → Extensions → Install Extension…). The server and its dependencies ship inside the bundle — no npm, no Node install.

Register with Claude Code (available in every session):

bash
claude mcp add --scope user whats-running -- npx -y whats-running-mcp

Or in any MCP client config:

json
{  "mcpServers": {    "whats-running": {      "command": "npx",      "args": ["-y", "whats-running-mcp"]    }  }}
From source
bash
git clone https://github.com/stcmain/whats-running-mcp.gitcd whats-running-mcpnpm install && npm run build# then point your client at node /path/to/whats-running-mcp/dist/index.js

Published as whats-running-mcp on npm and as io.github.stcmain/whats-running-mcp in the MCP Registry.

Configuration

Env varDefaultPurpose
WR_AGENT_PATTERNSclaude,codex,aider,cursor-agent,copilot,gooseComma-separated substrings that mark a process as an "agent" in agent_sessions

Design notes

  • Read-only by construction. Every command is a fixed binary with fixed flags via execFile — no shell, and nothing derived from model input is ever executed. The only model-controlled inputs are a boolean and a substring filter applied in-process.
  • Local information disclosure is the point. The model sees process names, pids, working directories, and ports of your own machine. Don't attach this server to an untrusted client.
  • Best-effort, never blocking. Commands time out at 10s and degrade to empty results rather than erroring the whole snapshot.

Platform: macOS first (my daily driver), Linux best-effort (systemd --user in place of launchctl).

Related free tools

Same idea — read-only, MIT, no telemetry — pointed at different blind spots:

  • whats-loaded-mcp — what is consuming your agent's context before a session starts: skill descriptions ranked by token cost, skills installed more than once, CLAUDE.md/AGENTS.md sizes including what their imports pull in. npx -y whats-loaded-mcp
  • whats-inherited-mcp — what a checkout tells your agent to do before you run it: instruction files, commands wired to auto-run, declared MCP servers, shipped skills. Repo strings come back labelled as data, not instructions. npx -y whats-inherited-mcp
  • whats-allowed-mcp — what your agent can do without asking you: every settings file that contributes permission rules, which one wins, what runs unattended, and the rules your client accepts and then ignores. npx -y whats-allowed-mcp

Who makes this

Built by Shift The Culture — we run a one-person company on AI agents and ship the tooling we needed ourselves. This server is free and MIT-licensed, no strings.

This server is the free, standalone piece of a larger multi-agent setup. The rest of that tooling is paid:

  • Agent Fleet Ops Kit ($29) — the other failure modes of running three or four agents on one box: two sessions editing the same checkout, a dev server nobody owns (so the agent tests a different app than it edits), and MCP servers leaked from crashed sessions that hold ports and RAM for weeks. Prefer PayPal? Same kit on Payhip.
  • Agent Reliability Kit ($29) — a Stop hook and two CLIs that block a turn when an agent claims "done" against a repo, URL, or build that was never actually checked. Prefer PayPal? Same kit on Payhip.

The server above stays free and MIT either way — it has no upsell in it, no telemetry, and no dependency on the paid kits.

Sponsors

This server is MIT and stays MIT. There is no pro edition, no telemetry, and nothing held back from the free build. Sponsorship is how the maintenance gets paid for without any of that changing.

No sponsors yet — the first slot is open. Company sponsors get their name or logo in this section, in the two sibling servers, and on the sponsor page. Tiers, exactly what the placement is, and what it explicitly does not buy: https://shifttheculture.media/sponsor

Individuals: https://paypal.me/ShiftTheCultureLLC — any amount, no perks, no tier.

License

MIT © Zachary Pampu

來源:README.md,提交 3d43058

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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