Claude Fleet Monitor
Enables switching to the exact Konsole tab of a monitored session using QDBus, and raising the window on other terminals.
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., "@Claude Fleet Monitorwhat sessions are running?"
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.
Claude Fleet Monitor
Fleet monitoring for Claude Code sessions. See all your running sessions at a glance, get notified when one needs input, and jump to the right terminal tab instantly.
Features
TUI Dashboard -- live view of all Claude Code sessions with status, detail, and age
Process Discovery -- finds running sessions via
/proceven before hooks fireMCP Server -- any Claude session can query fleet status programmatically
Terminal Focus -- switch to a session's Konsole tab (or raise its window on other terminals) by name or PID
Desktop Notifications --
notify-sendalerts when a session has been idle for over 2 minutesHooks Integration -- Claude Code hooks emit real-time status (running, idle, error) as sessions interact
Related MCP server: mcp-terminal-server
Install
pip install claude-fleet-monitor
claude-fleet installOr install from source:
git clone https://github.com/andre-motta/claude-fleet-monitor.git
cd claude-fleet-monitor
pip install .
claude-fleet installRestart your Claude Code sessions after the first install to activate hooks.
Upgrading
pip install --upgrade claude-fleet-monitorNo need to re-run claude-fleet install or restart sessions. Hooks and MCP server point to pip-installed entry points, so upgrades take effect immediately.
Dependencies
python3>= 3.10
Optional:
qdbus-- Konsole tab switching (KDE)xdotool-- generic window focus (X11)notify-send-- desktop notifications
Usage
TUI Dashboard
claude-fleet monitor # default 2s refresh
claude-fleet monitor --refresh 5 # 5s refreshOr run the script directly:
~/.claude/bin/fleet-monitor.shFocus a Session
claude-fleet focus autofix # by repo name
claude-fleet focus 2467709 # by PID
claude-fleet focus proc-2467709 # by session IDOn Konsole: switches to the exact tab. On other terminals: raises the window.
Quick Status (no TUI)
claude-fleet statusMCP Tools
Any Claude Code session with the fleet MCP server can use these tools:
Tool | Description |
| All sessions with summary counts |
| Single session detail by ID or prefix |
| Sessions idle over 2 minutes |
| Focus terminal tab for a session |
| Remove stale ended session files |
Just ask Claude: "what sessions are running?" or "focus on the autofix session".
How It Works
Claude Code Session A --\ <-- MCP server
Claude Code Session B ---|-- hooks --> ~/.claude/fleet/*.json <-- TUI monitor
Claude Code Session C --/ <-- fleet-focusHooks in
~/.claude/settings.jsonfire on session events (start, prompt, tool use, stop, end)Each hook writes/updates a JSON status file in
~/.claude/fleet/Process discovery also scans
/procforclaudeprocesses to find sessions that started before hooks were installedThe TUI monitor, MCP server, and CLI all read these status files
Session States
State | Meaning |
| Session just began |
| Processing a prompt or using tools |
| Finished responding, waiting for input |
| Turn failed (API error) |
| Session closed |
| Found via process scan, no hook data yet |
Known Limitations
Same-name tabs in different windows (Konsole/KDE): When multiple sessions share the same repo name (e.g. two
autofixsessions) and live in different Konsole windows, the focus command will switch to the correct tab but may raise the wrong window. Workaround: keep same-name sessions grouped in the same Konsole window.Wayland window activation: On Wayland/KDE, window raising uses KWin scripting via DBus. Other Wayland compositors may not support programmatic window activation.
Configuration
Environment Variables
Variable | Default | Description |
|
| Directory for session status files |
Uninstall
claude-fleet uninstall # removes everything including data
claude-fleet uninstall --keep-data # keeps ~/.claude/fleet/Publishing
This project uses trusted publishing via GitHub Actions. To release:
git tag v0.1.0
git push origin v0.1.0The workflow builds and publishes to PyPI automatically.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/andre-motta/claude-fleet-monitor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server