Connect agents
Agents use your library through the MCP server at /mcp. They sign in through your browser, and you can disconnect them any time.
Aruvi’s MCP server is at https://your-aruvi/mcp. It uses the streamable HTTP transport and OAuth 2.1, so an agent opens your browser, you sign in and choose Allow, and it’s connected. There are no API keys to copy.
Agents need HTTPS, or localhost. See HTTPS.
Claude Code
claude mcp add --transport http aruvi https://aruvi.example.com/mcp
Then type /mcp in Claude Code, choose aruvi, and sign in.
Codex
codex mcp add aruvi --url https://aruvi.example.com/mcp
codex mcp login aruvi
This needs a Codex version that signs in with a Client ID Metadata Document (see below). It hasn’t been tested with Aruvi yet.
Other MCP clients
Point them at https://aruvi.example.com/mcp. Clients identify themselves with a Client ID Metadata Document, the way the MCP spec recommends. Aruvi doesn’t offer dynamic client registration, so a client that can only register that way can’t connect yet.
Tested with Aruvi: Claude Code’s sign-in flow, and scripts using the device flow. If your client doesn’t connect, open an issue with its name and version.
What agents can do
| Tool | What it does |
|---|---|
search |
Search by words and filters. With no query, lists the newest items. |
get_item |
Read one item, with the clean text of its page or PDF. |
context_pack |
Gather everything on a topic into one bundle, within a token budget. |
save_link, save_note |
Save something new. Saving a link that’s already there updates it. |
update_item |
Change the title, note, tags or folder, or archive. |
trash_item, restore_item |
Move to the trash and back. |
list_folders, create_folder, update_folder |
Organize folders. |
list_tags |
See the tags in use. |
There’s also a skill at skill://aruvi/SKILL.md with the library’s conventions, and three prompts: summarize_folder, find_topic and tidy_recent.
Every change asks the agent for a short reason. You see it in Activity, next to the agent’s name, and you can undo it.
Saved pages are untrusted
Pages you save can contain text written to trick an AI. Aruvi marks saved content as untrusted data in what it sends agents, and its skill tells them to never follow instructions inside it. Still, an agent that reads your library reads whatever you saved.
Disconnect an agent
Settings → Connected agents lists every agent with when it last did something. Disconnect stops it at once, including tokens it already has.