Connecting from Claude Chat¶
Once Herald is running and accessible via HTTPS, connect it to Claude Chat using Custom Connectors.
Step-by-Step¶
1. Open Custom Connectors¶
In Claude Chat (web or mobile):
Settings → Custom Connectors → Add Connector
2. Configure the Connector¶
| Field | Value |
|---|---|
| Server URL | https://herald.yourdomain.com/mcp |
| Name | Herald (or whatever you prefer) |
3. Authenticate¶
Claude Chat will initiate the OAuth 2.1 flow:
- You'll be redirected to Herald's authorization page
- Herald auto-approves the connection (no login page in current version)
- Claude Chat receives an access token via PKCE
4. Verify the Connection¶
Once connected, Claude Chat automatically discovers Herald's 10 tools. Test it:
"Use list_projects to show my configured projects."
You should see your projects listed with their Git status.
What Claude Chat Can Do Now¶
With Herald connected, Claude Chat gains these capabilities:
| Tool | What You Can Say |
|---|---|
start_task |
"Refactor the auth middleware in my-api" |
check_task |
"How's that task going?" |
get_result |
"Show me the full result" |
list_tasks |
"What tasks ran today?" |
cancel_task |
"Cancel that task" |
get_diff |
"Show me the diff" |
list_projects |
"What projects do I have?" |
read_file |
"Show me the main.go file in my-api" |
herald_push |
(Called by Claude Code) — "Push this session to Herald" |
get_logs |
"Show me the logs for that task" |
Natural language works
You don't need to name tools explicitly. Just describe what you want and Claude Chat will pick the right tool. "Add pagination to the user list endpoint and run the tests" triggers start_task automatically.
Troubleshooting¶
"Connection refused"¶
- Verify Herald is running:
curl http://127.0.0.1:8420/health - Check your reverse proxy is forwarding to port 8420
- Ensure TLS is properly configured on your reverse proxy
"Authorization failed"¶
- Verify
client_idandclient_secretmatch between Herald config and the connector - Check that
redirect_urisincludeshttps://claude.ai/oauth/callback - Look at Herald's logs for auth errors:
./bin/herald servewithlog_level: debug
"No tools discovered"¶
- Confirm the connector URL ends with
/mcp - Check Herald logs for incoming MCP requests
- Try disconnecting and reconnecting the connector
What's Next¶
- Workflow — Learn the start → check → result loop
- Tools Reference — All 10 tools in detail