📝 Joplin MCP 服务器
Joplin的模型上下文协议 (MCP) 服务器,支持通过模型上下文协议访问笔记。非常适合与 Claude 等 AI 助手集成。
✨ 特点
🔍搜索笔记:所有笔记的全文搜索
📖阅读笔记:检索个人笔记
✏️编辑笔记:创建新笔记并更新现有笔记
🗑️删除笔记:将笔记移至垃圾箱或永久删除
📥 Markdown Import :将 Markdown 文件导入为笔记
🤖 AI 集成:与 Claude 和其他支持 MCP 的 AI 助手无缝集成
🚀 安装
先决条件
⚙️ 配置
Joplin API 令牌
打开 Joplin 桌面
转到工具->选项->Web Clipper
启用 Web Clipper 服务
复制 API 令牌
在项目目录中创建.env
文件:
Claude 桌面设置
安装 Claude Desktop
下载Claude桌面
确保您拥有最新版本(菜单:Claude -> 检查更新...)
配置 MCP 服务器
{ "mcpServers": { "joplin": { "command": "/PATH/TO/UV/uv", "args": [ "--directory", "/PATH/TO/YOUR/PROJECT/joplin_mcp", "run", "src/mcp/joplin_mcp.py" ] } } }将
/PATH/TO/UV/uv
替换为 uv 安装的绝对路径使用以下方式查找路径:
which uv
macOS 示例:
/Users/username/.local/bin/uv
Windows 示例:
C:\Users\username\AppData\Local\Microsoft\WindowsApps\uv.exe
将
/PATH/TO/YOUR/PROJECT/joplin_mcp
替换为项目的绝对路径
重要提示:Claude Desktop 需要
uv
的完整路径,因为它无法访问 shell 环境变量。
🛠️ 可用工具
搜索笔记
在乔普林 (Joplin) 搜索笔记。
参数:
query
(字符串):搜索查询limit
(int,可选):最大结果数(默认值:100)
获取注释
通过 ID 检索特定注释。
参数:
note_id
(字符串): 笔记的 ID
创建注释
创建新笔记。
参数:
title
(字符串):注释标题body
(字符串,可选):Markdown 中的注释内容parent_id
(字符串,可选):父文件夹的 IDis_todo
(布尔值,可选):这是否是待办事项
更新说明
更新现有注释。
参数:
note_id
(字符串): 要更新的注释的 IDtitle
(字符串,可选):新标题body
(字符串,可选):新内容parent_id
(字符串,可选):新的父文件夹 IDis_todo
(布尔值,可选):新的待办事项状态
删除注释
删除注释。
参数:
note_id
(字符串): 要删除的注释的 IDpermanent
(布尔值,可选):如果为真,则永久删除该注释
导入标记
将 markdown 文件导入为新笔记。
参数:
file_path
(字符串):markdown 文件的路径
🧪 开发
调试模式
以调试模式启动服务器:
这将启动http://localhost:5173上的 MCP 检查器,您可以在其中测试工具。
📄 许可证
MIT 许可证- 版权所有 (c) 2025 David Weigend
👤 作者
大卫·魏根德
网站: weigend.studio
GitHub: @dweigend
🤝 贡献
欢迎贡献代码、提出问题和功能请求!请访问问题页面。
local-only server
The server can only run on the client's local machine because it depends on local resources.
该服务器使 AI 助手能够通过模型上下文协议访问和操作 Joplin 笔记,从而允许使用自然语言搜索、阅读、编辑和管理笔记。
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables semantic search and retrieval of Apple Notes content, allowing AI assistants to access, search, and create notes using on-device embeddings.Last updated -2
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to search and access information stored in Kibela, supporting note search, retrieval, creation and updating.Last updated -62712MIT License
- -security-license-qualityA Model Context Protocol server that enables AI assistants to interact with Notion's API for reading, creating, and modifying Notion content through natural language interactions.Last updated -MIT License
- -securityFlicense-qualityA Model Context Protocol server that extends AI capabilities through tools for remote control, note-taking, email operations, and knowledge search.Last updated -