What's Running

io.github.stcmain由 GitHub 账号 stcmain 发布v0.1.6更新于 Oct 24, 2026

Live OS ground truth for agents: running agent sessions, listening ports, daemons, system load.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

只读 MCP 服务器,向助手报告本机真实运行状态:活跃的 agent 会话、监听端口、守护进程与系统负载。

可以做什么
  • 一次调用获取整机运行快照,适合在会话开始时使用。
  • 列出正在运行的 agent 进程,含 pid、运行时长、工作目录,以及是否附着终端或已脱离。
  • 列出所有 TCP 监听套接字及其所属进程。
  • 列出已加载的常驻服务:macOS 用 launchctl,Linux 用 systemd 用户服务,可按标签过滤。
  • 报告平均负载、运行时长与根磁盘剩余空间。
适用场景
适合在同一台机器上运行多个编码 agent 会话时,让助手核实某个服务、守护进程或另一个 agent 是否真的在运行,而不是依赖过期的对话记录或记忆。也适合在会话开始时对端口和系统负载做一次只读健康检查。
运行要求
以本地 stdio 进程运行,可通过 npx、Claude Desktop 安装包或从源码用 Node.js 构建安装。主要支持 macOS,Linux 为尽力支持。可选环境变量 WR_AGENT_PATTERNS 用于设定哪些进程名子串算作 agent 会话。无需账号、API 密钥或网络访问。
安装前请注意
该服务器会有意把本机信息暴露给模型:进程名、pid、工作目录和监听端口。不要把它接到不受信任的客户端。它本身只读,通过固定命令执行且不经 shell,但读取的是操作系统状态,输出应视为敏感信息。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.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分