JM

jakubfrieb/mcp-joplin

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

50 stars 10 forks Качество 66 Тренд 0MIT

jakubfrieb/mcp-joplin - кандидат на сервер MCP, импортированный из https://github.com/jakubfrieb/mcp-joplin.

Обзор

jakubfrieb/mcp-joplin - кандидат на сервер MCP, импортированный из https://github.com/jakubfrieb/mcp-joplin.

Обзор (машинный перевод)

Это реализация Node.js сервера MCP (Model Context Protocol) для Joplin.

##Установка

Конфигурация

Создайте файл .env со следующими переменными:

Вы можете найти свой токен Joplin в настольном приложении Joplin под: Инструменты > Варианты: Web Clipper

Использование

Запустите сервер:

Вы также можете указать пользовательский файл окружения:

Использование в коде дополнения: Имя: [[Т1]] Командир: [[Т2]]

Использование в mcp.json (прочие инструменты)

###Берегись

Сервер регистрирует все входящие команды и исходящие ответы. Журналы хранятся в двух местах:

  1. ** Консольная продукция**: Базовая информация отображается в консоли
  2. **Файлы журнала **: Подробные журналы сохраняются в каталоге logs с метками времени

Вы можете настроить уровень журнала, установив переменную среды LOG_LEVEL:

Доступные уровни журналов (от большинства до наименее многословных):

  • [[Т5]]: Все сообщения, включая подробные данные команд и ответов
  • [[Т6]]: Стандартные оперативные сообщения (по умолчанию)
  • [[Т7]]: Только предупреждения и ошибки
  • [[Т8]]: Только ошибки

Доступные инструменты

###Список ноутбуки

Получает полную иерархию тетрадей от Джоплина.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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:

  1. Console output: Basic information is displayed in the console
  2. Log files: Detailed logs are saved in the logs directory 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 data
  • info: Standard operational messages (default)
  • warn: Warnings and errors only
  • error: 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_notebook command, you must use the notebook ID (a long alphanumeric string), not the notebook title.

read_notebook

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →