Plain MCP by usefulapi
v1.2.1Read support threads and customers; add notes, labels, assignments and priority in Plain.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
plain_get_workspace Get workspace
Get the Plain workspace this API key belongs to: id, name, public name and domain names. No arguments. Plain GraphQL query: myWorkspace.
plain_list_threads List threads
List support threads (conversations) with optional filters: statuses (TODO, SNOOZED, DONE), priorities (0 urgent to 3 low), customer ids, assignee user ids, label type ids, and whether a thread is assigned. Optional sort by CREATED_AT, STATUS_CHANGED_AT, PRIORITY, LAST_INBOUND_MESSAGE_AT or CLOSEST_TO_BREACH_SLA. Paginate with `after` (endCursor). Plain GraphQL query: threads.
| Parameter | Type | Description |
|---|---|---|
after | string | |
assignedToUserIds | array | |
customerIds | array | |
first | integer | |
isAssigned | boolean | |
labelTypeIds | array | |
priorities | array | |
sortDirection | string | |
sortField | string | |
statuses | array |
plain_get_thread Get thread
Get one support thread by its id: title, preview, status, priority, assignee, customer and labels. Plain GraphQL query: thread.
| Parameter | Type | Description |
|---|---|---|
threadId * | string |
plain_get_customer Get customer
Get one customer (the person who writes to support) by `customerId` OR by `email` (give exactly one): name, email, external id and dates. Plain GraphQL query: customer or customerByEmail.
| Parameter | Type | Description |
|---|---|---|
customerId | string | |
email | string |
plain_list_label_types List label types
List the active (not archived) label types of the workspace: id, name, description and color. Use the ids with plain_add_labels and plain_list_threads. Plain GraphQL query: labelTypes.
| Parameter | Type | Description |
|---|---|---|
after | string | |
first | integer |
plain_list_users List assignable users
List the workspace users who can be assigned to threads: id, full name, public name, email and status. Use the ids with plain_assign_thread. Plain GraphQL query: users.
| Parameter | Type | Description |
|---|---|---|
after | string | |
first | integer |
plain_add_note Add internal note
Add an internal note to a customer, optionally on one thread. Notes stay with the team and never reach the customer. Plain GraphQL mutation: createNote.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | |
text * | string | |
threadId | string |
plain_add_labels Add labels to thread
Add one or more label types to a thread. Get label type ids from plain_list_label_types. Plain GraphQL mutation: addLabels.
| Parameter | Type | Description |
|---|---|---|
labelTypeIds * | array | |
threadId * | string |
plain_remove_labels Remove labels from thread
Remove labels from threads by label id (the id of the label on the thread, from plain_get_thread, not the label type id). Plain GraphQL mutation: removeLabels.
| Parameter | Type | Description |
|---|---|---|
labelIds * | array |
plain_assign_thread Assign thread
Assign a thread to a workspace user. Replaces the current assignee. Get user ids from plain_list_users. Plain GraphQL mutation: assignThread.
| Parameter | Type | Description |
|---|---|---|
threadId * | string | |
userId * | string |
plain_unassign_thread Unassign thread
Remove the assignee from a thread. Plain GraphQL mutation: unassignThread.
| Parameter | Type | Description |
|---|---|---|
threadId * | string |
plain_set_thread_priority Set thread priority
Set the priority of a thread: 0 = Urgent, 1 = High, 2 = Normal, 3 = Low. Plain GraphQL mutation: changeThreadPriority.
| Parameter | Type | Description |
|---|---|---|
priority * | integer | |
threadId * | string |
plain_mark_thread_done Mark thread done
Mark a thread as DONE (closed). Plain GraphQL mutation: markThreadAsDone.
| Parameter | Type | Description |
|---|---|---|
threadId * | string |
plain_reopen_thread Reopen thread (mark todo)
Move a thread back to TODO (open). Plain GraphQL mutation: markThreadAsTodo.
| Parameter | Type | Description |
|---|---|---|
threadId * | string |