Skip to main content
Glama
chrisliebaer

claude-subagent-mcp

by chrisliebaer

claude-subagent-mcp

MCP 服务器,为智能体提供 Claude Code 智能体 .jsonl 日志的结构化完整视图,无需读取原始文件。 它通过 mcp==2.0.0 在 stdio 上使用 MCP 2026-07-28 协议进行通信。

工具

  • get_last_status(path, count, after_line=0) 返回最后 count 条携带可见文本块的助手行,并包含每条返回行的所有文本块。

  • get_last_tools(path, count, after_line=0) 返回最后 count 条携带工具调用(包含名称和输入但不包含结果)的助手行,并包含每条返回行的所有工具调用。

count 在过滤后应用,因此只要存在足够多的行,就会精确返回 count 条符合条件的行。 after_line 是原始行号的下限,仅考虑严格大于该值的行。 将已见过的最大 line 值作为 after_line 传入,以抑制重复。 返回的 line 值是原始文件行号,因此存在间隔。 不完整的末尾行将被忽略。 任何其他无法解析的行都会导致工具报告格式错误。

Related MCP server: inspect-logs-mcp

安装到 Claude Code

claude mcp add --scope user claude-subagent-log -- uvx --from git+https://github.com/chrisliebaer/claude-subagent-mcp claude-subagent-mcp

在仓库 URL 后使用 @<ref> 固定标签或提交,以防止服务器在智能体下发生变化。 对于本地检出,请改用 uv --directory <checkout> run claude-subagent-mcp 作为命令。

开发

uv run pytest
uv run ruff check . && uv run ruff format --check .
uv run mypy src tests
Install Server
F
license - not found
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to automatically inspect and analyze application runtime log files for debugging and troubleshooting. Supports monitoring multiple log directories simultaneously with tools for listing, reading, searching, and paginating through log files.
    8
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables LLMs to explore and analyze UK Government BEIS inspect_ai evaluation logs directly from tools like Claude Code and Cursor. It provides capabilities to list logs, view evaluation summaries, and inspect conversation histories for specific samples.
    6
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to query and analyze past Claude Code sessions, providing structured insights like file changes, decisions, errors, and git history across projects.
    11
    40
    1
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Indexes and searches agent conversation logs from Antigravity and Cursor workspaces, enabling semantic search, token analysis, and benchmarking over local SQLite storage.
    19
    MIT

View all related MCP servers

Related MCP Connectors

  • Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.

  • Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.

  • See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.

View all MCP Connectors

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/chrisliebaer/claude-subagent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server