What's Running MCP Server

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…

Local serverstdioMIT

What is the What's Running MCP Server?

whats-running-mcp is an MCP project maintained in the stcmain/whats-running-mcp repository. The maintainer describes its purpose as “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…”. Read the project documentation for the complete scope.

Installation

The documented npm package is whats-running-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
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

How to install the What's Running MCP Server

{
  "mcpServers": {
    "whats-running": {
      "command": "npx",
      "args": [
        "-y",
        "whats-running-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.