Tools
Per-tool failures, such as a denied space or exhausted credits, come back as structured
tool errors rather than broken connections. The MCP session stays alive.
Choosing a transport
- Remote (recommended)
- Local (stdio)
Connect directly to the hosted gateway. There is no local process to run.Authentication uses the same API key as the REST API, so there is no separate credential
to manage.Hermes Agent: add a Hermes also supports To trigger sign-in:
mcp_servers entry to ~/.hermes/config.yaml:auth: oauth in place of a static header, the same OAuth flow
described below for Claude Code.Connecting without a key. Leave off --header and an OAuth-capable client such as
Claude Code, Claude Desktop, or Cursor signs you in instead.add does not open a browser, and that is expected. It only writes the server to your
config file. OAuth sign-in does not run until the client actually connects, which
happens at session start or when you run /mcp. After add you are not signed in yet.- Run
/mcpin Claude Code, or restart it. This connects to the server for the first time. - Your browser opens the Anona consent screen. Sign in with email and password, or with Google, GitHub, or Microsoft, whichever your account uses.
- Approve, and the client stores the token. No API key ever touches its config.
Things worth knowing
Example session
Once registered, talk naturally:Remember that the user prefers dark mode and uses VS Code.
What do we know about this user’s editor preferences?Claude Code calls
record and retrieve behind the scenes.
Serving several people through one MCP connection? Pass
user_id on record and
retrieve so each person’s memories stay separate inside the shared space. See
Scoping.Client setup guides
Claude Code
- Get a key from the dashboard, under API keys.
- Register the server:
- Run
/mcpin Claude Code, or restart it, to connect. - Try it: “Remember that I prefer dark mode and use VS Code.”
Hermes Agent
- Get a key from the dashboard, under API keys.
- Add to
~/.hermes/config.yaml: - Set
ANONA_API_KEYin~/.hermes/.envor your shell environment. - If Hermes is already running, it auto-reloads the config within 30s, or run
/reload-mcpin-session. Otherwise the server picks it up on next start. - Try it: “Remember that I prefer dark mode and use VS Code.”
Next steps
Python SDK
The programmatic client library.
API overview
The full REST surface.