Skip to content
Skip to Content
DevelopersGuides

Connect an AI assistant

Let Claude, Cursor or another MCP client search your library, read items and save new ones.

Beta

Trova has an MCP server. It lets an AI assistant that supports MCP, such as Claude Code, Claude Desktop or Cursor, search your library, read items and save new ones.

It uses the same rules as the API: a key can only reach what you allowed, and your plan's limits apply. MCP is optional. Your library is private unless you connect a client.

Connect a client

  1. Create a personal API key. See API keys. Give each client its own key, so you can revoke one without touching the others.
  2. Add Trova to your client, with the key as a bearer token.

For Claude Code:

claude mcp add --transport http trova https://api.usetrova.app/mcp \
  --header "Authorization: Bearer $TROVA_API_KEY"

For a client configured with JSON:

{
  "mcpServers": {
    "trova": {
      "url": "https://api.usetrova.app/mcp",
      "headers": { "Authorization": "Bearer ga_…" }
    }
  }
}

Only personal API keys work. A sign-in session does not. Browser-based clients are not supported.

What the assistant can do

ToolWhat it doesNeeds
search_itemsSearch by meaning and words. Understands the same filters as Search. Up to 25 results.search
list_itemsList items, newest first, filtered by kind, tag, favourite or archived.items
get_itemRead one item with its saved text and note.items
find_similarFind items close in meaning to one item.search
list_spacesList your smart spaces.spaces
get_space_itemsThe current matches of a smart space.spaces
list_annotationsThe passages you marked, newest first.items
create_annotationMark a passage in an item.items write
create_itemSave a link, note, quote, highlight or to-do.items write
update_itemChange an item's title, description, note, text, tags, favourite or archived state.items write

There is no tool to delete items, import, or manage keys and webhooks.

Keep it safe

Saved pages are written by other people, and an assistant that reads them can be tricked by text hidden in a page. Two tools can do harm if that happens:

  • create_item makes Trova fetch a link the assistant chose. A link that carries your notes sends them to whoever owns that site.
  • update_item can empty the notes, text and tags of many items. There is no history and no undo.

What you can do:

  • Give each client only what it needs. A key with search and items set to read can look, but can't change anything. See API keys.
  • Use a read-only key if your library holds pages you don't control and the assistant reads them. Then the writing tools fail.
  • Use one key per client, and revoke the one that misbehaves.
  • Let your client ask before it writes. update_item and create_item are marked so that clients can ask for confirmation.

Plans

MCP is API access, so it follows your plan. Free has no API access, so every tool is refused. Plus is read-only, so the writing tools are refused. Pro has read and write. A library over its plan's limits can't be changed. See Plans and limits.

Last updated

On this page