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

  1. Open ⋮ → Connections → Claude & ChatGPT → Advanced: profiles for other AI agents
  2. 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:

ToolDescription
searchFull-text search over your notes
getRetrieve a specific note by ID
captureAdd a new note to your vault (requires write capability)
search_memoriesQuery your memory layer by type or content
get_entityLook up a knowledge graph entity and its relationships
entity_searchFind knowledge graph entities by name or type
vault_statsSummary statistics about your vault
list_collectionsList all collections
list_tagsList 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.