geekmonks-mcp-bookmarks
geekmonks-mcp-bookmarks
GeekMonks MCP 系列文章的配套实验项目:一个基于 stdio(TypeScript)的本地 书签 MCP 服务器。
系列文章入口:MCP 没那么玄乎
检查点标签:
part-3(仅工具)、part-4(工具 + 资源bookmarks://list+ 提示词summarize-bookmarks)
主机说明: 工具在 Cursor 中显示最稳定。即使主机界面有限,也请使用 MCP Inspector 验证 资源 和 提示词。
环境要求
Node.js 20+
Related MCP server: bookmarks-mcp
安装
git clone https://github.com/SRVivek1/geekmonks-mcp-bookmarks.git
cd geekmonks-mcp-bookmarks
git checkout part-3 # or part-4
npm install
npm run build可选:设置 BOOKMARKS_PATH 指向一个 JSON 文件路径。默认存储位置:./data/bookmarks.json(首次使用时创建;已加入 .gitignore)。
使用 MCP Inspector 验证(无需 Cursor)
在 npm run build 之后,从仓库根目录执行:
npx @modelcontextprotocol/inspector node dist/index.js连接后,打开 工具,尝试 list_bookmarks / add_bookmark / search_bookmarks。
在 part-4 标签下,还可以查看 资源(bookmarks://list)和 提示词(summarize-bookmarks)。
在 Cursor 中配置(mcp.json)
项目配置示例(请调整绝对路径):
{
"mcpServers": {
"bookmarks": {
"type": "stdio",
"command": "node",
"args": ["/ABS/PATH/TO/geekmonks-mcp-bookmarks/dist/index.js"]
}
}
}重新加载 MCP / 开启新的 Agent 对话。在提示时批准工具调用。
日志规则
切勿向 stdout 写入协议噪声。本服务器仅通过 console.error(stderr)记录日志。
许可证
MIT
Available Tools
3 toolsadd_bookmarkAdd bookmarkA
Add a bookmark with a title and URL to the local JSON store.
Inputs: url (required), title (required).
list_bookmarksList bookmarksA
List all saved bookmarks from the local JSON store.
Inputs: no named parameters.
search_bookmarksSearch bookmarksA
Search bookmarks by substring match on title or URL.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: listing, adding, and searching bookmarks. There is no overlap or ambiguity between them.
All tool names follow a consistent verb_noun pattern: list_bookmarks, add_bookmark, search_bookmarks. The pattern is clear and predictable.
With only 3 tools, the server is minimal but covers the basic operations for a bookmark store. It feels slightly thin but is reasonable for a simple local JSON store.
The server provides list, add, and search, but lacks update and delete operations, which are common for bookmark management. This is a notable gap but agents can work around it by not needing those operations.
Related MCP Connectors
Personal knowledge MCP: capture bookmarks, notes & todos by chat; archive pages; search memory.
Search, label, and manage your X (Twitter) bookmarks from any MCP client via Tweetsmash
Official Bookmax MCP server: search and save bookmarks, read notes and docs from AI assistants.
Search and chat with your X bookmarks, with citations back to the original posts.
Related MCP Servers
- AlicenseAqualityFmaintenanceA bookmark management MCP server that enables saving, searching, and managing bookmarks with tags and read/unread status, providing tools, resources, and prompts for integration.4MIT
- 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-
- FlicenseNot gradedqualityDmaintenanceProvides authenticated bookmark management tools via MCP, including adding, deleting, listing, and searching bookmarks.-
- AlicenseAqualityBmaintenanceEnables reading and writing Chrome bookmarks (folders, URLs, search, move, remove) through MCP clients like Claude Code, using a companion Chrome extension for secure local communication.1138 npm1MIT