agentic-joplin

v0.2.1
agentic-joplin Checked 1 day ago Published 1 month ago

MCP server that lets AI agents manage Joplin notes, notebooks, tags, search, and resources via Joplin's local Data API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_note

Create a new Joplin note in the given notebook, in Markdown or HTML format.

ParameterTypeDescription
notebook_id *stringID of the notebook to create the note in
title *stringNote title
bodystringNote body, in the format given by "format"
formatstringFormat of the body content

get_note

Fetch a Joplin note by ID. The result includes a "format" field (markdown or html).

ParameterTypeDescription
note_id *stringID of the note to fetch
fieldsstringComma-separated list of fields to return, overriding the default field list. "markup_language" is always included so "format" can be derived.

update_note

Partially update a Joplin note by ID. Set "format" to control how "body" is interpreted.

ParameterTypeDescription
note_id *stringID of the note to update
bodystringNew body, in the format given by "format"
formatstringFormat of the body content, if body is set
notebook_idstringMove the note to this notebook ID
titlestringNew title

delete_note

Delete a Joplin note by ID.

ParameterTypeDescription
note_id *stringID of the note to delete
permanentbooleanPermanently delete instead of moving to trash

list_notes

List Joplin notes, optionally scoped to a notebook or tag.

ParameterTypeDescription
limitintegerMaximum number of notes to return
notebook_idstringOnly list notes in this notebook ID
tag_idstringOnly list notes with this tag ID (takes priority over notebook_id)

get_notebook

Fetch a Joplin notebook by ID.

ParameterTypeDescription
notebook_id *stringID of the notebook to fetch

list_notebooks

List Joplin notebooks as both a flat list and a nested tree (notebooks can be nested).

ParameterTypeDescription
limitintegerMaximum number of notebooks to return

create_notebook

Create a new Joplin notebook, optionally nested under a parent notebook.

ParameterTypeDescription
title *stringNotebook title
parent_idstringID of the parent notebook, for nesting

update_notebook

Rename and/or move a Joplin notebook by ID.

ParameterTypeDescription
notebook_id *stringID of the notebook to update
parent_idstringNew parent notebook ID, to move this notebook
titlestringNew title

delete_notebook

Delete a Joplin notebook by ID.

ParameterTypeDescription
notebook_id *stringID of the notebook to delete
permanentbooleanPermanently delete instead of moving to trash

get_tag

Fetch a Joplin tag by ID.

ParameterTypeDescription
tag_id *stringID of the tag to fetch

list_tags

List all Joplin tags.

ParameterTypeDescription
limitintegerMaximum number of tags to return

create_tag

Create a new Joplin tag.

ParameterTypeDescription
title *stringTag title

update_tag

Rename a Joplin tag by ID.

ParameterTypeDescription
tag_id *stringID of the tag to rename
title *stringNew tag title

delete_tag

Delete a Joplin tag by ID.

ParameterTypeDescription
tag_id *stringID of the tag to delete

tag_note

Attach an existing tag to a note.

ParameterTypeDescription
note_id *stringID of the note
tag_id *stringID of the tag to attach

untag_note

Detach a tag from a note.

ParameterTypeDescription
note_id *stringID of the note
tag_id *stringID of the tag to detach

find_notes

Full-text search for notes, optionally filtered by item type and scoped to a notebook and/or tag.

ParameterTypeDescription
query *stringSearch query; supports the * wildcard
limitintegerMaximum number of results to return
notebook_idstringOnly return results whose note lives in this notebook ID
tag_idstringOnly return results whose note has this tag ID
typestringRestrict results to this item type ('notebook' is mapped to Joplin's 'folder' value)

attach_resource

Upload a file and attach it to a note as a resource. Note: this reads the note body and writes back an appended link as two separate requests, so a concurrent edit to the same note (in the Joplin UI, via sync, or another tool call) between the read and write can be overwritten.

ParameterTypeDescription
file_base64 *stringBase64-encoded file content
filename *stringFile name, including extension
note_id *stringID of the note to attach the file to
mimestringMIME type of the file
titlestringResource title; defaults to the filename

get_resource

Fetch a resource's metadata, and optionally its file content as base64.

ParameterTypeDescription
resource_id *stringID of the resource
include_contentbooleanInclude the base64-encoded file content

update_resource

Rename a resource and/or replace its file content.

ParameterTypeDescription
resource_id *stringID of the resource to update
file_base64stringBase64-encoded new file content, if replacing content
filenamestringNew file name, if replacing content
mimestringMIME type of the new file content
titlestringNew title

delete_resource

Delete a resource by ID.

ParameterTypeDescription
resource_id *stringID of the resource to delete

list_note_resources

List resources attached to a note.

ParameterTypeDescription
note_id *stringID of the note
limitintegerMaximum number of resources to return

list_note_revisions

List a note's revision history. Best-effort: scans the most recent revisions account-wide since the Data API has no server-side note filter, so very old revisions on rarely-edited notes in large accounts may not surface.

ParameterTypeDescription
note_id *stringID of the note

delete_note_revisions

Permanently delete all of a note's revision history.

ParameterTypeDescription
note_id *stringID of the note

ping

Check whether the Joplin Data API is reachable.