Logo von Devonthink MCP Server

Devonthink MCP Server

Community
dvcrn

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…

Herausgeberdvcrn
Repositorymcp-server-devonthink
SpracheTypeScript
Forks
26
Sterne
105
Verfügbare Tools
28
Transporttypstdio
Kategorien
LizenzGPL-3.0
Links
  • Tools mit KI-Workflows verbinden

    Devonthink MCP Server stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 28 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    105 Sterne und 26 Forks im verlinkten Repository.

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.

screenshot

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

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

Returns:

json
{
  "results": [
    { "id": "123", "name": "Project Plan", "path": "/Inbox/Project Plan.md" }
  ]
}

Usage with Claude

Add to your Claude configuration:

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

Implementation Details

  • Uses JXA (JavaScript for Automation) to control DEVONthink via AppleScript APIs
  • All tool inputs are validated with Zod schemas for safety and clarity
  • Returns structured JSON for all tool outputs
  • Implements robust error handling for all operations
  • Includes comprehensive tests using Vitest

See CLAUDE.md for full documentation, tool development guidelines, and API reference.

Installation

TypingMind
Voraussetzungen:

Node.js 18+

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

Verfügbare Tools

  • is_running

    Check if the DEVONthink application is currently running.

    Example: {}

  • create_record

    Create a new record in DEVONthink.

    Example: { "name": "New Note", "type": "markdown", "content": "# Hello World" }

  • delete_record

    Delete a record from DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF" }

  • move_record

    Move a record to a different group in DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF", "destinationGroupUuid": "FEDC-BA09-8765-4321" }

  • get_record_properties

    Get detailed properties and metadata for a DEVONthink record.

    Example: { "uuid": "1234-5678-90AB-CDEF" }

  • get_record_by_identifier

    Get a DEVONthink record using its UUID or ID.

    Example (UUID): { "uuid": "1234-5678-90AB-CDEF" }

    Example (ID): { "id": 12345, "databaseName": "MyDatabase" }

  • search

    Search DEVONthink records. Examples: {"query": "invoice"} or {"query": "project review", "groupPath": "/Meetings", "databaseName": "MyDB"}. Note: groupPath requires databaseName and must be database-relative (e.g., "/Meetings" not "/MyDB/Meetings").

  • lookup_record

    Look up records in DEVONthink by a specific attribute.

    Example: { "lookupType": "filename", "value": "report.pdf" }

  • create_from_url

    Create a record in DEVONthink from a web URL.

    Example: { "url": "https://www.example.com", "format": "markdown" }

  • get_open_databases

    Get a list of all currently open databases in DEVONthink.

    Example: {}

  • current_database

    Get information about the currently selected database in DEVONthink.

    Example: {}

  • selected_records

    Get information about currently selected records in DEVONthink.

    Example: {}

  • list_group_content

    Lists the content of a specific group in DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF" }

  • get_record_content

    Gets the content of a specific record in DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF" }

  • rename_record

    Renames a specific record in DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF", "newName": "New Record Name" }

  • add_tags

    Adds tags to a DEVONthink record.

    Example: { "uuid": "1234-5678-90AB-CDEF", "tags": ["important", "work"] }

  • remove_tags

    Removes tags from a specific record in DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF", "tags": ["old-tag"] }

  • classify

    Get classification proposals for a DEVONthink record.

    Example: { "recordUuid": "1234-5678-90AB-CDEF" }

  • compare

    Compare DEVONthink records for similarities.

    Example 1: Find similar records { "recordUuid": "1234-5678-90AB-CDEF" }

    Example 2: Compare two specific records { "recordUuid": "1234-5678-90AB-CDEF", "compareWithUuid": "FEDC-BA09-8765-4321" }

  • replicate_record

    Replicate a record within the same database to a destination group.

    Example: { "uuid": "1234-5678-90AB-CDEF", "destinationGroupUuid": "FEDC-BA09-8765-4321" }

  • duplicate_record

    Duplicate a record to any destination group, creating an independent copy.

    Example: { "uuid": "1234-5678-90AB-CDEF", "destinationGroupUuid": "FEDC-BA09-8765-4321" }

  • convert_record

    Convert a record to a different format, creating a new record.

    Example: { "uuid": "1234-5678-90AB-CDEF", "format": "markdown" }

  • update_record_content

    Updates the content of an existing record in DEVONthink.

    Example: { "uuid": "1234-5678-90AB-CDEF", "content": "# New Content" }

  • set_record_properties

    Set properties on a DEVONthink record (comment, flag, locked, exclude* flags).

    Example: { "uuid": "1234-5678-90AB-CDEF", "comment": "Updated by tool", "flag": true, "locked": true, "excludeFromChat": true }

  • ask_ai_about_documents

    Ask AI questions about specific DEVONthink documents for analysis, comparison, or extraction.

  • check_ai_health

    Check if DEVONthink's AI services are available and working properly.

  • create_summary_document

    Create an AI-generated summary document from multiple DEVONthink documents.

  • get_ai_tool_documentation

    Get detailed documentation for DEVONthink AI tools including examples and use cases.

Devonthink MCP Server MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald Devonthink MCP Server verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

Devonthink MCP Server als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für Devonthink MCP Server ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "dvcrn-mcp-server-devonthink": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-devonthink"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von Devonthink MCP Server. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von Devonthink MCP Server.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Devonthink MCP Server bei dieser Aufgabe helfen?
Devonthink MCP Server
Gerne. Ich habe es gelesen.
Das habe ich mit Devonthink MCP Server gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server Devonthink MCP Server verwendet?

Devonthink MCP Server ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich Devonthink MCP Server MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie Devonthink MCP Server mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum Devonthink MCP Server MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald Devonthink MCP Server verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich Devonthink MCP Server MCP mit TypingMind?

Devonthink MCP Server wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt Devonthink MCP Server MCP in TypingMind bereit?

Devonthink MCP Server stellt 28 MCP-Tools bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um Devonthink MCP Server MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls Devonthink MCP Server eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇