Skip to main content
Glama
stcmain

whats-running-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WR_AGENT_PATTERNSNoComma-separated substrings that mark a process as an 'agent' in agent_sessionsclaude,codex,aider,cursor-agent,copilot,goose

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
agent_sessionsA

List AI-agent processes actually running right now (Claude Code, Codex, Aider, ...). Separates terminal-attached sessions (a human can see them) from detached/orphan ones. Reads ps/lsof directly — never transcripts or docs. Patterns configurable via WR_AGENT_PATTERNS.

listening_portsA

All TCP ports currently in LISTEN state with owning process and pid (lsof). The definitive answer to 'is service X actually up?' — nothing hidden, nothing assumed.

daemonsA

Persistent services actually loaded right now: launchctl (macOS, non-Apple) or systemd user services (Linux). Optional case-insensitive substring filter on the label.

system_statsA

Load average, uptime, and root-disk free space.

whats_runningA

Full live snapshot in one call: agent sessions, TCP listeners, loaded daemons, system stats. Use at session start to ground yourself in what is ACTUALLY live instead of stale memory.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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