claude-sessions-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_sessionsA | List all tmux sessions on the current user's tmux server. Returns name, window count, created/activity timestamps (ISO 8601), and attached status. Returns an empty list when no tmux server is running. |
| has_sessionA | Check whether a named tmux session exists. Cheap precondition for capture_pane, send_keys, or kill_session. |
| list_windowsA | List windows within a named session (index, name, active flag, pane count). |
| capture_paneA | Capture the last N lines visible in the session's active pane (default 100, max 10000). Returns the joined text. The primary primitive for "is my training still running? show me the latest output". |
| new_sessionA | Start a new detached tmux session. Always starts a shell (so the session survives after the initial command finishes). If |
| send_keysA | Send key combos or text to the session's active pane. Use for interrupts (C-c), end-of-input (C-d), or typing a command. Text is sent literally. Enter is appended by default; set enter=false for raw key combos. |
| kill_sessionA | Terminate a named tmux session. Any processes running inside are sent SIGHUP by tmux. Errors if the session does not exist. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/LukeLamb/claude-sessions-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server