Session Manager & MCP Server for Claude Code — manage sessions, automate hooks, and extend AI with 12 MCP tools
Ocean Dock provides 11 read-only session management tools with consistent naming (verb_noun pattern: list_, get_, search_) and basic parameter schemas. However, descriptions are minimal (10-30 chars), parameter descriptions are sparse or missing, and output schemas are entirely undocumented. No error handling guidance, no pagination support despite returning lists, and no tool annotations. The codebase shows tool registration via @server.tool() decorator with input schemas present, but LLM-facing documentation is insufficient for reliable tool selection and chaining.
获取 session 中的文件变更(新建/修改/读取)。
获取 session 的对话内容,支持按角色过滤。
获取 session 中从 thinking 提取的关键决策。
获取 session 中遇到的错误和问题。
获取 session 中用户的请求记录(去重后)。
为 session 生成交接上下文摘要(Markdown),用于 session 恢复或交接。
获取 session 中的 TodoWrite 任务进度快照。
Output schemas completely undocumented. No tool returns a documented structure, LLMs cannot plan downstream calls or extract fields reliably. All tools return strings; internal structure unknown.
Descriptions are 10 - 30 characters (well below 50-char minimum). Examples: 'Session ID,支持前几位匹配' (20 chars), '获取 session 中的文件变更' (15 chars). Too short for LLM tool selection; LLMs cannot distinguish when to call get_session_changes vs get_session_requests.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 52 | 2026-07-28+ | v2 |
列出所有项目及其 session 统计(按最近活跃时间排序)。
列出 Claude Code 的所有 session,支持按项目路径过滤。
按关键字搜索 session(匹配 session_id 或用户消息内容)。
查看指定 session 的详情(支持前缀匹配)。
Parameter descriptions missing or minimal. 'project' param in list_sessions has description, but 'role' in get_session_conversation lacks context (what does 'all' mean vs 'user'/'assistant'?). 'limit' defaults to 20/50 but no bounds documented.
No pagination support despite returning lists. list_sessions and list_projects accept 'limit' but no cursor/offset or total_count. Large result sets will blow context window; no guidance on handling overflow.
No error handling guidance. Tools return strings; no indication of failure modes, recovery steps, or when to retry. E.g., if session_id prefix match is ambiguous, what happens? If session not found, what is returned?