Skip to main content
Glama
Inkdrop MCP Server

Inkdrop MCP Server

Official
by inkdropapp

Inkdrop MCP サーバー

Inkdrop ローカル HTTP サーバー API用のモデル コンテキスト プロトコルサーバー。

Related MCP server: Simplenote MCP Server

インストール

  1. ローカルHTTPサーバーをセットアップする

  2. Claude Desktop にサーバー設定を追加します。

    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "inkdrop": {
      "command": "npx",
      "args": ["-y", "@inkdropapp/mcp-server"],
      "env": {
        "INKDROP_LOCAL_SERVER_URL": "http://localhost:19840",
        "INKDROP_LOCAL_USERNAME": "your-local-server-username",
        "INKDROP_LOCAL_PASSWORD": "your-local-server-password"
      }
    }
  }
}

コンポーネント

ツール

  1. read-note : データベースから ID を指定してノートの完全な内容を取得します。

    • 必要な入力:

      • noteId : 取得するノートのID。ノートのドキュメントでは_idとして確認できます。常にnote:で始まります。

  2. search-notes : 指定したキーワードを含むすべてのノートを一覧表示します。

    • 必要な入力:

      • keyword : 検索するキーワード。

    • 注: 結果には、切り捨てられたメモ本文(200文字)が含まれます。完全な内容を取得するには、 read-noteを使用してください。

    • book: 、 tag: 、 status: 、 title:などの高度な検索修飾子をサポートします。

  3. list-notes : 指定された条件に一致するすべてのメモを一覧表示します。

    • 必要な入力:

      • bookId : ノートブックID。常に「book:」で始まります。

    • オプション入力:

      • tagIds : フィルタリングするタグIDの配列。それぞれは「tag:」で始まります。

      • keyword : ノートをフィルタリングするためのキーワード。

      • sort : ソートフィールド( updatedAt 、 createdAt 、またはtitle )。デフォルト: updatedAt 。

      • descending :出力の順序を逆にします。デフォルト: true 。

    • 注: 結果には、切り捨てられたメモ本文(200文字)が含まれます。完全な内容を取得するには、 read-noteを使用してください。

  4. create-note : データベースに新しいメモを作成します。

    • 必要な入力:

      • bookId : ノートブックのID。'book:'で始まるか、'trash'である必要があります。

      • title : ノートのタイトル。

      • body : Markdown でのメモの内容。

    • オプション入力:

      • status : ノートのステータス ( none 、 active 、 onHold 、 completed 、 dropped )。

  5. update-note : データベース内の既存のメモを更新します。

    • 必要な入力:

      • _id : ノートID。「note:」で始まる必要があります。

      • _rev : リビジョン ID (CouchDB MVCC トークン)。

      • bookId : ノートブックのID。'book:'で始まるか、'trash'である必要があります。

      • title : ノートのタイトル。

      • body : Markdown でのメモの内容。

    • オプション入力:

      • status : ノートのステータス ( none 、 active 、 onHold 、 completed 、 dropped )。

  6. list-notebooks : すべてのノートブックのリストを取得します。

  7. list-tags : すべてのタグのリストを取得します。

デバッグ

MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用を強くお勧めします。

次のコマンドを使用して、 npm経由で MCP Inspector を起動できます。

npx @modelcontextprotocol/inspector "./dist/index.js"

環境変数が適切に設定されていることを確認してください。

起動すると、ブラウザでアクセスしてデバッグを開始できる URL がインスペクタに表示されます。

次のコマンドでサーバー ログを監視することもできます。

tail -n 20 -f ~/Library/Logs/Claude/mcp-server-inkdrop.log

Available Tools

18 tools
create-bookA

Create a new notebook in the database. To create a nested notebook, pass the parent notebook ID as parentBookId. Call list-notebooks first to find it.

Inputs: name (required), parentBookId.

create-fileA

Create a new attachment file in the database from a local image file or from base64 image data. Returns the Markdown to embed the attachment in a note body. Prefer filePath over data: it keeps the image bytes out of the conversation.

Inputs: data, name, filePath, contentType.

create-noteD

Create a new note in the database

Inputs: body (required), title (required), bookId (required), tags, +2 more.

create-tagB

Create a new tag in the database

Inputs: name (required), color.

list-notebooksA

Retrieve a list of all notebooks

Inputs: no named parameters.

list-notesA

List all notes with specified conditions. The result does not include entire note bodies as they are truncated in 200 characters. You have to retrieve the full note content by calling read-note.

Inputs: sort, limit, bookId, tagIds, +2 more.

list-tagsA

Retrieve a list of all tags

Inputs: no named parameters.

list-templatesA

List note templates: your custom templates, followed by the official ones bundled with Inkdrop. Templates are notes whose bookId is template. Official templates are read-only. The result does not include entire template bodies as they are truncated in 200 characters. You have to retrieve the full template content by calling read-note. When you create a note from a template, pass the template's _id as sourceTemplateId to create-note.

Inputs: keyword.

patch-noteA

Update the body of the existing note by performing one or more exact string replacements. Use this tool to make partial updates to the note body without replacing the entire content. You must first read the note with read-note to get the current body, then specify the exact substrings to replace. Edits are applied in order, each against the result of the previous one, and the note is only saved if all of them succeed.

Inputs: _id (required), _rev (required), edits (required), createdAt, +1 more.

read-bookB

Retrieve a single book

Inputs: bookId (required).

read-fileA

Retrieve an attachment file by its ID. Returns the file metadata, and the image itself when it is a PNG, JPEG or GIF. Pass outputPath to write the attachment to disk instead — required to get at SVG, HEIC and HEIF attachments, which cannot be displayed inline.

Inputs: fileId (required), outputPath, includeImage.

read-noteA

Retrieve the complete contents of the note by its ID or its note link from the database. A note link can carry a line anchor (inkdrop://note/<id>#L5 or #L5-L8); the returned body then holds only those lines. A note created from a template has a sourceTemplateId; when present, the response includes a resource link to that source template, whose body holds the fill-out instructions and examples. Read the template (or pass includeTemplate: true) before completing the note.

Inputs: noteId (required), includeTemplate.

read-tagC

Retrieve a single tag

Inputs: tagId (required).

search-notesA

List all notes that contain a given keyword. The result does not include entire note bodies as they are truncated in 200 characters. You have to retrieve the full note content by calling read-note. Here are tips to specify keywords effectively:

Use special qualifiers to narrow down results

You can use special qualifiers to get more accurate results. See the qualifiers and their usage examples:

  • book book:Blog: Searches for notes in the 'Blog' notebook. book:"Desktop App": Searches for notes in the 'Desktop App' notebook. book:kGlLniaV: Searches for notes in the notebook with the ID 'book:kGlLniaV'.

  • tag tag:JavaScript: Searches for all notes having the 'JavaScript' tag. Read more about tags. tag:pQ7xYt2R: Searches for all notes having the tag with the ID 'tag:pQ7xYt2R'.

  • status status:onHold: Searches for all notes with the 'On hold' status. Read more about statuses.

  • title title:"JavaScript setTimeout": Searches for the note with the specified title.

  • body body:KEYWORD: Searches for a specific word in all notes. Equivalent to a global search.

Combine qualifiers

You can combine the filter qualifiers to refine data even more.

Find notes that contain the word 'Hello' and have the 'Issue' tag.

Hello tag:Issue

Find notes that contain the word 'Typescript,' have the 'Contribution' tag, and the 'Completed' status

Typescript tag:Contribution status:Completed

Search for text with spaces

To find the text that includes spaces, put the text into the double quotation marks ("):

"database associations"

To exclude text from the search results or ignore a specific qualifier, put the minus sign (-) before it. You can also combine the exclusions. See the examples:

  • -book:Backend "closure functions": Ignores the 'Backend' notebook while searching for the 'closure functions' phrase.

  • -tag:JavaScript: Ignores all notes having the 'JavaScript' tag.

  • -book:Typescript tag:work "Data types": Ignores the 'Typescript' notebook and the 'work' tag while searching for the 'Data types' phrase.

  • -status:dropped title:"Sprint 10.0" debounce: Ignores notes with the 'Dropped' status while searching for the 'debounce' word in the note with the 'Sprint 10.0' title.

  • -"Phrase to ignore" "in the rest of a sentence": Ignores the 'Phrase to ignore' part while searching for 'in the rest of a sentence'.

Note that you can't specify excluding modifiers only without including conditions.

WARNING: Make sure to enter a text to search for after the exclusion modifier.

  • ✅ Will work -book:Backend "closure functions"

  • ⛔️ Won't work -book:Backend. There's no query. Inkdrop doesn't understand what to search for.

Inputs: keyword (required).

update-bookA

Update the existing notebook in the database. Only the fields you provide will be updated; omitted fields remain unchanged, so you do not need to read the notebook first. Call list-notebooks or read-book to find the notebook ID.

Inputs: _id (required), _rev, name, createdAt, +2 more.

update-noteA

Update one or more existing notes in the database. Only the fields you provide will be updated; omitted fields remain unchanged. Each note is saved independently, so a failed update does not roll back the others; the result reports the outcome of every note.

Inputs: notes (required).

update-tagA

Update the existing tag in the database. Only the fields you provide will be updated; omitted fields remain unchanged, so you do not need to read the tag first. Call list-tags or read-tag to find the tag ID.

Inputs: _id (required), _rev, name, color.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 18 tools

    Disambiguation3/5

    Most tools target clearly distinct resources+actions, but the notebook tools use 'book' in their names (create-book, read-book, update-book) while list-notebooks uses 'notebook', so an agent must infer these operate on the same resource. update-note vs patch-note also overlap in purpose, though their descriptions distinguish full-update vs string-replacement semantics.

    Naming Consistency3/5

    The verb_noun pattern is followed throughout (read-, list-, create-, update-, patch-, search-), which is good. However the noun vocabulary is inconsistent: the same resource is called 'book' in three tool names but 'notebook' in list-notebooks and all descriptions, breaking predictability.

    Tool Count4/5

    18 tools is slightly heavy but reasonable for a note app spanning notes, tags, notebooks, files, templates, and backlinks. Each area earns its tools without obvious redundancy.

    Completeness3/5

    Create/read/update coverage exists for notes, tags, notebooks, and files, but there is no delete operation anywhere (no delete-note, delete-tag, delete-book, delete-file), leaving clear lifecycle gaps. Agents cannot remove stale resources through the toolset.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers