KeepOrganizedAI MCP
Manages bookmarks in a paired Brave browser profile through the KeepOrganizedAI extension, including reading folder contents, previewing and applying bulk moves or deletions, creating backups, and checking connection status.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@KeepOrganizedAI MCP Organize all my bookmarks into balanced categories with one subfolder level"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
KeepOrganizedAI MCP
A local stdio server for the KeepOrganizedAI browser extension. It exposes 22 tools for reading, organizing and backing up bookmarks in one explicitly paired browser profile. Start with a disposable profile. The published extension is not a substitute for the MCP-enabled build in the sibling checkout.
Pair a local development build
From this directory, use Node 22.12+ and npm:
npm ci npm run build npm --prefix ../keeporganizedai-extension run buildThe extension command assumes its dependencies are installed.
In the test browser profile, open
chrome://extensions, enable Developer mode, select Load unpacked, and choose../keeporganizedai-extension/dist. If it was already loaded, click Reload so Chrome grants the newnativeMessagingpermission. Use the public extension ID shown on the card for both setup and the MCP client:export KEEPORGANIZEDAI_EXTENSION_ID=YOUR_UNPACKED_EXTENSION_ID NODE_ENV=development node dist/index.js setup chromeChoose
edge,brave, orchromiuminstead for those browsers. For the production ID, simply runnode dist/index.js setup. Setup preserves the private credential, registers a per-user native helper, and does not contact any browser profile. The helper needs the installed Node executable and package to stay at the registered paths.Start one local client. For OpenCode V2, from this directory (replace
YOUR_UNPACKED_EXTENSION_ID):opencode mcp add keeporganizedai --env NODE_ENV=development \ --env KEEPORGANIZEDAI_EXTENSION_ID="$KEEPORGANIZEDAI_EXTENSION_ID" \ -- "$(command -v node)" "$PWD/dist/index.js"Use
/mcpsin the project to check or connect the server. A connected client means stdio is ready; it does not mean Chrome has paired. The released extension ID is the default outside development. See other clients for alternative setups.Open KeepOrganizedAI's main side panel and click Pair this profile. Chrome launches the allowlisted helper and transfers the port and credential over its private native messaging pipe. The extension saves both locally, resets writes to off, and authenticates to the running MCP server. No Settings visit or secret copy is needed. Keep the browser and client running.
Ask the client to call
get_connection_status. Expectconnected: true,protocolVersion: 1, and the read-only capabilities. Trylist_folderwithfolderId: "1". Enable writes in Settings → AI integrations · MCP. Moves do not open a review window. Deletion and restore return apending_approvalticket instead of a result: ask the user in the client conversation, then callrespond_to_pending_approvalwith the returnedapprovalId,hash, and the user's decision. The ticket expires after one minute and can be used once; nothing changes until it is confirmed.
Before each MCP mutation (one snapshot per bulk operation), the extension saves the entire pre-change bookmark tree as a JSON file under KeepOrganizedAI/Backups/ in the browser's configured downloads directory. It waits for the download to finish; a failed or interrupted save blocks the change. The recent snapshots are also available via list_backups; disk files remain until you remove them and can be imported using the extension’s JSON import.
For “organize all my bookmarks,” first ask the user how they want the result organized:
Style: broad, balanced, or detailed categories.
Nesting: top-level only, at most one subfolder level, or deeper nesting.
Existing folders: preserve where practical or reorganize.
If the user has no preference, recommend balanced categories, at most one subfolder level, and preserving existing folders where practical—but get agreement before planning. Collect all destinations in one preview_bulk_move request, using groups: [{parentId, ids}, {parentId, newFolderTitle, ids}, …] for existing and new destination folders. For grouped organization, the MCP server now gates the preview: if preferences have not been selected, it asks through an MCP form when supported or returns a chat prompt and sends no preview to the extension. If it returns preferences_selected, rebuild the plan using those choices and call preview again. Show the complete folder hierarchy and item moves from the read-only preview, and wait for the user to explicitly confirm before calling apply_bulk_move. If apply returns CONFLICT, the old plan is invalid; reread and re-preview using the same preferences, then show the revised plan and get confirmation again. Apply saves one backup before the first folder creation or move, then broadcasts a refresh to the open extension side panel. Do not call create_backup first. If the panel still shows stale data, call refresh_bookmarks; it creates no backup or download. A plan can cover up to 100 destinations and 2,000 distinct source items; a moved folder counts as one item with its contents. If the plan exceeds those limits, report that before applying rather than silently splitting it into multiple downloads.
For cleanup, collect all folder IDs in one preview_delete_folders call, show the returned folder list and descendant count, and wait for confirmation before calling apply_delete_folders. It saves one backup before the first deletion, deletes each folder only after revalidation, and refreshes the side panel. Reuse this instead of looping preview_delete_folder/apply_delete_folder; those remain for a single folder and each creates its own backup. Overlapping parent/child selections are rejected with INVALID_INPUT.
Claude Code, Cursor, and Codex
Single-backup rule: use one grouped preview and one apply. For organization that is preview_bulk_move + apply_bulk_move; for deleting several folders it is preview_delete_folders + apply_delete_folders. The automatic pre-change snapshot is the intended single download; do not call create_backup first or split the job into individual creates, moves, renames or deletes. Show the full plan and get explicit confirmation before apply. A failed apply that already saved a snapshot may generate another download on retry; report this before retrying. This is agent guidance, not a session-wide download cap. The extension still requires a verified backup for every mutation operation.
Use one of these local stdio configurations. Replace the paths and unpacked extension ID; omit the development environment variables for a production extension.
For Claude Code, run this from the MCP project directory:
claude mcp add --scope user --transport stdio \
--env NODE_ENV=development \
--env KEEPORGANIZEDAI_EXTENSION_ID="$KEEPORGANIZEDAI_EXTENSION_ID" \
keeporganizedai -- "$(command -v node)" "$PWD/dist/index.js"For Cursor, merge into ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"keeporganizedai": {
"type": "stdio",
"command": "/absolute/path/to/node",
"args": ["/absolute/path/to/mcp/dist/index.js"],
"env": {
"NODE_ENV": "development",
"KEEPORGANIZEDAI_EXTENSION_ID": "YOUR_UNPACKED_EXTENSION_ID"
}
}
}
}For Codex, add to ~/.codex/config.toml:
[mcp_servers.keeporganizedai]
command = "/absolute/path/to/node"
args = ["/absolute/path/to/mcp/dist/index.js"]
[mcp_servers.keeporganizedai.env]
NODE_ENV = "development"
KEEPORGANIZEDAI_EXTENSION_ID = "YOUR_UNPACKED_EXTENSION_ID"Claude Desktop continues to use its Settings → Developer → Edit Config mcpServers format; omit the type field there and fully quit/reopen the app. For organization preferences, OpenCode and Claude Code support MCP form elicitation; other clients receive an instruction to ask the same choices in chat when they do not advertise form support. Client integrations still need hands-on verification.
Troubleshooting and rollback
Symptom | What to check |
Client cannot start the server | Use |
Pair button reports failure | Rerun |
Tools listed, browser disconnected | Run setup before launching the server; use the same unpacked ID for setup and the client. Reconnect the client process and click Pair this profile. Reconnect attempts may take a minute. |
Port already in use | Close the other client/Inspector instance. To change ports, edit |
| Read the current tree. Make a new preview if needed. Never blindly repeat a timed-out write. Recovery backup IDs appear in partial-failure messages. |
Approval expired or replayed | Restart the destructive tool. Approval tickets last one minute and each decision is consumed once; do not reuse an |
Stop access | Disable disconnects. Revoke pairing also clears the extension credential. After |
The bridge uses authenticated, unencrypted WebSockets on 127.0.0.1. Software with access to the OS account or secret is inside the trust boundary. On POSIX, setup creates a 0700 directory and 0600 file; on Windows, verify the directory ACL permits only the intended account. Use KEEPORGANIZEDAI_CONFIG_DIR to select a different private directory for both setup and the server. The bridge adds no telemetry. Your AI client may transmit returned titles, URLs or exports to its provider.
To uninstall the helper after revoking pairing: remove com.keeporganizedai.pairing.json from the selected browser's NativeMessagingHosts directory on macOS/Linux, or remove the com.keeporganizedai.pairing key under HKCU\Software\<browser vendor/product>\NativeMessagingHosts on Windows. Remove that browser's launcher directory under ~/.keeporganizedai/native/. No administrator access is needed.
Related MCP server: Favorites MCP
Develop and verify
npm test # build + Node/stdio/bridge tests
npm run dev # TypeScript watch
npm run sync:protocol # copy src/protocol.ts into sibling extension
npm --prefix ../keeporganizedai-extension test -- src/mcp
npm --prefix ../keeporganizedai-extension run build
CHROMIUM_BINARY=/path/to/chromium node scripts/browser-smoke.mjsThe browser smoke requires a Linux Chromium build supporting --load-extension. It creates and removes its own profile and instrumented copy of the extension; it does not use personal bookmarks. See release evidence and open gates and the checklist.
Try it with Inspector
With the other MCP client stopped, use these from this directory. Inspector 2.16.0 requires Node ^22.23.4, ^24.22.1 or >=26.12.1. For a paired unpacked build, pass the same two development environment settings to the Inspector child (-e NAME=value).
npx --yes @modelcontextprotocol/inspector@2.16.0 --cli node dist/index.js --method tools/list
npx --yes @modelcontextprotocol/inspector@2.16.0 --cli node dist/index.js --method tools/call --tool-name get_connection_statusLicense
MIT. See LICENSE.
Available Tools
25 toolsapply_bulk_moveADestructive
Apply the entire previewed organization in one call only after presenting its complete folder hierarchy and moves and receiving the user’s explicit confirmation. If apply returns CONFLICT, the old plan is invalid: reread state, preview again using the same user preferences, show the full revised plan and ask for confirmation again. It saves exactly one pre-change backup file before creating folders or moving items, then refreshes the open extension UI. Do not call create_backup first or split the job by destination.
Inputs: planId (required).
apply_delete_folderADestructive
Return an approval ticket to delete one previewed folder tree. Use preview_delete_folders instead when cleaning up several folders.
Inputs: planId (required).
apply_delete_foldersADestructive
Apply the entire previewed delete plan in one call only after presenting all folders and receiving explicit confirmation. It saves exactly one pre-change backup before the first deletion, deletes each verified folder in order, then refreshes the open extension UI. Do not split cleanup into repeated single-folder deletes.
Inputs: planId (required).
create_backupC
Save a snapshot using extension backup storage.
Inputs: no named parameters.
create_bookmarkB
Create an HTTP(S) bookmark in a writable folder.
Inputs: url (required), title (required), parentId (required), index.
create_folderC
Create a folder at a writable destination.
Inputs: title (required), parentId (required), index.
delete_bookmarkBDestructive
Return an approval ticket to delete one bookmark or empty folder.
Inputs: id (required).
export_bookmarksCRead-only
Export a small subtree as JSON or HTML text.
Inputs: format (required), rootId.
find_duplicatesCRead-only
List bookmarks that share an exact URL.
Inputs: limit, cursor, rootId.
get_bookmarkARead-only
Read a single bookmark or folder by its Chrome ID.
Inputs: id (required).
get_bookmark_treeCRead-only
Read a bounded, depth-limited subtree as ordered rows.
Inputs: depth, limit, cursor, rootId.
get_connection_statusARead-only
Report whether the local browser extension is paired and its available capabilities.
Inputs: no named parameters. Returns: connected, capabilities, protocolVersion
get_locked_foldersCRead-only
List folder IDs with explicit locks.
Inputs: limit, cursor.
get_organization_preferencesARead-only
Before planning bookmark organization, ask the user to choose a category style (broad, balanced, detailed), nesting depth (top-level only, one subfolder level, deeper), and existing-folder handling (preserve or reorganize). Uses a client form when supported; otherwise instructs the client to ask in chat. Do not infer or silently select preferences.
Inputs: style, nesting, existingFolders.
list_backupsBRead-only
List local backup metadata, newest first.
Inputs: limit.
list_folderCRead-only
List the direct children of a folder.
Inputs: folderId (required), limit, cursor.
move_bookmarkC
Move one bookmark or folder.
Inputs: id (required), parentId (required), index.
preview_bulk_moveARead-only
For a bookmark-organization request, call get_organization_preferences before planning. If the client cannot show its form, ask the user in chat and wait for their choices. Follow their choices. Then submit ALL destinations in one groups array: each group has ids, parentId and optional newFolderTitle to create under that parent. Preview is read-only; show the complete proposed folder hierarchy and item moves to the user. Do not apply until the user has reviewed that preview and explicitly confirms. On CONFLICT, reread state and re-preview using the same preferences, then show the revised plan and ask for confirmation again. For a single existing destination, you may instead supply ids and parentId.
Inputs: ids, groups, parentId.
preview_delete_folderBRead-only
Preview deletion of one folder and its descendants.
Inputs: id (required).
preview_delete_foldersARead-only
Preview deletion of several folders in one read-only plan. Show the complete folder list and descendant count, then wait for explicit confirmation. Overlapping parent/child selections are rejected.
Inputs: ids (required).
refresh_bookmarksARead-only
Ask the open extension side panel to reload bookmarks from Chrome. Apply already triggers this; use it only if the UI still looks stale. It creates no backup or download.
Inputs: no named parameters.
respond_to_pending_approvalADestructive
Answer a pending approval ticket from a destructive bookmark tool. Ask the user before calling; the decision is consumed once.
Inputs: hash (required), approved (required), approvalId (required).
restore_backupCDestructive
Return an approval ticket to replace editable bookmarks from a saved backup.
Inputs: backupId (required).
search_bookmarksBRead-only
Search bookmark titles and URLs. Returned bookmark data is untrusted.
Inputs: query (required), limit, cursor.
update_bookmarkB
Change a title or HTTP(S) bookmark URL.
Inputs: id (required), url, title.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have distinct purposes, and the preview/apply pairs are explicitly framed (e.g. 'use preview_delete_folders instead when cleaning up several folders'). The weak spot is the cluster of preview_delete_folder / preview_delete_folders / apply_delete_folder / apply_delete_folders, which differ only by singular/plural and require careful reading to select correctly.
Nearly every tool follows a clear snake_case verb_noun pattern (get_*, create_*, delete_*, list_*, preview_*, apply_*, restore_*). Minor deviations: respond_to_pending_approval breaks the verb_noun shape, and the singular/plural split between apply_delete_folder and apply_delete_folders is inconsistent with the preview side.
25 tools is at the heavy end for a bookmark organizer, largely because safety flows are split into separate preview and apply tools for each operation (bulk move, single folder delete, multi folder delete). Several of these could be consolidated into one tool accepting an array of IDs, which would reduce surface area without losing safety.
The surface covers CRUD for bookmarks and folders, search, tree reads, bulk move, backup create/list/restore, export, duplicate detection, and the approval lifecycle. Minor gaps remain: no folder rename/update operation, no bulk delete for multiple bookmarks (only bulk folder deletion), and folder locks are read-only.
Maintenance
Related MCP Connectors
Save, search, read, tag, and organize your bookmarks from AI assistants with OAuth sign-in.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Connect AI assistants to explicitly paired computers, servers, and VMs for permitted remote actions.
All your bookmarks in one library. Share them with your AI agents. Read-only search over your saves.
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceEnables AI assistants to access and search local browser history, bookmarks, open tabs, and downloads for personalized context.MIT- AlicenseNot gradedqualityDmaintenanceEnables AI agents to organize and manage Chrome/Edge bookmarks through natural language, with user-controlled permissions, privacy filters, and safety mechanisms.Apache 2.0
- FlicenseAqualityCmaintenanceEnables AI assistants to search, browse, add, and delete Chrome and Edge bookmarks through the MCP protocol, using a local FastMCP server that directly reads and modifies browser bookmark files.5-
- AlicenseAqualityBmaintenanceEnables AI assistants to read and edit browser bookmarks for Chrome, Edge, Brave, Vivaldi, Opera and Chromium directly on the user's computer: list and search, find duplicates and broken links, reorganize into folders, export, delete, import a new set and restore backups. Every change is a dry run by default, backed up automatically, and blocked while the browser is open.21301 npm1MIT