
inkdropapp/mcp-server
Data science & MLこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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
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_idin the note docs. It always starts withnote:.
- Optional inputs:
includeTemplate: Whentrueand the note has asourceTemplateId, 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.
- Required inputs:
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 withnote:.
- 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.
- Required inputs:
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-noteto get full content. - Supports advanced search qualifiers like
book:,tag:,status:,title:, etc.
- Required inputs:
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, ortitle). Default:updatedAt.descending: Reverse the order of output. Default:true.
- Note: Results include truncated note bodies (200 characters). Use
read-noteto get full content.
- Required inputs:
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-noteto get full content.
- Optional inputs:
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).
- Required inputs:
インストール
npx @modelcontextprotocol/inspector "./dist/index.js"