Lightweight logging & observability for agent work across clients (Codex, Claude, Cursor, ChatGPT, OpenClaw, and others). - One MCP tool (logwork) that aggregates work done across different agents for single or multiple users. - Define your own logging structure with custom schemas (or use built-in profiles) once, and the MCP schema will guide clients to log with correct payloads. - This lets team
Add this skill
npx mdskills install ejcho623/agent-breadcrumbsWell-documented MCP server providing configurable logging across multiple agent clients with flexible output sinks
1# Agent Breadcrumbs ๐23Lightweight logging & observability for agent work across clients (Codex, Claude, Cursor, ChatGPT, OpenClaw, and others).45https://github.com/user-attachments/assets/3eac31a8-107c-4a82-a14c-dcfa500dd1a967## What You Get89- One MCP tool (`log_work`) that aggregates work done across different agents for single or multiple users.10- Define your own logging structure with custom schemas (or use built-in profiles) once, and the MCP schema11will guide clients to log with correct payloads.12- This lets teams standardize logging once, then route data wherever they need it.13- Multiple options for output sinks:14 - local JSONL15 - webhook16 - Postgres17- Starter schema profiles for common use cases:18 - agent insights19 - delivery tracking20 - audit trail21 - knowledge capture22- Simple dashboard app to view logged work.2324## Repository Layout2526- MCP server package (published): `packages/mcp`27- Dashboard app (repo-local, not published): `apps/dashboard`2829## Quick Start (MCP)3031Install and run with defaults:3233```bash34npx -y agent-breadcrumbs35```3637Use with an explicit config file:3839```bash40npx -y agent-breadcrumbs --config /absolute/path/to/server-config.json41```4243### Codex config example (`~/.codex/config.toml`):44```toml45[mcp_servers.agent_breadcrumbs]46command = "npx"47args = ["-y", "agent-breadcrumbs", "--config", "/absolute/path/to/server-config.json"]48```4950`--config` is optional. If omitted, server defaults are used:5152<img width="1171" height="491" alt="Screenshot 2026-02-18 at 11 20 21โฏAM" src="https://github.com/user-attachments/assets/0340fa51-8ad0-4533-80df-e3b10166b0c6" />53<img width="1170" height="561" alt="Screenshot 2026-02-18 at 11 20 26โฏAM" src="https://github.com/user-attachments/assets/b5a8823b-68a1-4284-a4ed-2de9010efb1f" />5455### Claude Desktop (`claude_desktop_config.json`):56```json57{58 "mcpServers": {59 "agent-breadcrumbs": {60 "command": "npx",61 "args": ["-y", "agent-breadcrumbs", "--config", "/absolute/path/to/server-config.json"]62 }63 }64}65```6667<img width="1267" height="878" alt="Screenshot 2026-02-18 at 11 21 15โฏAM" src="https://github.com/user-attachments/assets/faa646f3-843a-4501-8d60-266e7f69b838" /><img width="1267" height="878" alt="Screenshot 2026-02-18 at 11 21 21โฏAM" src="https://github.com/user-attachments/assets/2e690d3c-4d9b-4370-a14d-2b8c5d95c33b" />6869### OpenClaw:70After you install the MCP server make sure to use mcporter so the server can be called through the CLI.71Then add a system prompt to the channel you're using.7273<img width="810" height="473" alt="Screenshot 2026-02-18 at 11 23 58โฏAM" src="https://github.com/user-attachments/assets/9fc7095d-9582-423f-822c-8e6926d458fb" />7475For cron-driven workflows, instruct agents to call log_work on each scheduled run76for regular time-based logging.7778```text79Every hour, make sure to use mcporter agent-breadcrumbs.log_work to log work.80If spinning up a cron job, make sure to add this context (e.g., logging work every hour) in the cron job description as well.81```8283General example global instruction/system prompt for clients:8485```text86When a meaningful chunk of work is completed, use log_work with agent_breadcrumbs to record your work.87```8889For full MCP server setup, config, and sink details, see `packages/mcp/README.md`.9091## Quick Start (Repo)9293```bash94npm install95npm run build:all96```9798Run MCP server locally with a sample config:99100```bash101node packages/mcp/dist/index.js --config packages/mcp/examples/server-config.agent-insights.sample.json102```103104Run dashboard locally:105106```bash107npm run dev:dashboard -- --config apps/dashboard/examples/dashboard-config.sample.json108```109110## MCP Config Model111112Top-level config file is JSON and supports:113114- `schema` for fully custom `log_record` properties, or115- `schema_profile` for built-in profile files in `packages/mcp/examples/schema_profiles`116- `user_name` for server-side user identity injection into persisted records117- `sink` for destination settings (`jsonl`, `webhook`, `postgres`)118119Do not set both `schema` and `schema_profile` together.120121Default behavior when omitted:122123- schema: built-in default (`agent_id`, `timestamp`, `work_summary`, `additional`)124- sink: `jsonl`125- output file: `~/.agent-breadcrumbs/logs.jsonl`126- user_name: not injected127128## Why Config129130- Your schema/profile is applied directly to the MCP tool input schema.131- Agent clients see the required `log_record` fields from the tool definition.132- You do not need to repeatedly explain payload format for every tool call in client.133134## Common Commands135136```bash137npm run build:mcp138npm run dev:mcp139npm run test140npm run test:integration141npm run build:dashboard142npm run dev:dashboard143```144145## Docs146147- MCP package docs: `packages/mcp/README.md`148- Dashboard app docs: `apps/dashboard/README.md`149
Full transparency โ inspect the skill content before installing.