Give your AI 17 tools over your notes
onekb-mcp connects Claude Code, Cursor, and any MCP-capable AI terminal to your OneKB library — the same powers you have in the web editor, over stdio.
Read & search
list_docsread_docsearch_docsfind_docsread_versionsWrite & organize
create_docupdate_docappend_to_docrename_docmove_doccreate_folderSafety & recovery
delete_docrestore_docdelete_folderrestore_versionAudit & insight
list_ai_writeslist_unresolved_entitiesSafe by construction
- · Every AI write creates a version — roll back anything in one click.
- · An audit ledger records every AI tool call: what changed, when, by which tool.
- · Deletes go to trash, never straight to gone. API keys are scoped and revocable.
- · Optimistic locking stops AI and human edits from silently overwriting each other.
Set up in two minutes
- Create an API key in OneKB Settings (scoped to read, write, or both).
- Add the server to your MCP config:
Claude Code / Cursor config
{
"mcpServers": {
"onekb": {
"command": "npx",
"args": ["-y", "onekb-mcp"],
"env": { "ONEKB_API_KEY": "okb_..." }
}
}
}That's it — ask your AI to create today's journal, reorganize folders, or search your notes.