Readwise MCP 服务器
一个用于访问和操作 Readwise 数据库的 MCP 协议服务器。
快速入门
安装
通过 npm 安装:
npm install -g readwise-mcp
或克隆仓库并安装依赖:
git clone https://github.com/IAmAlexander/readwise-mcp.git
cd readwise-mcp
npm install
npm run build
配置
运行设置向导配置 API 密钥:
npm run setup
或直接启动时提供密钥:
readwise-mcp --api-key YOUR_API_KEY
获取 API 密钥:https://readwise.io/access_token
使用
CLI 启动(默认 stdio 模式):
readwise-mcp
SSE 模式:
readwise-mcp --transport sse --port 3000
启用调试日志:
readwise-mcp --debug
测试
运行自动测试套件:
npm run test-inspector
使用脚本手动测试:
./scripts/inspector.sh
无需 API 密钥的模拟测试:
npm run test-mock