Lets AI coding agents discover and reference each other's recent sessions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
AI μ½λ© μμ΄μ νΈμ μ΅κ·Ό μΈμ νμΌμ μ°Ύμ μλ‘ μ°Έμ‘°νκ² ν΄μ£Όλ λ‘컬 MCP μλ².
μ μ© νλ€μ€ μμ΄ νλ€μ€μ²λΌ λμνλ€. κΈ°μ‘΄ λꡬ νκ²½μ κ·Έλλ‘ μ μ§νλ©΄μ, μμ΄μ νΈ κ° μΈμ μ μ°κ²°νλ λμ€μ»€λ²λ¦¬ λ μ΄μ΄.
| Agent | Session Path | Format |
|---|---|---|
| Claude Code | ~/.claude/projects/ | JSONL |
| Codex CLI | ~/.codex/sessions/ | JSONL |
| Gemini CLI | ~/.gemini/tmp/<hash>/chats/ | JSON |
This registers OpenHarness as an MCP server in each agent's config.
get_agent_sessionsReturns recent session paths for all agents, filtered by project.
Input:
Output:
get_agent_sessionReturns the recent session path for a specific agent.
Input:
Output:
Returns null if no session is found.
| Agent | Strategy |
|---|---|
| Claude Code | Project path escaped with - as directory name |
| Codex CLI | Workspace field inside session JSONL |
| Gemini CLI | Project path hash matching tmp/<hash>/ |
No rules needed in agent instruction files. MCP tool descriptions are enough for agents to use naturally.
If you prefer to configure manually instead of using init:
Add this to your agent's MCP config file:
| Agent | Config File |
|---|---|
| Claude Code | ~/.claude/mcp.json or project .mcp.json |
| Codex CLI | project .codex/ |
| Gemini CLI | ~/.gemini/settings.json |
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/openharness)<a href="https://allmcps.com/mcp/openharness"><img src="https://allmcps.com/api/badge/openharness?style=directory" alt="Openharness on AllMCPs" /></a>