claude-subagent-mcp
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-subagent-mcpShow me the last 5 assistant lines from my agent log."
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-subagent-mcp
MCP server that gives an agent structured and complete views into a Claude Code agent's .jsonl log without reading the raw file.
It speaks MCP 2026-07-28 over stdio through mcp==2.0.0.
Tools
get_last_status(path, count, after_line=0)returns the lastcountassistant lines carrying visible text blocks and includes all text blocks of each returned line.get_last_tools(path, count, after_line=0)returns the lastcountassistant lines carrying tool calls with name and input but without results and includes all tool calls of each returned line.
count is applied after filtering, so exactly count qualifying lines are returned whenever that many exist.
after_line is a lower bound on raw line numbers and only lines strictly greater than it are considered.
Pass the highest line already seen as after_line to suppress repeats.
Returned line values are raw file line numbers and therefore contain gaps.
An incomplete trailing line is ignored.
Any other line that does not parse makes the tool report a format error.
Related MCP server: inspect-logs-mcp
Install into Claude Code
claude mcp add --scope user claude-subagent-log -- uvx --from git+https://github.com/chrisliebaer/claude-subagent-mcp claude-subagent-mcpPin a tag or commit with @<ref> behind the repository URL to keep the server from changing under an agent.
For a local checkout use uv --directory <checkout> run claude-subagent-mcp as the command instead.
Development
uv run pytest
uv run ruff check . && uv run ruff format --check .
uv run mypy src testsResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables 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.8MIT
- AlicenseAqualityDmaintenanceEnables 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.6MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to query and analyze past Claude Code sessions, providing structured insights like file changes, decisions, errors, and git history across projects.11401MIT
- Alicense-qualityBmaintenanceIndexes and searches agent conversation logs from Antigravity and Cursor workspaces, enabling semantic search, token analysis, and benchmarking over local SQLite storage.19MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/chrisliebaer/claude-subagent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server