
jakubfrieb/mcp-joplin 是从 https://github.com/jakubfrieb/mcp-joplin. 导入的 MCP 服务器候选人。
概览
jakubfrieb/mcp-joplin 是从 https://github.com/jakubfrieb/mcp-joplin. 导入的 MCP 服务器候选人。
概述(AI 翻译)
这是一个Node.js实现的 Joplin MCP(模型上下文协议)服务器。
安装
配置
创建包含以下变量的 .env 文件:
您可以在Joplin桌面应用中找到您的Joplin令牌: 工具>选项>网页剪辑器
用途
启动服务器:
你也可以指定自定义环境文件:
在增强代码中的应用:
姓名:joplin
命令:node /path/to/your/mcp-joplin/index.js --env-file /path/to/your/mcp-joplin/.env
mcp.json中的使用(光标等工具)
伐木
服务器会记录所有输入命令和输出响应。日志存储在两个地方:
- 控制台输出:基本信息显示在控制台中
- 日志文件:详细日志保存在带有时间戳的
logs目录中
你可以通过设置 LOG_LEVEL 环境变量来调整日志等级:
可用日志等级(从多到少):
debug:所有消息,包括详细的命令和响应数据info:标准操作消息(默认)warn:仅警告和错误error:仅限错误消息
可用工具
list_notebooks
从乔普林那里获取完整的笔记本层级结构。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Joplin MCP Server
This is a Node.js implementation of an MCP (Model Context Protocol) server for Joplin.
Installation
npm install
Configuration
Create a .env file with the following variables:
JOPLIN_PORT=41184
JOPLIN_TOKEN=your_joplin_token
You can find your Joplin token in the Joplin desktop app under: Tools > Options > Web Clipper
Usage
Start the server:
npm start
You can also specify a custom environment file:
npm start -- --env-file .env.custom
Usage in Augment Code:
name: joplin
command: node /path/to/your/mcp-joplin/index.js --env-file /path/to/your/mcp-joplin/.env
Usage in mcp.json (cursor other tools)
"joplin":{
"command":"node",
"args":[
"/path/to/your/mcp-joplin/index.js",
"--env-file",
"/path/to/your/mcp-joplin/.env"
]
}
Logging
The server logs all incoming commands and outgoing responses. Logs are stored in two places:
- Console output: Basic information is displayed in the console
- Log files: Detailed logs are saved in the
logsdirectory with timestamps
You can adjust the log level by setting the LOG_LEVEL environment variable:
LOG_LEVEL=debug npm start
Available log levels (from most to least verbose):
debug: All messages including detailed command and response datainfo: Standard operational messages (default)warn: Warnings and errors onlyerror: Only error messages
Available Tools
list_notebooks
Retrieves the complete notebook hierarchy from Joplin.
# Example output:
Notebook 1 (id: "abc123")
Subnotebook 1.1 (id: "def456")
Subnotebook 1.2 (id: "ghi789")
Notebook 2 (id: "jkl012")
search_notes
Searches for notes in Joplin and returns matching notebooks.
Parameters:
query: The search query string
# Example usage:
search_notes query="project meeting"
# Example output:
Found 2 notes matching query: "project meeting"
NOTE: To read a notebook, use the notebook ID (not the note title)
- Note: "Weekly Project Meeting" (note_id: "abc123")
Notebook: "Work" (notebook_id: "58a0a29f68bc4141b49c99f5d367638a")
Updated: 3/15/2025, 10:30:45 AM
Snippet: Notes from our weekly project meeting. Topics discussed: timeline, resources, next steps...
To read this notebook: read_notebook notebook_id="58a0a29f68bc4141b49c99f5d367638a"
- Note: "Project Kickoff Meeting" (note_id: "def456")
Notebook: "Projects" (notebook_id: "72b1c45d89ef3212a67b98f4e5d23a1b")
Updated: 3/10/2025, 2:15:30 PM
Snippet: Initial project meeting with stakeholders. Key decisions: project scope, team members...
To read this notebook: read_notebook notebook_id="72b1c45d89ef3212a67b98f4e5d23a1b"
Important: Note the difference between note titles and IDs. When using the
read_notebookcommand, you must use the notebook ID (a long alphanumeric string), not the notebook title.
read_notebook
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →