Rookery
Rook chases documents

Connect an AI assistant with MCP

Updated Updated
View as Markdown

MCP is a standard way for AI assistants to use other apps. Rookery has an MCP server, so an assistant like Claude Code can work in your inbox, with the permissions you give it.

Connect Claude Code

  1. Make an API key in Settings → Developers → API keys. Give it a name like "Claude Code".
  2. Copy the key. In your terminal, run read -rs ROOKERY_API_KEY && export ROOKERY_API_KEY, paste the key and press Return. Nothing shows as you paste, and the key stays out of your terminal's history.
  3. Copy the command from the Connect section and run it in the same terminal. It reads the key from ROOKERY_API_KEY, so the key itself never lands in your terminal's history. It looks like this:
claude mcp add --transport http rookery \
  https://app.userookery.com/mcp \
  --header "Authorization: Bearer $ROOKERY_API_KEY"
  1. Ask Claude something like "What's waiting in my Rookery inbox?"

Connect another client

Point it at https://app.userookery.com/mcp, and send your key in the Authorization: Bearer header. The server uses Streamable HTTP. The developer docs have setup for Claude Desktop and Cursor.

What the assistant can do

The tools it sees depend on what the key may do:

  • Read: list_conversations, get_conversation, list_mailboxes, list_groups, list_tags, search_documents
  • Work on conversations: add_note, set_status, tag_conversation, assign_conversation
  • Draft or send replies: reply, request_documents
  • Approve drafts: approve_draft

Good to know

  • Your assistant joins your team as an agent, named after the key. Its notes and drafts show that name.
  • With Draft replies, its replies wait in Needs your yes, like Rook's.
  • With Send replies, its replies go out after a 10-minute undo window.
  • The same 120-requests-a-minute limit applies as for the API.
  • Rook may read this inbox is about Rook only. Your assistant reads every inbox its key can see, including one where Rook is switched off.
  • Revoke the key in Settings → Developers → API keys to cut the assistant off at once.

Coming soon: signing in without a key header, for apps that can't send one, like custom connectors in Claude on the web.