Inkdrop MCP Server

Inkdrop MCP Server
官方

通过模型上下文协议将 Inkdrop 笔记应用与 Claude AI 集成,允许 Claude 在您的 Inkdrop 数据库中搜索、阅读、创建和更新笔记。

笔记
访问服务器

Tools

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. - **tag** `tag:JavaScript`: Searches for all notes having the 'JavaScript' tag. Read more about [tags](https://docs.inkdrop.app/manual/write-notes#tag-notes). - **status** `status:onHold`: Searches for all notes with the 'On hold' status. Read more about [statuses](/reference/note-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](#search-for-notes-across-all-notebooks). ### 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.** ```text Hello tag:Issue ``` **Find notes that contain the word 'Typescript,' have the 'Contribution' tag, and the 'Completed' status** ```text 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 ("): ```text "database associations" ``` ## Exclude text from search 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.

create-note

Create a new note in the database

update-note

Update the existing note in the database

list-notebooks

Retrieve a list of all notebooks

README

Inkdrop MCP 服务器

一个用于 Inkdrop 本地 HTTP 服务器 API模型上下文协议 服务器。

<a href="https://glama.ai/mcp/servers/c7fgtnckbv"> <img width="380" height="200" src="https://glama.ai/mcp/servers/c7fgtnckbv/badge" alt="Inkdrop Server MCP server" /> </a>

安装

  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:排序字段(updatedAtcreatedAttitle)。默认值:updatedAt
      • descending:反转输出顺序。默认值:true
    • 注意:结果包括截断的笔记正文(200 个字符)。使用 read-note 获取完整内容。
  4. create-note: 在数据库中创建一个新笔记。
    • 必需输入:
      • bookId:笔记本 ID。必须以 'book:' 开头或为 'trash'。
      • title:笔记标题。
      • body:笔记的内容,使用 Markdown 格式。
    • 可选输入:
      • status:笔记状态(noneactiveonHoldcompleteddropped)。
  5. update-note: 更新数据库中现有的笔记。
    • 必需输入:
      • _id:笔记 ID。必须以 'note:' 开头。
      • _rev:修订 ID (CouchDB MVCC-token)。
      • bookId:笔记本 ID。必须以 'book:' 开头或为 'trash'。
      • title:笔记标题。
      • body:笔记的内容,使用 Markdown 格式。
    • 可选输入:
      • status:笔记状态(noneactiveonHoldcompleteddropped)。
  6. list-notebooks: 检索所有笔记本的列表。
  7. list-tags: 检索所有标签的列表。

调试

由于 MCP 服务器通过 stdio 运行,因此调试可能具有挑战性。 为了获得最佳调试体验,我们强烈建议使用 MCP Inspector

您可以通过 npm 使用以下命令启动 MCP Inspector:

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

请确保环境变量已正确配置。

启动后,Inspector 将显示一个 URL,您可以在浏览器中访问该 URL 以开始调试。

您还可以使用以下命令查看服务器日志:

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

推荐服务器

Apple MCP Server

Apple MCP Server

通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。

精选
本地
TypeScript
Notion API MCP Server

Notion API MCP Server

使用 Notion API 实现高级待办事项列表管理和内容组织,支持创建数据库、动态筛选和协作任务跟踪等功能。

精选
Python
Todoist MCP Server

Todoist MCP Server

将 Claude 与 Todoist 集成,实现自然语言任务管理,支持使用日常语言进行项目和版块组织、任务创建、更新、完成和删除。

精选
JavaScript
Curri MCP Server

Curri MCP Server

通过管理文本笔记、提供笔记创建工具以及使用结构化提示生成摘要,从而实现与 Curri API 的交互。

官方
本地
JavaScript
Notion MCP Server

Notion MCP Server

通过将 Notion API 作为 LLM 的工具公开,从而实现与 Notion 的交互。这使得可以通过自然语言无缝地进行读取、创建、更新和删除 Notion 页面等操作。

官方
TypeScript
Obsidian MCP REST Server

Obsidian MCP REST Server

为人工智能助手提供一个标准化的接口,通过本地 REST API 与 Obsidian vault 进行交互,从而实现笔记的读取、写入、搜索和管理。

本地
TypeScript
MCP Tasks Organizer

MCP Tasks Organizer

一个 MCP 服务器,可以将 Cursor agent 计划转换为结构化的 Markdown 任务列表,并将其组织在您的存储库中,帮助您将 AI 生成的计划和建议作为可执行的规范进行跟踪。

本地
Python
Branch Thinking MCP Server

Branch Thinking MCP Server

一个 MCP 服务器,用于通过分支导航思维过程,支持思维交叉引用和优先级跟踪,以增强洞察力生成和结构化想法探索。

本地
TypeScript
MCP-AnkiConnect

MCP-AnkiConnect

一个 MCP 服务器,集成了 Claude 和 Anki 抽认卡,允许用户直接通过对话复习到期卡片并创建新的抽认卡。 (Alternatively, a slightly more formal translation:) 一个 MCP 服务器,整合了 Claude 与 Anki 闪卡功能,使用户能够通过对话直接复习待复习的卡片并创建新的闪卡。 **Explanation of Choices:** * **MCP Server:** I kept this as "MCP 服务器" as it's likely a specific technical term that's best left untranslated unless more context is provided. * **Claude:** Left as "Claude" as it's a proper noun (the name of the AI). * **Anki flashcards:** Translated as "Anki 抽认卡" (chōu rèn kǎ) or "Anki 闪卡" (shǎn kǎ). Both are common translations for "flashcards" in the context of Anki. "抽认卡" is slightly more formal. * **Review due cards:** Translated as "复习到期卡片" (fùxí dàoqí kǎpiàn) or "复习待复习的卡片" (fùxí dài fùxí de kǎpiàn). Both convey the meaning of reviewing cards that are due for review. The second option is slightly more explicit. * **Create new flashcards:** Translated as "创建新的抽认卡" (chuàngjiàn xīnde chōu rèn kǎ) or "创建新的闪卡" (chuàngjiàn xīnde shǎn kǎ). * **Directly through conversation:** Translated as "直接通过对话" (zhíjiē tōngguò duìhuà). The choice between the two options depends on the desired level of formality and explicitness.

本地
Python
MCP Notes Server

MCP Notes Server

一个 MCP 服务器,用于管理和持久化笔记,提供 CRUD 操作、笔记总结以及通过 note:// URI 方案进行基于资源的访问。 (Alternatively, a slightly more formal translation:) 一个用于管理和持久化笔记的 MCP 服务器,提供 CRUD 操作、笔记摘要功能,并支持通过 note:// URI 方案进行基于资源的访问控制。

本地
Python