Joplin Server MCP
MCP server for Joplin Server that gives LLMs full access to notes, notebooks, tags, and attachments via the REST API.
README
Joplin Server MCP
Model Context Protocol server for Joplin Server. Gives LLMs full access to your notes, notebooks, tags, and attachments via the Joplin Server REST API.
What is Joplin Server?
Joplin is an open-source note-taking app with Markdown support, end-to-end encryption, and sync across devices. Joplin Server is the sync backend that stores and syncs your data. You can run it yourself using the official Docker image or use the managed Joplin Cloud service.
Note: This MCP server connects to Joplin Server REST API, not the Joplin Desktop Web Clipper.
Joplin Cloud: Should work with
JOPLIN_SERVER_URL=https://joplincloud.com, but this has not been tested. If you try it — please open an issue with your results.
Tools
| Tool | Description |
|---|---|
ping_joplin |
Check server connectivity |
list_notebooks |
List all notebooks |
get_notebook |
Get notebook details with notes and sub-notebooks |
create_notebook |
Create a new notebook |
update_notebook |
Rename or move a notebook (with circular reference check) |
delete_notebook |
Delete a notebook (with optional force for non-empty) |
list_notes |
List notes, optionally filtered by notebook |
get_all_notes |
Get all notes with pagination, sorting, and notebook filter |
search_notes |
Search notes by text in title or body |
get_note |
Get note text (resource references replaced with names) |
get_notes_batch |
Read multiple notes at once (up to 50, parallel) |
get_note_full |
Get note with all resources embedded as base64 |
create_note |
Create a new note |
export_note |
Export note as markdown with resources as named base64 blocks |
update_note |
Update note title, body, or move to another notebook |
delete_note |
Delete a note |
list_tags |
List all tags |
create_tag |
Create a new tag |
delete_tag |
Delete a tag |
get_note_tags |
List tags assigned to a note |
add_tag_to_note |
Add a tag to a note |
remove_tag_from_note |
Remove a tag from a note |
get_note_resources |
List resources attached to a note |
get_resource_info |
Get resource metadata |
download_resource |
Download a resource as base64 |
Setup
Prerequisites
- A running Joplin Server instance or Joplin Cloud account
- User credentials (email + password)
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
JOPLIN_SERVER_URL |
Yes | — | Joplin Server URL |
JOPLIN_EMAIL |
Yes | — | User email |
JOPLIN_PASSWORD |
Yes | — | User password |
MCP_TRANSPORT |
No | stdio |
Transport: stdio or sse |
MCP_HOST |
No | 0.0.0.0 |
SSE listen host |
MCP_PORT |
No | 8081 |
SSE listen port |
Run with Docker
docker run -d \
-e JOPLIN_SERVER_URL=https://your-joplin-server.example.com \
-e JOPLIN_EMAIL=your@email.com \
-e JOPLIN_PASSWORD=your_password \
-p 8081:8081 \
alexfail2/joplin-mcp
The container defaults to SSE transport. The endpoint will be available at http://localhost:8081/sse.
Run locally (stdio)
pip install mcp httpx
python app/server.py
Build from source
docker build -t joplin-mcp .
MCP client configuration
SSE (Docker)
{
"mcpServers": {
"joplin": {
"url": "http://localhost:8081/sse"
}
}
}
stdio (local)
{
"mcpServers": {
"joplin": {
"command": "python",
"args": ["/path/to/app/server.py"],
"env": {
"JOPLIN_SERVER_URL": "https://your-joplin-server.example.com",
"JOPLIN_EMAIL": "your@email.com",
"JOPLIN_PASSWORD": "your_password"
}
}
}
}
How it works
The server authenticates with Joplin Server via email/password sessions and builds an in-memory index of all items (notes, notebooks, tags) with a 2-minute TTL cache. Incremental sync compares server-side updated_time with cached etags, fetching only changed items (typical refresh: ~5s vs ~35s full rebuild). The index is persisted to disk so container restarts are instant. Resource metadata is loaded lazily on first access. Background refresh keeps the index up to date without blocking requests. All IDs are validated (32-char hex) before API calls.
Joplin's internal serialization format (title + markdown body + metadata block) is parsed and presented as clean structured output.
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.