MCP for AI agents
Give Claude, Codex, and other agents scoped access to your documents over MCP.
Last updated: September 2026
How it works
- Create a personal API key in Settings → API key (shown once, starts with
aago_). - Point your agent at
https://aago.social/api/mcpwith anAuthorization: Bearerheader. - Everything the agent touches is scoped to your documents only.
Tools
documents_list— List documents in your workspacedocuments_search— Full-text search across documentsdocuments_get— Read a single document with contentdocuments_create— Create new documents and nested pagesdocuments_update— Edit titles, content, covers, and flagsdocuments_archive— Archive a document treedocuments_restore— Restore from archivedocuments_duplicate— Copy a documentdocuments_favorite— Star or unstar favorites
Client setup
Claude Code / Claude Desktop
{
"mcpServers": {
"aago": {
"url": "https://aago.social/api/mcp",
"headers": { "Authorization": "Bearer aago_..." }
}
}
}Codex CLI
codex mcp add aago \ --url "https://aago.social/api/mcp" \ --header "Authorization: Bearer aago_..."
Opencode
{
"mcp": {
"aago": {
"type": "remote",
"url": "https://aago.social/api/mcp",
"headers": { "Authorization": "Bearer aago_..." }
}
}
}Hermes (stdio fallback)
npx -y mcp-remote https://aago.social/api/mcp \ --header "Authorization: Bearer aago_..."
Full walkthrough in Docs → MCP. Rotate a leaked key immediately in Settings — the old key stops working at once.