MCP Integration
Connect your agent profile to Claude Desktop, Cursor, or any MCP-compatible AI client using the Model Context Protocol.
MCP (Model Context Protocol) is an open standard for connecting AI assistants to external data sources and tools. onon implements an MCP server for each agent profile, allowing any MCP-compatible AI client to access your vault.
Getting your MCP URL
- Open ⋮ → Connections → Claude & ChatGPT → Advanced: profiles for other AI agents
- Find the MCP field on the profile's card
It follows the format:
https://onon.me/api/mcp/[vault-uuid]/[profile]
Claude and ChatGPT
Use the connector instead: see Use onon in Claude and ChatGPT. It works in Claude Desktop too, with nothing to paste.
Cursor and other clients
Add an MCP server with the profile's address as its URL, and an Authorization header set to Bearer <your capability token>.
Other MCP clients
Any client that supports MCP HTTP servers (using the streamable-HTTP transport) can connect to onon. Refer to your client's documentation for how to add an MCP server URL.
Available MCP tools
Once connected, the AI client has access to these tools:
| Tool | Description |
|---|---|
search | Full-text search over your notes |
get | Retrieve a specific note by ID |
capture | Add a new note to your vault (requires write capability) |
search_memories | Query your memory layer by type or content |
get_entity | Look up a knowledge graph entity and its relationships |
entity_search | Find knowledge graph entities by name or type |
vault_stats | Summary statistics about your vault |
list_collections | List all collections |
list_tags | List all tags |
Authentication
Every request needs a capability token, sent as Authorization: Bearer <token>. Without one, onon refuses it. Make a token on the profile: open it with Edit, then Capability tokens.
Privacy note
MCP requests are handled by onon's server, which forwards them to your local vault using a relay mechanism. The server sees the tool call and its result but does not store or log the content of your notes.