Logo van 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…

Uitgeverdvcrn
Repositorymcp-server-devonthink
TaalTypeScript
Forks
26
Sterren
105
Beschikbare tools
28
Transporttypestdio
Categorieën
LicentieGPL-3.0
Links
  • Koppel tools aan AI-workflows

    Devonthink MCP Server biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 28 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    105 sterren en 26 forks in de gekoppelde 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.

Installatie

TypingMind
Vereisten:

Node.js 18+

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

Beschikbare 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.

Gebruik Devonthink MCP Server MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Devonthink MCP Server is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Devonthink MCP Server toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Devonthink MCP Server.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "dvcrn-mcp-server-devonthink": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-devonthink"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Devonthink MCP Server in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Devonthink MCP Server in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Devonthink MCP Server gebruiken om me hiermee te helpen?
Devonthink MCP Server
Zeker. Ik heb het gelezen.
Dit vond ik met Devonthink MCP Server.

Veelgestelde vragen

Waarvoor wordt de MCP-server Devonthink MCP Server gebruikt?

Devonthink MCP Server is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Devonthink MCP Server MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Devonthink MCP Server gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Devonthink MCP Server MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Devonthink MCP Server verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Devonthink MCP Server MCP met TypingMind?

Devonthink MCP Server werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Devonthink MCP Server MCP in TypingMind?

Devonthink MCP Server biedt 28 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Devonthink MCP Server MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Devonthink MCP Server authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇