Overview
The Bookmarkjar ® MCP server exposes your bookmarks as tools that any MCP‑capable client can call.- Endpoint:
POST /api/tools/mcp(JSON‑RPC 2.0 over HTTP) - Tools:
bookmarks.search,bookmarks.insert - Auth: session cookies (same‑origin) or
x-api-keyheader
Use an API key for editor/HTTP clients. Create one in Dashboard → Profile → API Keys.
Include it as
x-api-key: YOUR_API_KEY.Quickstart (HTTP)
All requests go tohttps://bookmarkjar.com/api/tools/mcp.
result.content[] items with type: "text" and a JSON string payload.
Authentication
- API Key: add
x-api-key: YOUR_API_KEYheader. Keys inherit your user/org permissions. - Session: browser requests on the same origin can rely on cookies (logged‑in session).
- Common errors: 401 (missing/invalid auth), 400 (invalid JSON‑RPC or params).
IDE Setup
Claude Code (VS Code)
Add the MCP server via Settings (JSON):bookmarks.search or bookmarks.insert in chats.
Cursor
Open Settings (JSON) and add an MCP server entry. Cursor supports HTTP MCP servers similarly:Window (Windsurf/Window IDEs)
Most MCP‑aware editors accept a similarmcpServers JSON block. Add an HTTP server with headers:
Tools Reference
bookmarks.search
- Purpose: full‑text and filtered search across your bookmarks.
- Arguments:
search(string): keywords or phrase. Optional.tags(string[] | string): tags to filter. Optional.domain(string): limit to a domain. Optional.type(string): one oflink | image | color | text. Optional.visibility(string):private | organization | public. Optional.page(number): page index, default 1.limit(number): page size, default 5.
bookmarks.insert
- Purpose: create bookmarks by URL.
- Arguments:
urls(string | string[]): one or more URLs. Required.
JSON‑RPC Shapes
initializerequest:
tools/listrequest:
tools/callrequest (generic):
Troubleshooting
- 401 Unauthorized: missing/invalid
x-api-keyor no active session. - 400 Invalid Request/Params: ensure JSON‑RPC shape and tool arguments match examples.
- Unknown tool/method: use
tools/listto verify names.