Mac: Hermes web search through Kagi's hosted MCP server

Hermes's built-in web search was the free Brave API, which returns 429s
under agent bursts; real-user reports (Hermes #80201, PR #36838, HN) also
rule out self-hosted SearXNG for always-on use. The user has Kagi, so:
- Kagi's own hosted MCP server (https://mcp.kagi.com/mcp, Bearer API key,
  paid API with a monthly cap set in Kagi). Its two tools,
  kagi_search_fetch and kagi_extract, are marked read-only, so
  trust: untrusted never asks.
- agent.disabled_toolsets gains `web`, removing the built-in
  web_search/web_extract everywhere, so Kagi is the only search path.
- KAGI_API_KEY from the vault into ~/.hermes/.env.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-11 09:16:13 -07:00
1 parent 1173162977
commit cde36c8710
2 files changed
+22 -4

No files matched your search

+2 -1
View File
@@ -36,7 +36,8 @@ Manages cogitator-02, an Apple Silicon Mac on the tailnet (`mac.yml`,
`mcp_servers.<name>` entries in `hermes_settings`, each running in a
throwaway Podman container. Secrets they need are in `hermes_env_secrets`
(from the vault) and written to `~/.hermes/.env`. Today: Karakeep, with
only search/read/create/tag tools registered.
only search/read/create/tag tools registered, and Kagi's hosted server for
web search and page fetching (Hermes's built-in `web` toolset is off).
- **Podman VM** (tag `podman`): a launchd job (`local.podman-machine`) that
starts the VM running Hermes's sandbox at login, and `podman_machine_memory`
for its size. A resize stops the VM and starts it again through that job.