Inkdropのロゴ

Inkdrop

組織
inkdropapp

Inkdrop Model Context Protocol Server

公開者inkdropapp
リポジトリmcp-server
言語TypeScript
フォーク
8
スター
56
利用可能なツール
11
通信方式stdio
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Inkdropは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 11個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには56件のスターと8件のフォークがあります。

Inkdrop MCP Server

A Model Context Protocol server for the Inkdrop Local HTTP Server API.

Installation

Read the docs here.

Components

Tools

  1. read-note: Retrieve the complete contents of the note by its ID from the database.
    • Required inputs:
      • noteId: The ID of the note to retrieve. It can be found as _id in the note docs. It always starts with note:.
    • Optional inputs:
      • includeTemplate: When true and the note has a sourceTemplateId, also fetch that template and embed its body (fill-out instructions and examples) as an extra text block. Default: false.
    • Note: If the note was created from a template, the response includes a resource link to its source template, whose body holds the fill-out instructions and examples.
  2. read-backlinks: Retrieve backlinks for a note — the notes that link to it.
    • Required inputs:
      • noteId: The ID of the note to find backlinks for. It always starts with note:.
    • Note: Each result is returned as a resource link (inkdrop://note/<id>) pointing to the referring note. Backlinks are found by searching all note bodies for the note's link URI.
  3. search-notes: List all notes that contain a given keyword.
    • Required inputs:
      • keyword: Keyword to search for.
    • Note: Results include truncated note bodies (200 characters). Use read-note to get full content.
    • Supports advanced search qualifiers like book:, tag:, status:, title:, etc.
  4. list-notes: List all notes with specified conditions.
    • Required inputs:
      • bookId: The notebook ID. It always starts with 'book:'.
    • Optional inputs:
      • tagIds: An array of tag IDs to filter. Each starts with 'tag:'.
      • keyword: Keyword to filter notes.
      • sort: Sort field (updatedAt, createdAt, or title). Default: updatedAt.
      • descending: Reverse the order of output. Default: true.
    • Note: Results include truncated note bodies (200 characters). Use read-note to get full content.
  5. create-note: Create a new note in the database.
    • Required inputs:
      • bookId: The notebook ID. Must start with 'book:' or be 'trash'.
      • title: The note title.
      • body: The content of the note in Markdown.
    • Optional inputs:
      • status: The note status (none, active, onHold, completed, dropped).
      • tags: An array of tag IDs to assign to the note. Each must start with 'tag:'.
  6. update-note: Update an existing note in the database. Only the fields you provide will be updated; omitted fields remain unchanged.
    • Required inputs:
      • _id: The note ID. Must start with 'note:'.
      • _rev: The revision ID (CouchDB MVCC-token).
    • Optional inputs:
      • bookId: The notebook ID. Must start with 'book:' or be 'trash'.
      • title: The note title.
      • body: The content of the note in Markdown.
      • status: The note status (none, active, onHold, completed, dropped).
      • tags: An array of tag IDs to assign to the note. Each must start with 'tag:'.
  7. patch-note: Update the body of an existing note by performing an exact string replacement. More efficient than update-note for small edits to large notes as it saves tokens. You must first read the note with read-note to get the current body.
    • Required inputs:
      • _id: The note ID. Must start with 'note:'.
      • _rev: The revision ID (CouchDB MVCC-token).
      • old_string: The exact text to find in the note body. Must match exactly one occurrence. Include enough surrounding context to ensure a unique match.
      • new_string: The text to replace old_string with. Use an empty string to delete the matched text.
  8. list-notebooks: Retrieve a list of all notebooks.
  9. read-book: Retrieve a single notebook by its ID.
    • Required inputs:
      • bookId: The notebook ID. Must start with 'book:'.
  10. create-book: Create a new notebook in the database.
    • Required inputs:
      • name: The notebook name.
    • Optional inputs:
      • parentBookId: The ID of the parent notebook. Must start with 'book:'. Omit it to create the notebook at the root level.
  11. update-book: Update an existing notebook in the database. Only the fields you provide will be updated; omitted fields remain unchanged, so you don't need to read the notebook first.
    • Required inputs:
      • _id: The notebook ID. Must start with 'book:'.
    • Optional inputs:
      • _rev: The revision ID (CouchDB MVCC-token). Only needed as an optimistic-concurrency guard — pass it to make the update fail on a conflicting concurrent edit.
      • name: The notebook name.
      • parentBookId: The ID of the parent notebook. Pass null to move the notebook to the root level.
  12. list-tags: Retrieve a list of all tags.
  13. read-tag: Retrieve a single tag by its ID.
    • Required inputs:
      • tagId: The tag ID. Must start with 'tag:'.
  14. create-tag: Create a new tag in the database.
    • Required inputs:
      • name: The name of the tag.
    • Optional inputs:
      • color: The color type of the tag (default, red, orange, yellow, olive, green, teal, blue, violet, purple, pink, brown, grey, black). Default: default.
  15. update-tag: Update an existing tag in the database. Only the fields you provide will be updated; omitted fields remain unchanged, so you don't need to read the tag first.
    • Required inputs:
      • _id: The tag ID. Must start with 'tag:'.
    • Optional inputs:
      • _rev: The revision ID (CouchDB MVCC-token). Only needed as an optimistic-concurrency guard — pass it to make the update fail on a conflicting concurrent edit.
      • name: The name of the tag.
      • color: The color type of the tag. Omit it to keep the tag's current color.
  16. create-file: 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.
    • Required inputs: exactly one of
      • filePath: Absolute path to a local image file to attach. Preferred — it keeps the image bytes out of the conversation.
      • data: Base64-encoded image data, without a data: URI prefix.
    • Optional inputs:
      • name: The file name. Defaults to the file name of filePath, or image.<ext> when data is given.
      • contentType: The MIME type (image/png, image/jpeg, image/jpg, image/svg+xml, image/gif, image/heic, image/heif). Inferred from the filePath extension when omitted, so it is required with data.
      • publicIn: An array of note IDs where the attachment is included. Each must start with 'note:'.
    • Note: Attachments are limited to 10MB.
  17. read-file: Retrieve an attachment file by its ID. Returns the file metadata, and the image itself when it is a PNG, JPEG or GIF.
    • Required inputs:
      • fileId: The attachment ID. Must start with 'file:'.
    • Optional inputs:
      • outputPath: Absolute path to write the attachment to. When given, the file is saved there and its bytes are not returned inline. Required to get at SVG, HEIC and HEIF attachments, which cannot be displayed inline.
      • includeImage: Whether to return the image alongside the metadata. Default: true. Set to false to fetch only the metadata of a large attachment.

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

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

Be sure that environment variables are properly configured.

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

You can also watch the server logs with this command:

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

インストール

TypingMind
前提条件:

Node.js 18+

{
  "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"
      }
    }
  }
}

利用可能なツール

  • read-note

    Retrieve the complete contents of the note by its ID from the database.

  • search-notes

    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.
    • bookId bookId:kGlLniaV: Searches for notes in the notebook ID 'book:kGlLniaV'.
    • tag
      tag:JavaScript: Searches for all notes having the 'JavaScript' tag. Read more about tags.
    • status
      status:onHold: Searches for all notes with the 'On hold' status. Read more about statuses.
    • title
      title:"JavaScript setTimeout": Searches fo
  • list-notes

    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.

  • create-note

    Create a new note in the database

  • update-note

    Update the existing note in the database. You should retrieve the existing note with read-note first. When updating the note, you must specify not only the changed fields but also all the un-changed fields.

  • list-tags

    Retrieve a list of all tags

  • read-tag

    Retrieve a single tag

  • create-tag

    Create a new tag in the database

  • update-tag

    Update the existing tag in the database. You should retrieve the existing tag with list-tags first. When updating the tag, you must specify not only the changed fields but also all the un-changed fields.

  • list-notebooks

    Retrieve a list of all notebooks

  • read-book

    Retrieve a single book

InkdropのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Inkdropに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Inkdropをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. InkdropのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "inkdrop": {
      "command": "npx",
      "args": [
        "-y",
        "@inkdropapp/mcp-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてInkdropのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. InkdropのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Inkdropを使ってこのタスクを手伝ってもらえますか?
Inkdrop
はい、読みました。
Inkdropで調べた結果をお伝えします。

よくある質問

Inkdrop MCPサーバーは何に使いますか?

Inkdropは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでInkdrop MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでInkdropを利用できます。

TypingMindでInkdrop MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Inkdropを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Inkdrop MCPをTypingMindに接続するにはどうすればよいですか?

InkdropはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでInkdrop MCPのどのようなツールを利用できますか?

Inkdropは11個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Inkdrop MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Inkdropで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

inkdrop-prompt

Instructions for using the Inkdrop MCP server effectively

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇