Joplin MCP for Claude

v2.0.0
io.github.kogeler/joplin-md-sync Checked 2 hours ago Published 3 days ago

Self-hosted Joplin MCP server with built-in OAuth for hosted Claude and a headless Linux service

Values you need

VariableWhat it is
JOPLIN_TOKENrequired secret Joplin Web Clipper authorization token

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add joplin-md-sync -e 'JOPLIN_TOKEN=<JOPLIN_TOKEN>' -- uvx joplin-md-sync==2.0.0 mcp stdio --port 41184
Add to claude_desktop_config.json
{
  "mcpServers": {
    "joplin-md-sync": {
      "args": [
        "joplin-md-sync==2.0.0",
        "mcp",
        "stdio",
        "--port",
        "41184"
      ],
      "command": "uvx",
      "env": {
        "JOPLIN_TOKEN": "<JOPLIN_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "joplin-md-sync": {
      "args": [
        "joplin-md-sync==2.0.0",
        "mcp",
        "stdio",
        "--port",
        "41184"
      ],
      "command": "uvx",
      "env": {
        "JOPLIN_TOKEN": "<JOPLIN_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "JOPLIN_TOKEN",
      "id": "joplin-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "joplin-md-sync": {
      "args": [
        "joplin-md-sync==2.0.0",
        "mcp",
        "stdio",
        "--port",
        "41184"
      ],
      "command": "uvx",
      "env": {
        "JOPLIN_TOKEN": "${input:joplin-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.joplin-md-sync]
command = "uvx"
args = ["joplin-md-sync==2.0.0", "mcp", "stdio", "--port", "41184"]
env = { "JOPLIN_TOKEN" = "<JOPLIN_TOKEN>" }

For AI agents

  1. Ask the user for: JOPLIN_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: joplin_list_notebooks, joplin_get_notebook, joplin_create_notebook, joplin_update_notebook, joplin_delete_notebook, joplin_restore_notebook, joplin_list_notebook_notes, joplin_list_notes, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json