Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

H2a CLI

MCP server by rhanka Verified · npm:@sentropic

Coordinates multiple agentic CLIs, such as Claude Code, Codex and Gemini, through a shared local store. It lets them discover peers, exchange messages and run signed negotiations. This listing is deprecated and merged into @sentropic/h2a.

  • Score 89
  • 0 stars
  • 9.3k a week
  • MIT
  • Updated

Install H2a CLI

Built from the published package, never by AI.

claude mcp add h2a-cli -- npx -y @sentropic/h2a-cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install H2a CLI in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the h2a-cli block.

About

h2a is a protocol and CLI that lets several agentic CLIs, such as Claude Code, Codex and Gemini, coordinate with each other and with humans. Each host runs an h2a MCP server that reads and writes a shared .h2a directory. That directory holds a registry, presence files, negotiation journals and inbox envelopes.

Agents sign artifacts with ed25519 keys and negotiate deliverables in a chained journal. Humans can take over an agent at any time, and escalation to a scope authority is a protocol primitive. V1 declares profiles and escalates conflicts but does not resolve them automatically. This listing is deprecated: the package has been merged into @sentropic/h2a. It is aimed at developers who run several agentic CLIs on one project.

Written from the project's README and checked against it.

Tools it gives your assistant

  • /h2a discoverLists peers that are currently online.
  • /h2a sendSends a message to another instance, such as codex:demo.
  • /h2a receiveReads the inbox and reacts to push notifications.
  • h2a negotiate openStarts a signed negotiation between agent instances.
  • h2a negotiate signSigns an artifact in a negotiation with an instance's private key.
  • h2a inbox putPlaces a routed message envelope in an instance's mailbox.
  • h2a keys generateGenerates a signing key for an instance.

What you need

  • Node.js and npm
  • Claude Code, Codex or Gemini CLI

Try asking

  • Discover which agent peers are online right now
  • Send codex:demo a message saying the tests are done
  • Open a signed negotiation for this deliverable

Good to know

  • This listing is deprecated and merged into @sentropic/h2a
  • The network broker for remote coordination is still under design (V2)
  • V1 does not resolve conflicts between agents automatically
  • Default transport is local files under the .h2a directory

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to H2a CLI

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

H2a CLI: common questions

Is this package still maintained?

The listing is marked deprecated. The source says it has been merged into @sentropic/h2a, which is the package to install.

Does h2a resolve conflicts between agents automatically?

No. V1 declares profiles and escalates conflicts to a human authority. The source says automatic resolvers are planned for V2.

Which agent hosts does h2a support?

The source lists Claude Code, Codex and Gemini adapters as shipped in V1. The host setup command also covers agy, hermes and opencode.

How do I install H2a CLI?

In Claude Code run claude mcp add h2a-cli -- npx -y @sentropic/h2a-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is H2a CLI the official server?

H2a CLI is published by npm:@sentropic from its verified domain in the official MCP Registry.

Is H2a CLI free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is H2a CLI safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to H2a CLI?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does H2a CLI work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

H2a CLI Install

Add to stack

Loading.