mcp-server

v0.1.5
com.dragapp/mcp-server Checked 1 day ago Published 4 months ago

AI-powered email & WhatsApp for teams — manage your shared inbox from Claude, Cursor or ChatGPT.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_boards

List all DragApp boards the user has access to. Returns board name, owner, unread count, and contributor info.

get_board

Get details of a specific DragApp board by ID. Returns board name, owner, and members.

ParameterTypeDescription
boardId *numberThe board ID

list_columns

List all columns (stages) on a DragApp board. Columns represent workflow stages like To Do, In Progress, Done. Returns label-style IDs (e.g. "Label_1") used by list_threads, filter_threads, and move_thread.

ParameterTypeDescription
boardId *numberThe board ID

list_board_members

List all boards with their columns and member info. Returns the main board and secondary boards with columns for each.

list_teams

List all teams the user belongs to. Returns team IDs needed by knowledge base tools (list_articles, get_article, create_article, update_article).

list_threads

List items in a specific column of a DragApp board. Call list_columns first to get column IDs — they are strings like "Label_1", not numbers. A column can mix three item types: email threads (have `threadId`/`from`/`subject`), task cards (have `cardId`/`title`/`status`), and WhatsApp conversations (have `cardId`/`contact`). Use `cardId` with get_card / update_card / move_card, or with the whatsapp tools for WhatsApp items.

ParameterTypeDescription
boardId *numberThe board ID to list threads from
columnId *stringThe column ID string (e.g. "Label_1") — use list_columns to find available IDs

get_thread

Get a single email message by ID. Returns the HTML body (and a plain-text version), sender, recipients, attachments, and reply-to info for composing a response. You can pass either messageId or threadId — they are the same value.

ParameterTypeDescription
boardId *numberThe board ID the message belongs to
messageIdstringThe message/thread ID to retrieve (same value used for both)
threadIdstringAlias for messageId — use either one (they are interchangeable)

reply_to_thread

Reply to an existing email thread. Sent from the current user's connected Gmail address (the JWT owner). For single-message threads, threadId works as messageId. For multi-message threads, pass the specific messageId you're replying to — get_thread returns it.

ParameterTypeDescription
boardId *numberThe board ID the thread belongs to
body *stringHTML body of the reply
threadId *stringThe thread ID to reply to
to *stringRecipient email address (use get_thread's replyTo.to or sender field)
bccstringBCC recipient email address
ccstringCC recipient email address
messageIdstringSpecific message ID to reply to. Defaults to threadId, which is correct for threads with a single message.

send_new_email

Compose and send a new email from a DragApp board's connected email address. Creates a new thread in the board.

ParameterTypeDescription
boardId *numberThe board to send from (determines the sender email address)
body *stringHTML body of the email
subject *stringEmail subject line
to *stringRecipient email address

search_threads

Search items across a board by content or sender. Returns matches with preview snippets. Matches can be email threads (`threadId`), task cards (`cardId`/`title`), or WhatsApp conversations (`cardId`/`contact`). Note: search may return empty results on boards with very few items. Use filter_threads or list_threads as an alternative.

ParameterTypeDescription
boardId *numberThe board ID to search within
query *stringSearch query text (must not be empty)
searchBystringSearch by thread content (subject/body) or by sender email. Defaults to content.

filter_threads

Filter email threads by criteria such as assignee, tags, or column. More targeted than search — use this when you know specific filter values.

ParameterTypeDescription
boardId *numberThe board ID to filter within
columnId *stringThe column ID to filter within (required)
assigneesarrayFilter by assignee user IDs (as strings). Use "-1" for unassigned threads. Get user IDs from list_teams or list_board_members.
tagListarrayFilter by shared label IDs (as strings). Use list_labels to get available label IDs.

move_thread

Move an email thread to a different column or board. Use this to triage emails — e.g. move from Inbox to In Progress, or to a different team's board.

ParameterTypeDescription
newBoardId *numberTarget board ID
newColumnId *stringTarget column ID
threadId *stringThe thread/entity ID to move
positionnumberPosition in the target column (0 = top, default: 0)

move_threads_bulk

Move multiple email threads at once to a different column or board. Use this for batch triage operations.

ParameterTypeDescription
newBoardId *numberTarget board ID
newColumnId *stringTarget column ID
threadIds *arrayArray of thread IDs to move

list_cards_in_column

List all cards in a specific column of a DragApp board. Supports pagination. Cards are email threads or tasks with titles, assignees, due dates, and custom fields.

ParameterTypeDescription
boardId *numberThe board ID
columnId *numberThe column ID
limitnumberCards per page (default: 10)
pagenumberPage number (default: 1)

get_card

Get full details of a card (task or email thread) by ID. Returns title, status, assignees, due date, column, board, note, and timestamps.

ParameterTypeDescription
cardId *stringThe card ID. Numeric task IDs and hex thread IDs both work.
boardIdnumberOptional board ID. Speeds up the lookup; not required.

create_card

Create a new card (task) on a DragApp board. You can set the title, assign it to a team member, and add a note or comment.

ParameterTypeDescription
boardId *numberBoard to add the card to
columnId *stringColumn ID string (e.g. 'Label_1') — use list_columns to find it
title *stringCard title
assigneestringEmail address of an assignee (single email).
commentstringComment to add to the card
notestringNote to add to the card

update_card

Update an existing card. Change the title, reassign, add a note, set a due date, or change status. Comments cannot be modified via this tool.

ParameterTypeDescription
cardId *stringThe card ID to update
assigneeAssignee email(s). Single string or array of strings.
boardIdnumberBoard the card belongs to
colorstringCard color code
columnIdstringColumn the card is in (string column ID like 'Label_1')
dueDatestringDue date in ISO-8601 (e.g. 2026-05-20T00:00:00.000Z)
notestringNew note body
statusstringCard status
titlestringNew card title

move_card

Move a card to a different column on the same board, or to another board. newColumnId is the label-style column ID like 'Label_1' (returned by list_columns).

ParameterTypeDescription
cardId *stringThe card ID to move
newColumnId *stringTarget column ID (label-style string, e.g. 'Label_2'). Get it from list_columns.
newBoardIdnumberTarget board ID. Required for cross-board moves; auto-resolved from the card's current board when omitted.
newPositionnumberPosition in the target column (0 = top, default 0)

archive_card

Archive (delete) a card from a DragApp board.

ParameterTypeDescription
cardId *numberThe card ID to archive

list_labels

List all shared labels on a board. Labels are coloured markers used to categorise and filter email threads across the team.

ParameterTypeDescription
boardId *numberThe board ID

add_label_to_thread

Add a shared label to an email thread (or task). Use list_labels first to find available label IDs for the board.

ParameterTypeDescription
boardId *numberThe board ID the thread belongs to
labelId *numberThe label ID to assign
threadId *stringThe thread or task ID to label

remove_label_from_thread

Remove a shared label from an email thread (or task).

ParameterTypeDescription
boardId *numberThe board ID the thread belongs to
labelId *numberThe label ID to remove
threadId *stringThe thread or task ID to remove the label from

toggle_labels

Add some labels and/or remove others from a thread in one call. The backend toggle endpoint is one-label-at-a-time, so this iterates internally.

ParameterTypeDescription
boardId *numberThe board ID the thread belongs to
threadId *stringThe thread or task ID
addLabelIdsarrayLabel IDs to add
removeLabelIdsarrayLabel IDs to remove

add_comment

Add a comment to a card. Comments are internal team messages attached to cards, visible to all board members.

ParameterTypeDescription
body *stringComment text
cardId *stringThe card ID to comment on

get_comment

Retrieve a specific comment by its ID.

ParameterTypeDescription
commentId *numberThe comment ID

list_tags

List all tags (coloured labels) available on a DragApp board. Tags are used to categorise and filter cards. For email thread labels, use list_labels instead.

ParameterTypeDescription
boardId *numberThe board ID

add_tag_to_card

Add a tag to a card. Use list_tags first to find available tag IDs for the board.

ParameterTypeDescription
cardId *numberThe card ID
tagId *stringThe tag ID to add

create_task

Create a standalone task in DragApp. Tasks are lightweight to-do items that can be assigned, given a due date, and tracked on a board.

ParameterTypeDescription
boardId *numberThe board to create the task on
columnId *stringColumn ID to place the task in, e.g. 'Label_1'
title *stringTask title
assigneestringEmail address of the assignee
commentstringInitial comment attached to the task
dueDatestringDue date in ISO-8601 format (e.g. 2026-05-20T00:00:00.000Z). Saved via a separate call after the task is created.
notestringInitial note attached to the task

search_contacts

Search for contacts by name or email. The search text must not be empty. Returns matching contact records with name, email, phone, and domain.

ParameterTypeDescription
query *stringSearch query — matches against name and email (must not be empty)

get_contact_conversations

Get all email conversations involving a specific contact. Returns thread subjects, dates, and preview text. Use search_contacts first to find the contact ID.

ParameterTypeDescription
contactId *numberThe numeric contact ID (use search_contacts to find it — do not pass an email address)

create_contact

Create a new contact record in DragApp with name, email, and optional phone and note.

ParameterTypeDescription
email *stringContact email address
name *stringContact name
notestringNote about the contact
phonestringPhone number

list_articles

List all knowledge base articles for a team. Returns article titles, categories, and publication status. Use list_teams to find your team ID first.

ParameterTypeDescription
teamId *numberThe team ID

get_article

Get the full content of a knowledge base article by ID, including title, body, category, and publication status. Use list_teams to find your team ID first.

ParameterTypeDescription
articleId *numberThe article ID
teamId *numberThe team ID

create_article

Create a new knowledge base article. Articles can be categorised and published for team or public access. Use list_teams to find your team ID first.

ParameterTypeDescription
body *stringArticle body in HTML
teamId *numberThe team ID
title *stringArticle title
categoryIdnumberCategory to file the article under

update_article

Update an existing knowledge base article's title, body, or category. Use list_teams to find your team ID first.

ParameterTypeDescription
articleId *numberThe article ID to update
teamId *numberThe team ID
bodystringNew article body in HTML
categoryIdnumberNew category ID
titlestringNew article title

search_knowledge

Search a Help Center knowledge base by keyword. teamId, slug, and query are all optional except query — with no teamId or slug, the first team that has a configured Help Center slug is used.

ParameterTypeDescription
query *stringSearch query text
slugstringHelp Center slug (public identifier). Overrides teamId-based resolution.
teamIdnumberTeam ID — resolves to the Help Center slug via the team's KB settings. Use list_teams to find your team ID.

get_response_times

Get first response time metrics for a board. Shows how quickly the team responds to new emails. Useful for SLA monitoring and performance reviews.

ParameterTypeDescription
boardId *numberThe board ID
dateFrom *stringStart date for the period (ISO-8601)
dateTo *stringEnd date for the period (ISO-8601)

get_avg_response_time

Get average response time across all replies on a board for a given period. Complements get_response_times which shows first response only.

ParameterTypeDescription
boardId *numberThe board ID
dateFrom *stringStart date for the period (ISO-8601)
dateTo *stringEnd date for the period (ISO-8601)

get_daily_activity

Get daily email activity counts for a board over a time period. Returns per-day counts useful for volume trends and workload analysis.

ParameterTypeDescription
boardId *numberThe board ID
dateFrom *stringStart date for the period (ISO-8601)
dateTo *stringEnd date for the period (ISO-8601)

get_closed_activity

Get the count of closed/resolved threads per day for a board. Useful for tracking team throughput and resolution rates.

ParameterTypeDescription
boardId *numberThe board ID
dateFrom *stringStart date for the period (ISO-8601)
dateTo *stringEnd date for the period (ISO-8601)

list_automations

List all automations configured on a board. Shows automation name, trigger type, actions, and whether each is active. Returns an empty array if no automations exist.

ParameterTypeDescription
boardId *numberThe board ID

toggle_automation

Activate or deactivate a board automation. Pass active=true to enable or active=false to disable.

ParameterTypeDescription
active *booleantrue to activate, false to deactivate
automationId *numberThe automation ID
boardId *numberThe board the automation belongs to (required by the API)

toggle_ai_drafts

Enable or disable AI-generated draft replies for a board. When enabling, you must choose a category: 'automatic' (drafts created without prompting) or 'manual' (drafts created on demand).

ParameterTypeDescription
boardId *numberThe board ID
enabled *booleantrue to enable AI drafts, false to disable
categorystringRequired when enabling. Defaults to 'automatic'.

get_whatsapp_conversation

Get the full message history of a WhatsApp conversation (card) on a WhatsApp board. Returns the chat messages in order. Use the cardId returned by list_threads / search_threads on a WhatsApp board (the `cardId` field).

ParameterTypeDescription
cardId *stringThe WhatsApp card ID (whatsappCardId), formatted '<id>-<phoneNumber>'. Get it from list_threads or search_threads on a WhatsApp board.

list_whatsapp_templates

List the pre-approved WhatsApp message templates available on a WhatsApp board. Returns each template's name, language, status, category, body text, and how many {{n}} variables it expects. Only APPROVED templates can be sent.

ParameterTypeDescription
boardId *numberThe WhatsApp board ID
limitnumberMaximum templates to return (default: 50)

send_whatsapp_message

Send a free-text WhatsApp message into an existing conversation. Note: WhatsApp only allows free-text messages inside the 24-hour customer service window; outside it, use send_whatsapp_template instead.

ParameterTypeDescription
cardId *stringThe WhatsApp card ID (whatsappCardId) of the conversation to reply to.
text *stringThe message text to send
boardIdnumberBoard ID. Auto-resolved from the card when omitted.
columnIdstringColumn ID the card is in. Auto-resolved from the card when omitted.

send_whatsapp_template

Send a pre-approved WhatsApp template message into a conversation. Use this to reach a contact outside the 24-hour window. Call list_whatsapp_templates first to get the exact template name and language, and to see how many {{n}} variables it needs.

ParameterTypeDescription
cardId *stringThe WhatsApp card ID (whatsappCardId) of the conversation to send to.
templateName *stringThe exact template name (e.g. 'french'). Get it from list_whatsapp_templates.
boardIdnumberBoard ID. Auto-resolved from the card when omitted.
bodyParametersarrayValues to fill the template's {{1}}, {{2}}… BODY variables, in order. Required when the template has variables.
columnIdstringColumn ID the card is in. Auto-resolved from the card when omitted.
componentsarrayAdvanced: a fully-formed WhatsApp components array (for templates with media headers or buttons). Overrides bodyParameters when provided.
languageCodestringTemplate language code (e.g. 'fr', 'en_US'). Required only when a board has multiple templates sharing the same name; otherwise auto-resolved.