mcp-server-devonthink
v1.10.0MCP server that provides access to DEVONthink
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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" }
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the new record |
type * | string | Record type (e.g., 'markdown', 'formatted note', 'bookmark', 'group') |
content | string | Content for text-based records (optional) |
databaseName | string | Database to create the record in (optional, defaults to current) |
parentGroupUuid | string | UUID of the parent group (optional, defaults to incoming group) |
url | string | URL for bookmark records (optional) |
import_file
Import an existing file or folder from a POSIX path or file URL into DEVONthink. Defaults to the global Inbox when no destination is provided. Example: { "filePath": "/Users/david/Documents/report.pdf" }
| Parameter | Type | Description |
|---|---|---|
filePath * | string | POSIX file path or file URL of the file or folder to import |
databaseName | string | Database to import into when parentGroupUuid is not provided (optional, defaults to global Inbox when omitted) |
name | string | Custom name for the imported record (optional) |
parentGroupUuid | string | UUID of the destination group (optional, overrides the default Inbox destination) |
delete_record
Delete a record from DEVONthink. Example: { "uuid": "1234-5678-90AB-CDEF" }
| Parameter | Type | Description |
|---|---|---|
databaseName | string | Database to delete the record from (optional, defaults to current) |
recordId | number | ID of the record to delete |
recordPath | string | DEVONthink location path of the record (e.g., '/Inbox/My Document') |
uuid | string | UUID of the record to delete |
move_record
Move a record to a different group in DEVONthink. Example: { "uuid": "1234-5678-90AB-CDEF", "destinationGroupUuid": "FEDC-BA09-8765-4321" }
| Parameter | Type | Description |
|---|---|---|
databaseName | string | Database to move the record in (optional) |
destinationGroupUuid | string | UUID of the destination group |
recordId | number | ID of the record to move |
recordName | string | Name of the record to move |
recordPath | string | Path of the record to move |
uuid | string | UUID of the record to move |
get_record_properties
Get detailed properties and metadata for a DEVONthink record. Example: { "uuid": "1234-5678-90AB-CDEF" }
| Parameter | Type | Description |
|---|---|---|
databaseName | string | Database to get the record properties from (optional) |
recordId | number | ID of the record to get properties for |
recordPath | string | DEVONthink location path of the record (e.g., '/Inbox/My Document') |
uuid | string | UUID of the record |
get_record_by_identifier
Get a DEVONthink record using its UUID, ID, or x-devonthink-item:// reference URL. Example (Reference URL): { "referenceURL": "x-devonthink-item://1234-5678-90AB-CDEF" } Example (Reference URL - email): { "referenceURL": "x-devonthink-item://message:%3Cfoo@bar.com%3E" } Example (UUID): { "uuid": "1234-5678-90AB-CDEF" } Example (ID): { "id": 12345, "databaseName": "MyDatabase" }
| Parameter | Type | Description |
|---|---|---|
databaseName | string | Database name (required with id) |
id | number | ID of the record (requires databaseName) |
referenceURL | string | A x-devonthink-item:// URL. Works for all record types including imported emails which use non-UUID identifiers. |
uuid | string | UUID of the record |
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").
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string |
comparison | string | Comparison type for the search (optional) |
databaseName | string | Database name (optional, required when using groupId or groupPath) |
excludeSubgroups | boolean | Exclude subgroups from the search (optional) |
groupId | number | ID of the group to search in (optional, requires databaseName) |
groupPath | string | Database-relative path of the group to search in (e.g., '/Inbox', '/Projects/Archive'). MUST be used with databaseName parameter. Do NOT include the database name in the path. |
groupUuid | string | UUID of the group to search in (optional) |
limit | number | Maximum number of results to return (optional) |
recordType | string | Filter results by record type (optional) |
useCurrentGroup | boolean | Search in the currently selected group (optional) |
lookup_record
Look up records in DEVONthink by a specific attribute. Example: { "lookupType": "filename", "value": "report.pdf" }
| Parameter | Type | Description |
|---|---|---|
lookupType * | string | Type of lookup to perform |
value * | string | Value to search for |
databaseName | string | Database to search in (optional) |
limit | number | Maximum results to return (optional) |
matchAnyTag | boolean | Match any tag instead of all (for lookupType 'tags') |
tags | array | Tags to search for (for lookupType 'tags') |
create_from_url
Create a record in DEVONthink from a web URL. Example: { "url": "https://www.example.com", "format": "markdown" }
| Parameter | Type | Description |
|---|---|---|
format * | string | Format for the new record |
url * | string | URL to create a record from |
databaseName | string | Database to create the record in (optional, defaults to current) |
name | string | Custom name for the record (optional) |
parentGroupUuid | string | UUID of the parent group (optional, defaults to incoming group) |
pdfOptions | object | PDF-specific options (optional) |
readability | boolean | Use readability mode to declutter the page (optional) |
referrer | string | HTTP referrer for the request (optional) |
userAgent | string | Custom user agent for the request (optional) |
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" }
| Parameter | Type | Description |
|---|---|---|
databaseName | string | Database to get the record properties from (optional) |
uuid | string | UUID of the group to list content from (optional, defaults to root) |
get_record_content
Gets the content of a specific record in DEVONthink. Example: { "uuid": "1234-5678-90AB-CDEF" }
| Parameter | Type | Description |
|---|---|---|
uuid * | string | UUID of the record to get content from |
databaseName | string | Database name to get the record from (optional) |
rename_record
Renames a specific record in DEVONthink. Example: { "uuid": "1234-5678-90AB-CDEF", "newName": "New Record Name" }
| Parameter | Type | Description |
|---|---|---|
newName * | string | New name for the record |
uuid * | string | UUID of the record to rename |
databaseName | string | Database to rename the record in (optional) |
add_tags
Adds tags to a DEVONthink record. Example: { "uuid": "1234-5678-90AB-CDEF", "tags": ["important", "work"] }
| Parameter | Type | Description |
|---|---|---|
tags * | array | Tags to add |
uuid * | string | Record UUID to add tags to |
remove_tags
Removes tags from a specific record in DEVONthink. Example: { "uuid": "1234-5678-90AB-CDEF", "tags": ["old-tag"] }
| Parameter | Type | Description |
|---|---|---|
tags * | array | Tags to remove |
uuid * | string | UUID of the record to remove tags from |
databaseName | string | Database to remove tags from the record in (optional) |
classify
Get classification proposals for a DEVONthink record. Example: { "recordUuid": "1234-5678-90AB-CDEF" }
| Parameter | Type | Description |
|---|---|---|
recordUuid * | string | UUID of the record to classify |
comparison | string | Comparison type for classification (optional) |
databaseName | string | Database name to search in (optional) |
tags | boolean | Propose tags instead of groups (optional) |
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" }
| Parameter | Type | Description |
|---|---|---|
recordUuid * | string | Primary record UUID for comparison |
compareWithUuid | string | Second record UUID for direct comparison (optional) |
comparison | string | Comparison type (optional) |
databaseName | string | Database name to search in (optional) |
replicate_record
Replicate a record within the same database to a destination group. Example: { "uuid": "1234-5678-90AB-CDEF", "destinationGroupUuid": "FEDC-BA09-8765-4321" }
| Parameter | Type | Description |
|---|---|---|
destinationGroupUuid * | string | UUID of the destination group (must be in the same database) |
databaseName | string | Database containing the record (optional) |
recordId | number | ID of the record to replicate |
recordPath | string | DEVONthink location path of the record (e.g., '/Inbox/My Document') |
uuid | string | UUID of the record to replicate |
duplicate_record
Duplicate a record to any destination group, creating an independent copy. Example: { "uuid": "1234-5678-90AB-CDEF", "destinationGroupUuid": "FEDC-BA09-8765-4321" }
| Parameter | Type | Description |
|---|---|---|
destinationGroupUuid * | string | UUID of the destination group |
databaseName | string | Database containing the source record (optional, defaults to current) |
recordId | number | ID of the record to duplicate |
recordPath | string | DEVONthink location path of the record (e.g., '/Inbox/My Document') |
uuid | string | UUID of the record to duplicate |
convert_record
Convert a record to a different format, creating a new record. Example: { "uuid": "1234-5678-90AB-CDEF", "format": "markdown" }
| Parameter | Type | Description |
|---|---|---|
format * | string | The desired format for conversion |
databaseName | string | Database name containing the source record (optional) |
destinationGroupUuid | string | UUID of the destination group (optional) |
recordId | number | ID of the record to convert |
recordPath | string | DEVONthink location path of the record (e.g., '/Inbox/My Document') |
uuid | string | UUID of the record to convert |
update_record_content
Updates the content of an existing record in DEVONthink. Example: { "uuid": "1234-5678-90AB-CDEF", "content": "# New Content" }
| Parameter | Type | Description |
|---|---|---|
content * | string | New content for the record |
uuid * | string | UUID of the record to update |
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 }
| Parameter | Type | Description |
|---|---|---|
comment | string | Set comment (overwrites any existing comment) |
databaseName | string | Database containing the record (required for recordId or recordPath) |
excludeFromChat | boolean | |
excludeFromClassification | boolean | |
excludeFromSearch | boolean | |
excludeFromSeeAlso | boolean | |
excludeFromTagging | boolean | Only applicable to groups |
excludeFromWikiLinking | boolean | |
flag | boolean | Set flagged state |
locked | boolean | Set locked (locking) state |
recordId | number | ID of the record to update |
recordPath | string | DEVONthink location path of the record (e.g., '/Inbox/My Document') |
uuid | string | UUID of the record to update |
ask_ai_about_documents
Ask AI questions about specific DEVONthink documents for analysis, comparison, or extraction.
| Parameter | Type | Description |
|---|---|---|
documentUuids * | array | UUIDs of documents to analyze |
question * | string | The question to ask about the records |
engine | string | AI engine to use (default: ChatGPT) |
model | string | Specific AI model to use |
temperature | number | Response creativity (0-2, default: 0.7) |
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.
| Parameter | Type | Description |
|---|---|---|
documentUuids * | array | UUIDs of documents to summarize |
customTitle | string | Custom title for the summary document |
parentGroupUuid | string | UUID of group where summary should be created |
summaryStyle | string | Summary style (Note: Currently non-functional in DEVONthink API) |
summaryType | string | Output document format: markdown, rich text, sheet, or plain text |
get_ai_tool_documentation
Get detailed documentation for DEVONthink AI tools including examples and use cases.
| Parameter | Type | Description |
|---|---|---|
toolName | string | Specific AI tool to get documentation for (returns all if not specified) |