Agent Trace
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agent Trace
Find a local Codex or Claude Code conversation, see what its workers actually ran, and take just the context you need into your next chat. Agent Trace opens in your browser or a native Mac window and reads recordings already on your computer. Either provider works on its own.

In this example the checkout total was off by a cent. Click the first pytest tile to see the failed assertion, git to see the rounding change, and the second pytest to see the test pass. Back in the parent conversation, Choose sessions… lets you copy the investigation and its test worker while leaving out the documentation worker. Try the synthetic recording.
Introduction to the projects · Agent Trace walkthrough · Short demo
Try it
From a terminal on macOS or Linux, with Git and Python 3.10 or later installed:
git clone https://github.com/wcook04/agent-trace-mechanism.git
cd agent-trace-mechanism
python3 -m venv .venv
.venv/bin/python -m pip install .
.venv/bin/agent-trace-appOn Windows, clone the repository and run these commands in PowerShell from its directory:
py -3 -m venv .venv
.\.venv\Scripts\python.exe -m pip install .
.\.venv\Scripts\agent-trace-app.exeThe workbench opens on this computer. Its Missions list contains recorded conversations and agent runs from all projects in the configured history folders, including archived Codex chats. Open History folders to choose a custom provider home. Hide from list changes the workbench view. Archived in Codex describes where Codex stored the recording.
On a Mac, the native window adds a floating capsule and system pasteboard. From the same checkout, install the desktop extra and launch it:
.venv/bin/python -m pip install '.[desktop]'
.venv/bin/agent-trace-app --desktopThe current release is a technical preview. The native window is available from source. A notarized Mac download is pending. Workbench guide · Release files.
Related MCP server: chat-history-db
Try the example
Open History folders, set Codex home to the absolute path of examples/checkout-review in your clone, and save. Select Investigate a checkout total, choose Test runner, then Open thread. Clicking a command shows its recorded outcome, an output excerpt when available, and its location in the source file. Clear the folder setting to return to your own histories.
Preview copy lists the sources and shows the exact text. Copy this text copies that snapshot even if another event arrives. Refresh + Copy reads the recordings again. Each copy of a conversation starts with a counted note of what it leaves out, such as thinking, tool results and earlier turns, and Copy note for the coding chat gives the matching note to paste beside a reviewer's answer (why, and one small test). Compact views leave out tool bodies and mark each one at its call with its length. Detailed views can excerpt large native outputs. You can also select unrelated recordings together or save a personal Markdown prompt on the prompt shelf.
Let an agent read selected files
For a one-off handoff, paste the preview into your next chat. For repeated queries, the optional MCP server lets Codex or Claude Code read only the files you explicitly register. Browsing, previewing, or pinning a chat grants no MCP access. A connected host may send retrieved text to its model provider.
Install the extra, then list local recordings:
.venv/bin/python -m pip install '.[mcp]'
.venv/bin/python -m trace_mechanism.setup list --provider codexFollow the registration and host connection guide or give your agent the installation skill. A host can search registered recordings, read an exact selection by recording ID, or page through a native Codex command’s output. MCP tools and examples · Data access and privacy.
Explore and contribute
Example recordings include a failed test investigation, a coordinator with two workers, and a cross-provider review.
All documentation lists the guides and the write-ups of specific runs, including what a second model is told about a copy that leaves things out.
How the reader works and reader provenance describe the supported formats and their origins.
Development and source map and contributing cover local checks, packaging and reporting bugs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and manage your team's knowledge from MCP clients.
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables searching local OpenAI Codex conversation history by keywords, project, date, or role, listing sessions, and retrieving exact supporting messages through MCP tools.1MIT
- FlicenseNot gradedqualityFmaintenanceEnables AI coding agents to persistently store and retrieve conversation history with hybrid semantic and keyword search, cross-encoder reranking, session filtering, and archiving through MCP tools.-
- AlicenseNot gradedqualityBmaintenanceEnables searching and retrieving ChatGPT and Claude conversation exports locally, allowing assistants to fetch handoff context and continue conversations through read-only MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to search a local saved-post library with keyword, semantic, and deep queries, retrieve individual records by ID, and inspect status through stdio MCP tools.MIT