Skip to main content
Glama
harness-homies

harness-homies

by nikp29

harness-homies

A read-only MCP server that lists coding-agent sessions on your machine — Claude Code, OpenCode, Cursor, and Codex — in one place: what's running, its topic, its todos, its transcript.

It never writes to another agent's session and never sends messages.

Install

Claude Code (plugin)

/plugin marketplace add nikp29/harness-homies
/plugin install harness-homies@harness-homies

This installs the MCP server (run via npx -y harness-homies) and the inspect-agents skill.

Agent Plugins clients

plugin/ is an Agent Plugins 1.0.0 package: plugin.json, mcp.json, and skills/inspect-agents/SKILL.md. Point any conformant client at that directory. The same directory also carries .claude-plugin/plugin.json and .mcp.json for Claude Code.

OpenCode

OpenCode plugins are JS modules and can't register MCP servers or skills, so set it up with config instead:

  1. Merge opencode/opencode.json into ~/.config/opencode/opencode.json (or a project's opencode.json).

  2. Copy the skill: cp -r plugin/skills/inspect-agents ~/.config/opencode/skills/

Codex

codex mcp add harness-homies -- npx -y harness-homies

Cursor

Add an entry to ~/.cursor/mcp.json:

{ "mcpServers": { "harness-homies": { "type": "stdio", "command": "npx", "args": ["-y", "harness-homies"] } } }

From source

pnpm install
pnpm build
claude mcp add --scope user harness-homies -- node /path/to/harness-homies/dist/cli.js

Related MCP server: Hua PlanRelay

Tools

Tool

Args

Does

list_sessions

agent?, cwd?, running_only?, limit?

List sessions across one or all agents, live and historical, most recent first

get_session

agent, session_id

Title, cwd, status, todos, message count

get_transcript

agent, session_id, cursor?, limit?, role?, raw?

Paginated transcript, secrets redacted by default

search_sessions

query, agent?, limit?

Substring search over titles and recent transcript content

agent is one of claude-code | opencode | cursor | codex. All tools are readOnlyHint: true.

Develop

pnpm test        # builds, then runs the suite against dist/
pnpm typecheck
node dist/cli.js doctor   # per-adapter availability + session counts

Notes

  • Redaction is on by default for transcript text (API keys, tokens, PEM blocks, etc.). Pass raw: true to skip it.

  • Claude Code: reads ~/.claude/sessions/*.json (live) and ~/.claude/projects/**/*.jsonl (history).

  • OpenCode: reads ~/.local/share/opencode/opencode.db directly.

  • Cursor: reads ~/Library/Application Support/Cursor/User/globalStorage/{conversation-search,state}.db. macOS only. Status is always unknown — no running signal is available.

  • Codex: reads ~/.codex/state_5.sqlite, falling back to scanning ~/.codex/sessions/**/*.jsonl directly if the DB schema doesn't match.

  • All formats are undocumented by their vendors. Adapters degrade (fewer fields) rather than crash on an unrecognized record.

  • setup subcommand and Cursor auto-registration are not implemented — register manually as shown above.

  • The plugin configs pin harness-homies@<version>. When releasing, bump the version in package.json, plugin/plugin.json, plugin/.claude-plugin/plugin.json, both MCP configs in plugin/, opencode/opencode.json, and src/server.ts.

Available Tools

4 tools
get_sessionGet session detailA
Read-only

Get a single session's title, cwd, status, todos, and message count. Use the agent and id fields from a list_sessions/search_sessions result. Read-only.

Inputs: agent (required), session_id (required).

get_transcriptGet session transcriptA
Read-only

Fetch a session's transcript, paginated (most recent messages by default). Secrets are redacted unless raw is set. Use the agent and id fields from a list_sessions/search_sessions result. Read-only.

Inputs: agent (required), session_id (required), raw, role, +2 more.

list_sessionsList agent sessionsA
Read-only

List coding-agent sessions on this machine across Claude Code, OpenCode, Cursor, and Codex — what's running, its topic, and its status. Read-only.

Inputs: cwd, agent, limit, running_only.

search_sessionsSearch agent sessionsA
Read-only

Search session titles (and recent transcript content) for a substring across one or all agents. Read-only, case-insensitive.

Inputs: query (required), agent, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv0.1.0
    • First observedget_session
    • First observedget_transcript
    • First observedlist_sessions
    • First observedsearch_sessions

TDQS

A4.2/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct concern: listing all sessions, retrieving one session's metadata, fetching a transcript, and searching across sessions. The overlap between list_sessions and search_sessions is minimal and clearly differentiated by behavior.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: list_sessions, get_session, get_transcript, search_sessions. The naming is predictable and instantly readable.

Tool Count5/5

Four tools is well-scoped for a read-only session inspection server. Each tool covers a distinct aspect of the domain without redundancy or missing essentials.

Completeness5/5

For a read-only monitoring tool, the surface is complete: discover sessions, inspect one session, read its transcript, and search across sessions. No obvious lifecycle operations are expected here, so there are no meaningful gaps.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides a read-only interface to audit and continue coding agent sessions by extracting plans, intents, and edit authorship from history across multiple agents (Claude, Codex, OpenCode, Antigravity, Pi) via MCP, CLI, and Python SDK.
    18
    30 PyPI
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides a workspace-safe, read-only bridge between browser-based AI planning/review and local coding agents, enabling structured plan, execution summary, and review handoffs without granting shell, file write, or Git push access.
    11
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables supervising and coordinating local coding agents across allowed repositories, including inspecting context, reviewing sessions, launching or continuing tasks, and retrieving redacted logs under owner-controlled access.
    9 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Serves local coding-agent session history over stdio, letting MCP-capable agents search past sessions across Codex, Claude Code, Gemini CLI, OpenCode, jcode, and Pi and read bounded, secret-redacted transcripts. Read-only mode restricts it to search and transcript tools, while write-enabled mode can create copies of a conversation in another agent's native format.
    3
    62
    MIT