
Herald
io.github.btouchardPublished by GitHub account btouchardv1.0.0Updated Oct 25, 2026
Stop copy-pasting between Claude Chat and Claude Code.
Overview
Herald is a self-hosted MCP bridge that lets Claude Chat dispatch coding tasks to Claude Code on your own workstation and check results remotely.
- What you can do
- Start, check, cancel and list Claude Code tasks, with priority, timeout, session resumption and Git branch options, and get full results or JSON output back in chat. Inspect a task's Git diff and list configured projects with their Git status. Read files inside a project, with path-traversal protection. Push a Claude Code session to Herald so it can be monitored and resumed from another device. Review logs and activity history, with task updates pushed to chat as notifications.
- When to use it
- Useful when you want to launch and follow Claude Code work on your own machine from a phone or browser through Claude Chat, without copy-pasting between the two, and when you want each task isolated on its own Git branch.
- Requirements
- A self-hosted Herald instance reachable over HTTPS, either through a reverse proxy or the built-in ngrok tunnel (ngrok auth token, optionally via HERALD_NGROK_AUTHTOKEN). The Claude Code CLI installed on the host, a YAML config listing projects and allowed tools, and OAuth 2.1 authentication from Claude Chat; the client secret is auto-generated and can be overridden with HERALD_CLIENT_SECRET.
Installation
In SourceWeft
- Open Herald in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.btouchard%2Fherald/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"herald": {
"type": "http",
"url": "https://your-herald-instance.example.com/mcp"
}
}
}README
Herald
Code from your phone. Seriously.
The self-hosted MCP bridge between Claude Chat and Claude Code.
[Go 1.26+] [AGPL-3.0 License] [GitHub Stars]
Documentation ·
Quick Start ·
How It Works ·
Features ·
Security ·
Roadmap
🇫🇷 Version française
[Image]
You're on the couch. On your phone. You open Claude Chat and type:
"Refactor the auth middleware in my-api to use JWT instead of session cookies. Run the tests."
Four minutes later, it's done. Branch created, code refactored, tests passing, changes committed. Your workstation did all the work. You never opened your laptop.
That's Herald.
The Problem
Claude Chat and Claude Code are two brilliant tools that live in completely separate worlds.
You've been copy-pasting between them. Or worse — you've been waiting until you're back at your desk. That's over.
The Solution
Herald is a self-hosted MCP server that bridges Claude Chat to Claude Code using Anthropic's official Custom Connectors protocol. One Go binary. Zero hacks.
The bridge is bidirectional. Claude Chat dispatches tasks to Claude Code, and Claude Code can push session context back to Herald for remote monitoring and continuation from another device.
Your code never leaves your machine. Herald just orchestrates.
How It Works
Three tools. That's the core loop. Start, check, get results — all from wherever you are.
Reverse flow: Claude Code → Herald
Working in your terminal and want to continue from your phone? Claude Code pushes its session to Herald:
Features
Core
- Native MCP bridge — Uses Anthropic's official Custom Connectors protocol. Not a hack, not a wrapper, not a proxy.
- Async task execution — Start tasks, check progress, get results. Claude Code runs in the background while you do other things.
- Git branch isolation — Each task runs on its own branch. Your main branch stays untouched.
- Session resumption — Multi-turn Claude Code conversations. Pick up where you left off.
- Bidirectional bridge — Claude Code can push session context to Herald via
herald_pushfor remote monitoring and continuation from another device.
Multi-Project
- Multiple projects — Configure as many projects as you need, each with its own settings.
- Per-project tool restrictions — Control exactly which tools Claude Code can use. Full sandboxing per project.
Operations
- MCP push notifications — Herald pushes task updates directly to Claude Chat via MCP server notifications. No polling needed.
- SQLite persistence — Tasks survive server restarts. Full history, fully searchable.
Engineering
- Single binary — One Go executable, ~15MB. No Docker, no runtime, no node_modules.
- Zero CGO — Pure Go. Cross-compiles to Linux, macOS, Windows, ARM.
- 6 dependencies — chi, mcp-go, modernc/sqlite, uuid, yaml, testify. That's the entire dependency tree.
Quick Start
Prerequisites: Claude Code CLI installed, HTTPS via ngrok (built-in) or a domain with reverse proxy.
1. Install
Or build from source (requires Go 1.26+)
2. Configure
3. Run
Edit ~/.config/herald/herald.yaml with your domain and projects:
Then connect from Claude Chat:
- Claude Chat → Settings → Custom Connectors
- Add connector:
https://herald.yourdomain.com/mcp - Authenticate via OAuth
- Done — Claude Chat now has 10 new tools to control your workstation
Quick Start with ngrok (No Reverse Proxy Needed)
Don't have a domain or reverse proxy? Use ngrok to expose Herald instantly over HTTPS:
1. Get ngrok auth token
Sign up at ngrok.com (free plan works) and grab your auth token from the dashboard.
2. Enable tunnel in config
Edit ~/.config/herald/herald.yaml:
3. Run Herald
Connect from Claude Chat using the ngrok URL shown in the banner. That's it — no Traefik, Caddy, or DNS setup required.
Note: The ngrok tunnel is optional. If you already have a reverse proxy (Traefik/Caddy), leave
tunnel.enabled: falseand use your domain as usual.
Full configuration reference
MCP Tools
Herald exposes 10 tools that Claude Chat discovers automatically via the MCP protocol:
Security
Herald exposes Claude Code to the network. We take that seriously.
Architecture
Design principles: single binary (everything compiled into one Go executable), async-first (each task is a goroutine), stateless MCP with stateful backend, fail-safe (Herald crash doesn't kill running Claude Code processes).
Tech stack
6 direct dependencies. No ORM. No logging framework. No build toolchain.
Deployment
Herald runs best as a native binary (direct access to Claude Code and your files). Docker is available as an option.
Docker Compose with Traefik
Roadmap
Have an idea? Open an issue. We build what users need.
Contributing
Herald is in early alpha — the best time to shape a project.
Commit messages follow Conventional Commits (feat:, fix:, refactor:, docs:).
Whether it's a bug fix, a new notification backend, or a documentation improvement — all contributions are welcome.
Why Herald?
Herald uses the same protocol Anthropic built for their own integrations. No reverse engineering, no unofficial APIs, no hacks that break on the next update.
AGPL-3.0 License — Built by Benjamin Touchard
If Herald saves you time, leave a star. It helps others find the project.
Source: README.md at commit 5e9982e
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts