whats-running-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whats-running-mcpwhat's running on this machine?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
whats-running-mcp
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.
Related MCP server: DivLens MCP
Tools
Tool | What it answers |
| Full snapshot in one call — use at session start |
| Which agent processes are live? Terminal-attached vs detached/orphan, with pid, uptime, and working directory |
| Is service X actually up? Every TCP LISTEN socket with owning process |
| What persistent services are loaded? |
| Load average, uptime, root-disk free space |
Install
Register with Claude Code (available in every session):
claude mcp add --scope user whats-running -- npx -y whats-running-mcpOr in any MCP client config:
{
"mcpServers": {
"whats-running": {
"command": "npx",
"args": ["-y", "whats-running-mcp"]
}
}
}git clone https://github.com/stcmain/whats-running-mcp.git
cd whats-running-mcp
npm install && npm run build
# then point your client at node /path/to/whats-running-mcp/dist/index.jsPublished as whats-running-mcp on npm and as
io.github.stcmain/whats-running-mcp in the MCP Registry.
Configuration
Env var | Default | Purpose |
|
| Comma-separated substrings that mark a process as an "agent" in |
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).
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.
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.
The server above stays free and MIT either way — it has no upsell in it, no telemetry, and no dependency on the paid kits.
License
MIT © Zachary Pampu
Maintenance
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI to monitor and analyze local system processes through custom tools. Provides real-time access to process information including CPU usage, memory consumption, process counts, and process searching capabilities.Last updated
- Flicense-qualityAmaintenanceA real-time system diagnostics MCP server that gives AI agents live access to CPU, RAM, disk, network, processes, and hardware health metrics, with zero cloud dependency.Last updated7
- Flicense-qualityCmaintenanceGives AI agents real-time access to system metrics, process management, and container orchestration.Last updated
- Flicense-qualityCmaintenanceExposes MCP tools that enable remote LLMs to query local Docker containers, OS processes, and system services in real time.Last updated
Related MCP Connectors
Verified, sourced, real-time intelligence layer for AI agents.
Operate your Linux servers from your LLM. Every action runs through an auditable allowlist.
Sovereign Agent OS — Persistent Memory, Governance & Compliance for AI Agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/stcmain/whats-running-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server