Logo vun Devonthink MCP Server

Devonthink MCP Server

Communautéit
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…

Editeurdvcrn
Repositorymcp-server-devonthink
SproochTypeScript
Forks
26
Stären
105
Disponibel Tools
28
Transporttypstdio
Kategorien
LizenzGPL-3.0
Linken
  • Tools mat KI-Workflows verbannen

    Devonthink MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 28 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    105 Stären an 26 Forks aus dem verlinkte 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.

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

Disponibel 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 mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Devonthink MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Devonthink MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Devonthink MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "dvcrn-mcp-server-devonthink": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-devonthink"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Devonthink MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Devonthink MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Devonthink MCP Server?
Devonthink MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Devonthink MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Devonthink MCP Server benotzt?

Devonthink MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Devonthink MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Devonthink MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Devonthink MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Devonthink MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Devonthink MCP Server MCP mat TypingMind?

Devonthink MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Devonthink MCP Server MCP an TypingMind zur Verfügung?

Devonthink MCP Server stellt 28 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Devonthink MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Devonthink MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇