Twenty MCP by usefulapi

v1.41.1
io.usefulapi/twenty Checked 2 days ago Published 1 day ago

Read people, companies, opportunities, notes and tasks; create and update records in Twenty CRM.

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

twenty_list_metadata_objects List metadata objects

List all objects (standard + custom) and their fields from the Twenty schema — use this to discover custom objects/fields and valid field names. Twenty REST: GET /rest/metadata/objects.

twenty_list_people List people

List/filter people (contacts). Supports cursor pagination, raw filter/order_by, and relation depth. Twenty REST: GET /rest/people.

ParameterTypeDescription
depthintegerHow deep to hydrate related records: 0, 1, or 2.
ending_beforestringPagination cursor — return records before this cursor (from a previous page's pageInfo).
filterstringRaw Twenty filter string, passed verbatim as ?filter=. Syntax: field[comparator]:value, e.g. `employees[gte]:100` or `stage[eq]:"MEETING"`. Comparators: eq, neq, gt, gte, lt, lte, in, is, like, ilike,…
limitintegerResults per page (1-60, default 20 — Twenty caps at 60).
order_bystringRaw Twenty ordering string, passed verbatim as ?order_by=, e.g. `createdAt[DescNullsLast]`.
starting_afterstringPagination cursor — return records after this cursor (from a previous page's pageInfo).

twenty_get_person Get person

Get a single person (contact) by id. Twenty REST: GET /rest/people/{id}.

ParameterTypeDescription
id *stringThe person id.
depthintegerHow deep to hydrate related records: 0, 1, or 2.

twenty_list_companies List companies

List/filter companies. Supports cursor pagination, raw filter/order_by, and relation depth. Twenty REST: GET /rest/companies.

ParameterTypeDescription
depthintegerHow deep to hydrate related records: 0, 1, or 2.
ending_beforestringPagination cursor — return records before this cursor (from a previous page's pageInfo).
filterstringRaw Twenty filter string, passed verbatim as ?filter=. Syntax: field[comparator]:value, e.g. `employees[gte]:100` or `stage[eq]:"MEETING"`. Comparators: eq, neq, gt, gte, lt, lte, in, is, like, ilike,…
limitintegerResults per page (1-60, default 20 — Twenty caps at 60).
order_bystringRaw Twenty ordering string, passed verbatim as ?order_by=, e.g. `createdAt[DescNullsLast]`.
starting_afterstringPagination cursor — return records after this cursor (from a previous page's pageInfo).

twenty_get_company Get company

Get a single company by id. Twenty REST: GET /rest/companies/{id}.

ParameterTypeDescription
id *stringThe company id.
depthintegerHow deep to hydrate related records: 0, 1, or 2.

twenty_list_opportunities List opportunities

List/filter opportunities (deals). Supports cursor pagination, raw filter/order_by, and relation depth. Twenty REST: GET /rest/opportunities.

ParameterTypeDescription
depthintegerHow deep to hydrate related records: 0, 1, or 2.
ending_beforestringPagination cursor — return records before this cursor (from a previous page's pageInfo).
filterstringRaw Twenty filter string, passed verbatim as ?filter=. Syntax: field[comparator]:value, e.g. `employees[gte]:100` or `stage[eq]:"MEETING"`. Comparators: eq, neq, gt, gte, lt, lte, in, is, like, ilike,…
limitintegerResults per page (1-60, default 20 — Twenty caps at 60).
order_bystringRaw Twenty ordering string, passed verbatim as ?order_by=, e.g. `createdAt[DescNullsLast]`.
starting_afterstringPagination cursor — return records after this cursor (from a previous page's pageInfo).

twenty_get_opportunity Get opportunity

Get a single opportunity by id. Twenty REST: GET /rest/opportunities/{id}.

ParameterTypeDescription
id *stringThe opportunity id.
depthintegerHow deep to hydrate related records: 0, 1, or 2.

twenty_list_notes List notes

List/filter notes. Supports cursor pagination, raw filter/order_by, and relation depth. Twenty REST: GET /rest/notes.

ParameterTypeDescription
depthintegerHow deep to hydrate related records: 0, 1, or 2.
ending_beforestringPagination cursor — return records before this cursor (from a previous page's pageInfo).
filterstringRaw Twenty filter string, passed verbatim as ?filter=. Syntax: field[comparator]:value, e.g. `employees[gte]:100` or `stage[eq]:"MEETING"`. Comparators: eq, neq, gt, gte, lt, lte, in, is, like, ilike,…
limitintegerResults per page (1-60, default 20 — Twenty caps at 60).
order_bystringRaw Twenty ordering string, passed verbatim as ?order_by=, e.g. `createdAt[DescNullsLast]`.
starting_afterstringPagination cursor — return records after this cursor (from a previous page's pageInfo).

twenty_get_note Get note

Get a single note by id. Twenty REST: GET /rest/notes/{id}.

ParameterTypeDescription
id *stringThe note id.
depthintegerHow deep to hydrate related records: 0, 1, or 2.

twenty_list_tasks List tasks

List/filter tasks. Supports cursor pagination, raw filter/order_by, and relation depth. Twenty REST: GET /rest/tasks.

ParameterTypeDescription
depthintegerHow deep to hydrate related records: 0, 1, or 2.
ending_beforestringPagination cursor — return records before this cursor (from a previous page's pageInfo).
filterstringRaw Twenty filter string, passed verbatim as ?filter=. Syntax: field[comparator]:value, e.g. `employees[gte]:100` or `stage[eq]:"MEETING"`. Comparators: eq, neq, gt, gte, lt, lte, in, is, like, ilike,…
limitintegerResults per page (1-60, default 20 — Twenty caps at 60).
order_bystringRaw Twenty ordering string, passed verbatim as ?order_by=, e.g. `createdAt[DescNullsLast]`.
starting_afterstringPagination cursor — return records after this cursor (from a previous page's pageInfo).

twenty_get_task Get task

Get a single task by id. Twenty REST: GET /rest/tasks/{id}.

ParameterTypeDescription
id *stringThe task id.
depthintegerHow deep to hydrate related records: 0, 1, or 2.

twenty_create_person Create person

Create a new person (contact). All fields optional; firstName/lastName combine into name:{firstName,lastName}. Twenty REST: POST /rest/people.

ParameterTypeDescription
citystringCity.
companyIdstringId of the company to link this person to.
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
firstNamestringFirst name (combined into name:{firstName,lastName}).
jobTitlestringJob title.
lastNamestringLast name (combined into name:{firstName,lastName}).
linkedinUrlstringLinkedIn URL (sent as linkedinLink:{primaryLinkUrl}).
primaryEmailstringPrimary email address (sent as emails:{primaryEmail}).
primaryPhonestringPrimary phone number (sent as phones:{primaryPhoneNumber}).
xUrlstringX/Twitter URL (sent as xLink:{primaryLinkUrl}).

twenty_update_person Update person

Update fields on an existing person. Only provided fields change. Twenty REST: PATCH /rest/people/{id}.

ParameterTypeDescription
id *stringThe person id to update.
citystringCity.
companyIdstringId of the company to link this person to.
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
firstNamestringFirst name (combined into name:{firstName,lastName}).
jobTitlestringJob title.
lastNamestringLast name (combined into name:{firstName,lastName}).
linkedinUrlstringLinkedIn URL (sent as linkedinLink:{primaryLinkUrl}).
primaryEmailstringPrimary email address (sent as emails:{primaryEmail}).
primaryPhonestringPrimary phone number (sent as phones:{primaryPhoneNumber}).
xUrlstringX/Twitter URL (sent as xLink:{primaryLinkUrl}).

twenty_create_company Create company

Create a new company. `name` is required. Twenty REST: POST /rest/companies.

ParameterTypeDescription
name *stringThe company name (required).
addressCitystringCity (sent as address:{addressCity}).
domainNamestringPrimary domain / website URL (sent as domainName:{primaryLinkUrl}).
employeesnumberEmployee count.
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
idealCustomerProfilebooleanWhether this company matches the ideal customer profile.
linkedinUrlstringLinkedIn URL (sent as linkedinLink:{primaryLinkUrl}).
xUrlstringX/Twitter URL (sent as xLink:{primaryLinkUrl}).

twenty_update_company Update company

Update fields on an existing company. Only provided fields change. Twenty REST: PATCH /rest/companies/{id}.

ParameterTypeDescription
id *stringThe company id to update.
addressCitystringCity (sent as address:{addressCity}).
domainNamestringPrimary domain / website URL (sent as domainName:{primaryLinkUrl}).
employeesnumberEmployee count.
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
idealCustomerProfilebooleanWhether this company matches the ideal customer profile.
linkedinUrlstringLinkedIn URL (sent as linkedinLink:{primaryLinkUrl}).
namestringThe company name.
xUrlstringX/Twitter URL (sent as xLink:{primaryLinkUrl}).

twenty_create_opportunity Create opportunity

Create a new opportunity (deal). `name` is required; amountMicros combines with currencyCode into amount:{amountMicros,currencyCode}. Twenty REST: POST /rest/opportunities.

ParameterTypeDescription
name *stringThe opportunity name (required).
amountMicrosnumberOpportunity amount in micros (× 1,000,000). Sent as amount:{amountMicros,currencyCode}.
closeDatestringExpected close date (ISO 8601).
companyIdstringId of the associated company.
currencyCodestringCurrency code for the amount (default USD; only sent when amountMicros is provided).
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
pointOfContactIdstringId of the point-of-contact person.
stagestringPipeline stage — e.g. SCREENING, MEETING, PROPOSAL, NEGOTIATION, CUSTOMER (custom pipelines vary).

twenty_update_opportunity Update opportunity

Update fields on an existing opportunity. Only provided fields change. Twenty REST: PATCH /rest/opportunities/{id}.

ParameterTypeDescription
id *stringThe opportunity id to update.
amountMicrosnumberOpportunity amount in micros (× 1,000,000). Sent as amount:{amountMicros,currencyCode}.
closeDatestringExpected close date (ISO 8601).
companyIdstringId of the associated company.
currencyCodestringCurrency code for the amount (default USD; only sent when amountMicros is provided).
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
namestringThe opportunity name.
pointOfContactIdstringId of the point-of-contact person.
stagestringPipeline stage — e.g. SCREENING, MEETING, PROPOSAL, NEGOTIATION, CUSTOMER (custom pipelines vary).

twenty_create_note Create note

Create a note. `title` is required; `body` holds the note content. (Attaching to records via noteTargets is out of scope.) Twenty REST: POST /rest/notes.

ParameterTypeDescription
title *stringThe note title (required).
bodystringThe note content/body.
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.

twenty_create_task Create task

Create a task. `title` is required. Twenty REST: POST /rest/tasks.

ParameterTypeDescription
title *stringThe task title (required).
assigneeIdstringId of the workspace member assigned to the task.
bodystringTask body / description.
dueAtstringDue date/time (ISO 8601).
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
statusstringTask status — e.g. TODO, IN_PROGRESS, DONE.

twenty_update_task Update task

Update fields on an existing task. Only provided fields change. Twenty REST: PATCH /rest/tasks/{id}.

ParameterTypeDescription
id *stringThe task id to update.
assigneeIdstringId of the workspace member assigned to the task.
bodystringTask body / description.
dueAtstringDue date/time (ISO 8601).
extraobjectPassthrough object of additional/custom fields merged into the request body verbatim.
statusstringTask status — e.g. TODO, IN_PROGRESS, DONE.
titlestringThe task title.