philo-kim avatar

Openharness

philo-kim/openharness

If you're running multiple AI coding agents on the same machine and want them to reference each other's work, this server exposes two MCP tools that return local session file paths. Get agent sessions scans ~/.claude, ~/.codex, and ~/.gemini directories for recent JSONL or JSON session logs tied to a project path. Get agent session does the same for a single agent. The agent then reads those files directly using its own file access. No relay, no transformation, just discovery. Useful when you want Codex to review what Claude Code just worked on, or vice versa, without manually hunting down session logs or switching contexts.

tools
2
transport
STDIO
last updated
Mar 17, 2026

Tools

2 tools

Public tool metadata for what this MCP can expose to an agent.

get_agent_sessionsReturns recent session paths for all agents, filtered by project.

Returns recent session paths for all agents, filtered by project.

No parameter schema in public metadata yet.

get_agent_sessionReturns the recent session path for a specific agent.

Returns the recent session path for a specific agent.

No parameter schema in public metadata yet.

Sponsors

Readme

OpenHarness

AI 코딩 에이전트의 최근 세션 파일을 찾아 서로 참조하게 해주는 로컬 MCP 서버.

전용 하네스 없이 하네스처럼 동작한다. 기존 도구 환경을 그대로 유지하면서, 에이전트 간 세션을 연결하는 디스커버리 레이어.

Supported Agents (MVP)

AgentSession PathFormat
Claude Code~/.claude/projects/JSONL
Codex CLI~/.codex/sessions/JSONL
Gemini CLI~/.gemini/tmp/<hash>/chats/JSON

Prerequisites

  • Each agent must be able to read local files directly.
  • OpenHarness only provides paths and metadata — it does not transform, relay, or store session content.

Install

npm install -g @freebird-ai/openharness
openharness init

This registers OpenHarness as an MCP server in each agent's config.

MCP Tools

get_agent_sessions

Returns recent session paths for all agents, filtered by project.

Input:

{ "project": "/Users/me/my-app" }

Output:

[
  {
    "agent": "claude-code",
    "path": "/Users/me/.claude/projects/-Users-me-my-app/session.jsonl",
    "format": "jsonl",
    "updatedAt": "2026-03-17T14:32:00Z",
    "matchedProject": "/Users/me/my-app",
    "matchedBy": "directory-name"
  }
]

get_agent_session


View the full README on GitHub

Details

Repository
github.com/philo-kim/openharness
Package
@freebird-ai/openharness
Transport
STDIO
Registry
MCP registry, active