DocsAI integration

MCP tool reference

The 50+ tools the MCP server exposes, grouped by purpose.

The bundled MCP server exposes 50+ tools across vault, modules, rules, email, and cloud sync. Verified against src-tauri/src/mcp/tools.rs.

Vault access

ToolPurpose
read_fileRead a single file by path.
write_fileWrite or overwrite a file.
search_vaultFull-text search across the vault.
list_filesList files in a folder with metadata.
get_contextGet pre-compiled context for a folder, project, or entity.
get_vault_infoVault-level metadata.
get_vault_indexStructured index of the whole vault.
get_all_tagsEvery tag in use.
get_files_by_tagList files by tag.
get_backlinksList documents linking to a given file.

Modules — records & schemas

ToolPurpose
get_data_modulesList installed Data Form modules.
get_module_schemaRead a module's field schema.
get_module_form_schemaThe form schema (UI metadata) for a module.
create_module_recordCreate a typed record (client, invoice, task, etc.).
list_module_recordsList records, filtered, sorted, paginated.
search_module_recordsSearch records by content.
update_module_recordPatch a record.
archive_module_recordArchive without deleting.
delete_module_recordDelete (soft, to trash).
trigger_module_formPop a form for the user to fill in.

Modules — vault folders & general

ToolPurpose
get_vault_folder_modulesList installed Workspace modules.
create_vault_folder_entityCreate a typed entity (e.g. a new client folder).
list_vault_folder_entitiesList entities in a workspace.
get_folder_contextRead a folder's about page plus its installed modules.
execute_module_pipelineTrigger a named pipeline (e.g. "send invoice").
get_aggregation_viewRead an aggregation (e.g. master task list).
recommend_modulesAsk the system to suggest modules based on use.
get_installed_modulesList every installed module.

Rules

ToolPurpose
create_ruleAdd a folder rule.
update_ruleEdit a folder rule.
delete_ruleRemove a folder rule.
toggle_ruleEnable / disable without deleting.
list_rulesList rules at any level.

Email (Gmail)

Available when the Gmail module is installed and an account is connected: search_emails, read_thread, list_unread, draft_reply, draft_new, send_draft, archive_emails, label_emails, get_email_summary, download_attachment, triage_inbox, get_email_routing_rules, create_email_routing_rule, delete_email_routing_rule, classify_email_test.

Cloud sync (Drive & OneDrive)

Available when sync is configured: search_drive, browse_drive_folder, get_drive_file, preview_drive_file, search_onedrive, browse_onedrive_folder, get_onedrive_file, preview_onedrive_file.