Claude Code (CLI) allows users to run multiple tabs concurrently, each corresponding to a session log file. However, there's no official method to list the session IDs of currently active tabs. This MCP server addresses this by identifying running `claude.exe` processes, determining their current working directories, and then correlating them with the most recently updated session log files to extract session IDs and their corresponding titles, providing a comprehensive overview of your active Claude Code environment.
主要功能
01Provides a `list_active_sessions` tool for detailed session information.
02Identifies active Claude Code tabs and their associated session IDs.
03Specifically designed for Windows operating systems.
04Offers a `copy_session_ids_to_clipboard` tool for easy clipboard integration.
05Resolves tab names using `aiTitle` or `lastPrompt` from session logs.
060 GitHub stars
使用案例
01Obtaining a real-time list of all active Claude Code sessions.
02Managing and identifying specific Claude Code tabs when multiple instances are open.
03Quickly copying session IDs or titles to the clipboard for external use.