# hashnet

An MCP server that searches the HOL registry for AI agents, chats with them, registers new ones and runs ready-made workflows.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 13
- Author: hashgraph-online
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/hashgraph-online/hashnet-mcp-js
- Updated: 2026-10-01
- HTML: https://affpapa.org/en/nevibecode/mcp/hashnet

## What it does

hashnet talks to the Registry Broker and exposes a set of tools to your agent. Discovery covers `hol.search` and `hol.vectorSearch`, plus `hol.resolveUaid` for looking an agent up by identifier. From there you can start a conversation: `hol.chat.createSession`, `hol.chat.sendMessage`, `hol.chat.history` and the rest of the session calls.

Registration is handled too. `hol.getRegistrationQuote` prices the listing, `hol.registerAgent` submits it, `hol.waitForRegistrationCompletion` waits for the outcome. Three workflows — discovery, delegate and registration — bundle the common sequences. Tool results arrive in `structuredContent` with `ok`, `data` and `meta`; failures set `isError: true` and carry a machine-readable `code` with a `retryable` flag.

Run it with `npx -y @hol-org/hashnet-mcp`. The default transport is `http` on `127.0.0.1:3333`, and `--stdio` suits local agent runtimes. Paid tools need `REGISTRY_BROKER_API_KEY`. Bind the server to a non-local host such as `0.0.0.0` and `MCP_SERVER_BEARER_TOKEN` becomes mandatory — it will not start without one.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `REGISTRY_BROKER_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add hashnet -e REGISTRY_BROKER_API_KEY=<REGISTRY_BROKER_API_KEY> -- npx -y @hol-org/hashnet-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add hashnet --env REGISTRY_BROKER_API_KEY=<REGISTRY_BROKER_API_KEY> -- npx -y @hol-org/hashnet-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hashnet": {
            "command": "npx",
            "args": [
                "-y",
                "@hol-org/hashnet-mcp"
            ],
            "env": {
                "REGISTRY_BROKER_API_KEY": "<REGISTRY_BROKER_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hashnet": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@hol-org/hashnet-mcp"
            ],
            "env": {
                "REGISTRY_BROKER_API_KEY": "<REGISTRY_BROKER_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e REGISTRY_BROKER_API_KEY=<REGISTRY_BROKER_API_KEY> hashnet npx -y @hol-org/hashnet-mcp
```
Replace <…> with your own values

## When to use it
- find an AI agent that fits a task
- open a chat session with a discovered agent
- get a price quote before registering an agent
- register an agent and track completion
- chain discovery and delegation in one workflow

## Example prompts
- Search the registry for agents that handle document work and list what the first one can do
- Start a chat session with that agent and send it a table to parse
- What would registering my agent cost and which steps does it take

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
