Skip to main content

agent-harnesses MCP server

mcp-name: io.github.RyanAlberts/agent-harnesses

The best-of-Agent-Harnesses list as an MCP server, so agents can recommend harnesses instead of you reading 100+ table rows.

Single file, stdio transport, no clone needed — it fetches harnesses.json from this repo at startup (or reads it locally from a checkout). Requires uv.

Install

Published on PyPI and the official MCP registry as io.github.RyanAlberts/agent-harnesses. Claude Code:

claude mcp add agent-harnesses -- uvx agent-harnesses-mcp

Any other MCP client (Cursor, Codex, Gemini CLI, ...):

{
  "mcpServers": {
    "agent-harnesses": {
      "command": "uvx",
      "args": ["agent-harnesses-mcp"]
    }
  }
}

No-install alternative — run the single source file straight from this repo:

claude mcp add agent-harnesses -- uv run https://raw.githubusercontent.com/RyanAlberts/best-of-Agent-Harnesses/main/mcp/server.py

Tools

Tool What it does
recommend(need, language?, must_run_unattended?, open_source_only?) Opinionated single recommendation — a decision, not a list. Returns one top pick with the reason, up to two alternatives, any harnesses to avoid for this need (archived, or flagged for star manipulation — with why), and the most relevant decision guide to read next.
pick_harness(use_case, max_complexity?, min_autonomy?, min_recovery?, open_source_only?, limit?) Ranked recommendations for a use case, seeded by the list's hand-curated use-case index. max_complexity caps adoption surface (super simple → complex); min_autonomy requires a designed autonomy regime (step-gated → headless); min_recovery requires a failure-recovery tier (none → durable).
pick_infrastructure(need, level?, include_live_search?, open_source_only?, limit?) Full-stack picks that aren't limited to the list. Infers (or takes) the stack level (model-access, harness, orchestration, sandboxing, browser, memory, context, tools, evals, observability, security, skills), returns curated picks plus a live discovery pass: a GitHub search for fresh repos (already-listed and graveyard repos removed) and recent high-signal Hacker News stories, both labeled unvetted. Degrades gracefully offline; live search sends only the need text to api.github.com and hn.algolia.com.
compare(github_ids) Side-by-side of 2–4 harnesses — "should I use X or Y?". Records aligned on the list's axes — including the researched deep-dive axes (sandboxing, context memory, lifecycle hooks, prompt optimization, build-vs-buy tier) — an edge summary naming who leads where, a warning when a requested repo is in the graveyard (archived or integrity-flagged), and the decision guide covering the matchup when one exists.
compare_for(use_case, limit?, open_source_only?) Task-based comparison — "compare the best options for X" in one call. Ranks candidates like pick_harness, takes the top 2–4, and returns the full side-by-side with each pick's ranking reason.
search_harnesses(query, limit?) Keyword search across names, descriptions, tags, and categories.
get_harness(github_id) Full record for one project.
list_comparisons() The head-to-head decision guides (OpenClaw vs Hermes, terminal coding agents, …) with summaries.
get_comparison(slug) Full markdown of one guide — architecture trade-offs, field reports, billing reality. Always current: served from the repo's main.
list_templates() Copy-paste setup files (an AGENTS.md every coding agent reads, safe Claude Code settings, a minimal Python harness, …) with the files each contains.
get_template(slug) A template's README plus the full content and target path of every file, so your agent can write them into your project and adapt them.
list_playbooks() / get_playbook(slug) Step-by-step setup guides (build your own harness, one AGENTS.md for every agent, …).
list_skills() Agent skills that check your own setup (what your agent can reach, whether its "tests pass" claims hold, where your tokens go, which guardrails leak, …), each with its install command.
get_skill(name, target) Every file of one skill with the path to write it to, under .claude/skills/ or .agents/skills/, so your agent can install it for you.
list_categories() The 10 categories, use-case intents, and the complexity/autonomy/recovery scales.

Example: "recommend('an always-on personal assistant that lives in my chat apps', open_source_only=True)" → one top pick with the reason, two alternatives, anything to avoid for this need, and the guide to read next.

Example: "compare(['openclaw/openclaw', 'NousResearch/hermes-agent'])" → both records side by side, who leads on which axis, and a pointer to the OpenClaw vs Hermes guide.

Example: "compare_for('an always-on personal assistant in my chat apps')" → OpenClaw vs Hermes vs Khoj with each pick's ranking reason and the axis edges — OpenClaw leads stars, Hermes is simplest to adopt, Khoj takes the sandboxing edge (its generated code always runs isolated; the others' sandboxes are opt-in), OpenClaw and Hermes share the lifecycle-hooks edge — plus the OpenClaw vs Hermes decision guide to read next.

Example: "compare_for('sandboxed code execution for generated code')" → E2B vs Daytona vs smolagents side by side with why_picked reasons for each.

Example: "pick_harness('sandboxed code execution for generated code', max_complexity='slightly complex', open_source_only=True)" → E2B, smolagents, Daytona... each with stars, tier, license signal, and a one-line reason.

Data is regenerated by scripts/generate.py; star counts carry a stars_captured date, and the comparisons index is rebuilt from comparisons/*.md on every refresh — the server always serves current main.

Distribution

The server is packaged as agent-harnesses-mcp (this directory's pyproject.toml) and live in the official MCP registry as io.github.RyanAlberts/agent-harnesses (server.json at the repo root), which directories like Glama and PulseMCP crawl. The registry validates PyPI ownership via the mcp-name: marker at the top of this README — keep it.

Publishing (maintainer runbook)

Releases are automated by .github/workflows/publish-mcp.yml on a mcp-v* tag: it builds the wheel, publishes to PyPI via trusted publishing, and publishes server.json to the official MCP registry via GitHub OIDC.

One-time setup, then never again:

  1. On pypi.org: create the project name agent-harnesses-mcp → Settings → Publishing → add a trusted publisher: owner RyanAlberts, repo best-of-Agent-Harnesses, workflow publish-mcp.yml. No API tokens.
  2. Nothing for the MCP registry — GitHub OIDC from this repo authorizes the io.github.RyanAlberts/* namespace automatically.

Per release: bump the version in mcp/pyproject.toml and server.json (the workflow fails loudly on mismatch), then git tag mcp-v<version> && git push origin mcp-v<version>.

Directories like Glama, PulseMCP, and mcpservers.org crawl the official registry — no per-directory submissions needed. (Smithery's current publish flow takes hosted-HTTP servers or .mcpb bundles, not stdio-from-GitHub, so this server isn't listed there by design.)

Metadata

Release files for agent-harnesses-mcp 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-harnesses-mcp 0.7.1
File Size Uploaded
agent_harnesses_mcp-0.7.1.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-harnesses-mcp 0.7.1
File Interpreter ABI Platform
agent_harnesses_mcp-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.9 kB

Release files / agent_harnesses_mcp-0.7.1.tar.gz

Download URL agent_harnesses_mcp-0.7.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3d7be457d802ac982460810f7ddace08138cf3fa519d9612ffb334e803527fc7
BLAKE2b-256 checksum
How to use checksums
0c6901f24dbb0644ef3322770ce205fcaf2baca43a770793c08283c986dd4d7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / agent_harnesses_mcp-0.7.1-py3-none-any.whl

Download URL agent_harnesses_mcp-0.7.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66c8e7a2517fe2a141156cb461bc027c15daa5d118255cb7d0622de341d402e3
BLAKE2b-256 checksum
How to use checksums
b82f5a3a2e02e9c96428b6e52ecee5ff0d394c09dbe68bd7ddd7bd24cab7f0ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page