Deskpro MCP by usefulapi
v1.41.1Search tickets, people, organizations and KB articles in Deskpro, and create tickets and replies.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deskpro_get_me Get the authenticated agent
Return who the API key acts as — the auth method, the bound person id and their profile. A cheap way to confirm the helpdesk URL and key are right. Deskpro: GET /api/v2/me.
deskpro_list_tickets List tickets
List tickets, filtered by status, assigned agent, requester, organization, department or labels, and sorted. Returns ticket objects (id, ref, subject, ticket_status, agent, person, department, urgency, labels, dates) plus pagination meta. Deskpro: GET /api/v2/tickets.
| Parameter | Type | Description |
|---|---|---|
agent | integer | Only tickets assigned to this agent id. |
count | integer | Results per page, 1-200. |
department | integer | Only tickets in this department id. |
group_sort | string | Sort direction. |
ids | string | Fetch exactly these ticket ids (comma-separated). |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
labels | string | Only tickets with these labels (comma-separated). |
order_by | string | Sort field. |
organization | integer | Only tickets from this organization id. |
page | integer | Page number, starting at 1. |
person | integer | Only tickets raised by this person id. |
status | string | Only tickets in this status, e.g. awaiting_agent, awaiting_user, pending, resolved. |
deskpro_get_ticket Get one ticket
Fetch a single ticket by id, with its subject, status, assignment, requester, labels, custom fields, SLA state and timing. A merged ticket redirects to the ticket it was merged into. Deskpro: GET /api/v2/tickets/{id}.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The ticket's numeric id. |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
deskpro_list_ticket_messages List a ticket's messages
List the conversation on one ticket — every reply and agent note, with its author, date, is_agent_note flag and HTML body. Deskpro: GET /api/v2/tickets/{id}/messages.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The ticket's numeric id. |
count | integer | Results per page, 1-200. |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
page | integer | Page number, starting at 1. |
deskpro_list_people List people
List people (end users and agents), searchable by name and filterable by email, organization or agent flag. Deskpro: GET /api/v2/people.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-200. |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
is_agent | boolean | true for agents only, false for end users only. |
order_by | string | Sort field. |
order_dir | string | Sort direction. |
organization | string | Only members of these organization ids (comma-separated). |
page | integer | Page number, starting at 1. |
primary_email | string | Only the person with this primary email. |
search | string | Search on name. |
deskpro_get_person Get one person
Fetch a single person by id — name, emails, phone numbers, organization, labels, custom fields and ticket count. Deskpro: GET /api/v2/people/{id}.
| Parameter | Type | Description |
|---|---|---|
person_id * | integer | The person's numeric id. |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
deskpro_list_person_tickets List a person's tickets
List the tickets raised by one person — their support history. Deskpro: GET /api/v2/people/{id}/tickets.
| Parameter | Type | Description |
|---|---|---|
person_id * | integer | The person's numeric id. |
count | integer | Results per page, 1-200. |
page | integer | Page number, starting at 1. |
deskpro_list_organizations List organizations
List customer organizations, filterable by name or labels. Deskpro: GET /api/v2/organizations.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-200. |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
labels | string | Only organizations with these labels (comma-separated). |
name | string | Only the organization with this name. |
page | integer | Page number, starting at 1. |
search | string | Search on name. |
deskpro_get_organization Get one organization
Fetch a single organization by id — name, summary, email domains, labels, custom fields and ticket count. Deskpro: GET /api/v2/organizations/{id}.
| Parameter | Type | Description |
|---|---|---|
organization_id * | integer | The organization's numeric id. |
include | string | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. |
deskpro_list_organization_tickets List an organization's tickets
List the tickets belonging to one organization. Deskpro: GET /api/v2/organizations/{id}/tickets.
| Parameter | Type | Description |
|---|---|---|
organization_id * | integer | The organization's numeric id. |
count | integer | Results per page, 1-200. |
page | integer | Page number, starting at 1. |
deskpro_list_articles List knowledgebase articles
List knowledgebase articles, filterable by category, status and author. Deskpro: GET /api/v2/articles.
| Parameter | Type | Description |
|---|---|---|
author | string | Only articles by this author id, or 'me' for the key's agent. |
category | integer | Only articles in this category id. |
count | integer | Results per page, 1-200. |
order_by | string | Sort field. |
page | integer | Page number, starting at 1. |
status | string | Only articles in this status. |
deskpro_get_article Get one article
Fetch a single knowledgebase article by id — title, content, status, categories and labels. Deskpro: GET /api/v2/articles/{id}.
| Parameter | Type | Description |
|---|---|---|
article_id * | integer | The article's numeric id. |
deskpro_list_departments List ticket departments
List the ticket departments (id, title, parent, whether tickets/chat are enabled) — needed to route a new ticket. Deskpro: GET /api/v2/ticket_departments.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-200. |
page | integer | Page number, starting at 1. |
deskpro_list_agents List agents
List the helpdesk's agents (id, name, email, online state) — needed to assign a ticket. Deskpro: GET /api/v2/agents.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-200. |
online | 1 = online only, 0 = offline only, -1 = both. | |
page | integer | Page number, starting at 1. |
deskpro_list_ticket_statuses List ticket statuses
List the ticket statuses and custom sub-statuses (status_type, status_code, title) configured on the helpdesk. Deskpro: GET /api/v2/ticket_statuses.
| Parameter | Type | Description |
|---|---|---|
count | integer | Results per page, 1-200. |
page | integer | Page number, starting at 1. |
status_type | string | Only statuses of this type. |
deskpro_search Search the helpdesk
Quick search across tickets, people, organizations, articles, news, downloads, community topics and chats; results are grouped by type. Deskpro: GET /api/v2/search.
| Parameter | Type | Description |
|---|---|---|
q * | string | The search term. |
types | string | Comma-separated types to search, e.g. ticket,person,organization. Omit for all. |
deskpro_create_ticket Create a ticket
Open a new ticket for a requester (by person id, or by email — Deskpro creates the person if the email is new) with a first message. Depending on the helpdesk's triggers this may email the requester. Returns the created ticket. Deskpro: POST /api/v2/tickets.
| Parameter | Type | Description |
|---|---|---|
message * | string | The first message body. |
subject * | string | The ticket subject. |
agent_id | integer | Assign to this agent id. |
agent_team | integer | Assign to this agent team id. |
department | integer | Department id (see deskpro_list_departments). |
labels | array | Labels to set. |
message_format | string | Format of the message body. Default text. |
organization | integer | Organization id. |
person_email | string | The requester's email (used when person_id is not given). |
person_id | integer | The requester's person id. |
person_name | string | The requester's name, for a new person. |
status | string | Ticket status: awaiting_agent, awaiting_user, pending or resolved, optionally with a custom sub-status id suffix (e.g. pending.5 — see deskpro_list_ticket_statuses). The hidden (deleted/spam) status… |
urgency | integer | Urgency 1-10. |
deskpro_update_ticket Update a ticket
Change a ticket's subject, status, assignment, department, organization, urgency, hold state or labels. Only the fields you pass are sent. Reversible by updating again. Cannot set the hidden (deleted/spam) status. Deskpro: PUT /api/v2/tickets/{id}.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The ticket's numeric id. |
agent_id | integer | Assign to this agent id. |
agent_team | integer | Assign to this agent team id. |
department | integer | Move to this department id. |
is_hold | boolean | Put the ticket on hold (true) or take it off hold (false). |
labels | array | The ticket's labels. |
organization | integer | Set the organization id. |
status | string | Ticket status: awaiting_agent, awaiting_user, pending or resolved, optionally with a custom sub-status id suffix (e.g. pending.5 — see deskpro_list_ticket_statuses). The hidden (deleted/spam) status… |
subject | string | New subject. |
urgency | integer | Urgency 1-10. |
deskpro_add_ticket_message Reply to a ticket or add a note
Add a message to a ticket as the key's agent. With is_note=true it is an internal agent note (not shown to the requester); with is_note=false it is a REPLY that the helpdesk emails to the requester — that cannot be unsent. Deskpro: POST /api/v2/tickets/{id}/messages.
| Parameter | Type | Description |
|---|---|---|
is_note * | boolean | true = internal agent note; false = public reply to the requester. |
message * | string | The message body. |
ticket_id * | integer | The ticket's numeric id. |
format | string | Format of the body. Default text. |
deskpro_create_organization Create an organization
Create a customer organization. Email domains auto-associate people with matching addresses. Deskpro: POST /api/v2/organizations.
| Parameter | Type | Description |
|---|---|---|
name * | string | The organization's name. |
email_domains | array | Email domains belonging to the organization, e.g. example.com. |
labels | array | Labels to set. |
summary | string | A short description. |