IM

inkdropapp/mcp-server

Data science & ML

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

56 stars 8 forks 品質 72 トレンド 33Apache-2.0

Inkdropモデルコンテキストプロトコルサーバー

概要

InkdropローカルHTTPサーバーAPI用のモデルコンテキストプロトコルサーバー。 1. : ノートの完全な内容をデータベースから取得します。 - 必須入力: - NoteId: 取得するノートのID。 Note docs で id として見つけることができます。 常にメモから始めます。 - オプションの入力: -includeTemplate: true と Note に sourceTemplateId が含まれている場合、そのテンプレートをフェッチし、追加のテキストブロックとして体(完全な指示と例)を埋め込む。 デフォルト: false. - Note: テンプレートからメモを作成すると、そのレスポンスは、そのソーステンプレートにリソースリンクが含まれているため、その本文は、フィラーアウトの指示と例を保持しています。 2. : メモのバックリンクを取得する — それにリンクするメモ。 - 必須入力: - NoteId: メモのIDは、バックリンクを検索します。 常にメモから始めます。 -注記: 各結果は、参照ノートを指すリソースリンク(inkdrop://note/)として返されます。 バックリンクは、メモのリンク URI のすべてのメモ ボディを検索することで発見されます。 3.

概要(AI 翻訳)

#インキドロップMCPサーバー

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

インストール

ドキュメントを読む

コンポーネント

ツール

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

  • 必須入力:
  • [noteId]: 取得するノートのID。 ノート ドキュメントの _id として見つけることができます。 常に[note:で始まります。
  • 任意入力:
  • [includeTemplate: true]とノートが[[sourceTemplateId]を持っているとき、テンプレートをフェッチし、その体を埋め込む(指示と例を記入)余分なテキストブロックとして。 デフォルト: false. -注記: ノートがテンプレートから作成された場合、応答には、そのソーステンプレートにリソースリンクが含まれているため、その本文は、記入項目の指示と例を保持しています。 2.[read-backlinks: メモのバックリンクを取得する — それにリンクするメモ。
  • 必須入力:
  • [noteId]: メモのIDは、バックリンクを検索します。 常に[note:で始まります。 -注記: 各結果は、参照ノートを指すリソースリンク(inkdrop://note/ )として返されます。 バックリンクは、メモのリンク URI のすべてのメモ ボディを検索することで発見されます。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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/) 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. list-templates: List note templates — your custom templates, followed by the official ones bundled with Inkdrop.
    • Optional inputs:
      • keyword: Filter templates by fuzzy-matching their titles.
    • Note: Results include truncated template bodies (200 characters). Use read-note to get full content.
  6. create-note: Create a new note in the database.
    • Required inputs:
      • bookId: The notebook ID. Must start with ‘book:’ or be ‘trash’ or ‘template’. Specify ‘template’ to create a custom note template.
      • title: The note title.
      • body: The content of the note in Markdown.
    • Optional inputs:
      • status: The note status (none, active, onHold, completed, dropped).
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector "./dist/index.js"
MCP 初心者?mcpskill.org のガイドから始めましょう →