DM

dvcrn/mcp-server-devonthink

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

104 stars 26 forks 质量 69 趋势 23GPL-3.0

dvcrn/mcp-server-devonthink 是从 https://github.com/dvcrn/mcp-server-devonthink. 导入的 MCP 服务器候选

概览

dvcrn/mcp-server-devonthink 是从 https://github.com/dvcrn/mcp-server-devonthink. 导入的 MCP 服务器候选

概述(AI 翻译)

该MCP服务器通过模型上下文协议(MCP)提供对DEVONthink功能的支持。它支持在macOS上的DEVONthink Pro中列出、搜索、创建、修改和管理记录和数据库。

特色

  • 作为MCP工具,展示了一套完整的DEVONthink操作
  • 按各种属性列出、搜索和查找记录
  • 创建、删除、移动和重命名记录和组
  • 检索和修改记录内容、属性和标签
  • 从多种格式的URL创建记录
  • 列出开放数据库和组内容
  • 所有工具均为类型安全,并通过Zod模式进行验证

工具

核心工具

  1. is_running
  • 检查 DEVONthink 当前是否运行
  • 无需输入
  • 回球次数:{ "success": true | false }
  1. create_record
  • 创建具有指定属性的新记录(笔记、书签、组)
  • 输入:记录类型、名称、父组及可选元数据
  1. delete_record
  • 按 ID、名称或路径删除记录
  • 输入:记录标识符
  1. move_record
  • 在组间移动记录
  • 输入:记录ID和目的组
  1. get_record_properties
  • 检索记录的详细元数据和属性

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Devonthink MCP Server

This MCP server provides access to DEVONthink functionality via the Model Context Protocol (MCP). It enables listing, searching, creating, modifying, and managing records and databases in DEVONthink Pro on macOS.

Features

  • Exposes a comprehensive set of DEVONthink operations as MCP tools
  • List, search, and look up records by various attributes
  • Create, delete, move, and rename records and groups
  • Retrieve and modify record content, properties, and tags
  • Create records from URLs in multiple formats
  • List open databases and group contents
  • All tools are type-safe and validated with Zod schemas

Tools

Core Tools

  1. is_running

    • Checks if DEVONthink is currently running
    • No input required
    • Returns: { "success": true | false }
  2. create_record

    • Creates new records (notes, bookmarks, groups) with specified properties
    • Input: record type, name, parent group, and optional metadata
  3. delete_record

    • Deletes records by ID, name, or path
    • Input: record identifier
  4. move_record

    • Moves records between groups
    • Input: record ID and destination group
  5. get_record_properties

    • Retrieves detailed metadata and properties for records
    • Input: record identifier
  6. search

    • Performs text-based searches with various comparison options
    • Input: query string and search options
  7. lookup_record

    • Looks up records by filename, path, URL, tags, comment, or content hash (exact matches only)
    • Input: lookup type and value
  8. create_from_url

    • Creates records from web URLs in multiple formats
    • Input: URL and format options
  9. get_open_databases

    • Lists all currently open databases
    • No input required
  10. list_group_content

    • Lists the content of a specific group
    • Input: group identifier
  11. get_record_content

    • Retrieves the content of a specific record
    • Input: record identifier
  12. rename_record

    • Renames a specific record
    • Input: record ID and new name
  13. add_tags

    • Adds tags to a specific record
    • Input: record ID and tags
  14. remove_tags

    • Removes tags from a specific record
    • Input: record ID and tags
  15. classify

    • Gets classification proposals for a record using DEVONthink’s AI
    • Input: record UUID, optional database name, comparison type, and tags option
    • Returns: Array of classification proposals (groups or tags) with scores
  16. compare

    • Compares records to find similarities (hybrid approach)
    • Input: primary record UUID, optional second record UUID, database name, and comparison type
    • Returns: Either similar records (single mode) or detailed comparison analysis (two-record mode)

Example: Search Tool

{
  "query": "project plan",
  "comparison": "contains",
  "database": "Inbox"
}

Returns:

{
  "results": [
在 GitHub 查看完整 README

安装

npx -y mcp-server-devonthink
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "devonthink": { "command": "npx", "args": ["-y", "mcp-server-devonthink"] } } }