Getfly CRM MCP by usefulapi
v1.12.1MCP server for Getfly CRM — customers, opportunities, orders, tickets and tasks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
getfly_list_users List users
List the Getfly CRM users (employees): user id, name, department, email, phone. Use the user_name (login name) for the recipient/manager arguments of the create tools. Filters: user_id, contact_name, email, contact_mobile, valid (1 = active users). GET /api/v6.1/users.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
filters | object | Filters as { "field": value } or { "field:operator": value }; operators eq, is, in, not_in, contains, between, not_between, gte, gt, lte, lt. in, not_in, between and not_between take an array. Example… |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_get_user Get user
One user by id or by login name (exactly one of user_id and user_username). GET /api/v6.1/user.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
user_id | integer | User id (from getfly_list_users). |
user_username | string | User login name. |
getfly_list_accounts List customers
List customers (accounts, i.e. companies or individuals) with code, name, phone, email, address, type, source, relationship, manager, total revenue and contacts. Filters: id, account_code, account_name, phone_office, email, account_type, account_source, relation_id, industry, billing_address_street, created_at, updated_at (gte/lte/between), account_manager (user id), sale_order_status. Newest first. GET /api/v6/accounts.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
filters | object | Filters as { "field": value } or { "field:operator": value }; operators eq, is, in, not_in, contains, between, not_between, gte, gt, lte, lt. in, not_in, between and not_between take an array. Example… |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_get_account Get customer
One customer by its customer code (account_code, e.g. KH/2025/000001): full profile with contacts, custom fields, type, source, industry, manager and revenue. GET /api/v6.1/account?account_code=.
| Parameter | Type | Description |
|---|---|---|
account_code * | string | Customer code (account_code), from getfly_list_accounts. |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_create_account Create customer
WRITE: Create a new customer (account) in Getfly CRM. The customer code must be unique (leave it out to let Getfly generate one). Type, source, industry, relationship, country, province, district and ward are given by NAME and must match the names configured in Getfly. Optionally adds one primary contact. Creating records may trigger the workflows and notifications set up in the CRM. POST /api/v6.1/account.
| Parameter | Type | Description |
|---|---|---|
account_name * | string | Customer name (company or person). |
account_code | string | Unique customer code. Optional. |
account_manager_username | string | Login name of the managing user (getfly_list_users → user_name). |
account_source_names | array | Customer source names. |
account_type_names | array | Customer type names. |
billing_address_street | string | Street address. |
birthday | string | Birthday or founding date, yyyy-mm-dd. |
contact | object | One primary contact person. |
country_name | string | |
custom_fields | object | Custom field values by field key. |
description | string | |
district_name | string | |
email | string | |
industry_names | array | Industry names. |
phone_office | string | Office phone number. |
province_name | string | |
relation_name | string | Relationship name (e.g. New customer). |
sic_code | string | Tax code. |
ward_name | string | |
website | string |
getfly_update_account Update customer
WRITE: Update fields of an existing customer, found by its current customer code. Send only the fields to change. Names (relationship, country, province...) must match those configured in Getfly. Contacts and the type/source/industry lists are not editable here. PUT /api/v6.1/account.
| Parameter | Type | Description |
|---|---|---|
current_account_code * | string | The customer's current code (account_code). |
account_code | string | New customer code, only to rename the code. |
account_manager_username | string | Login name of the new managing user. |
account_name | string | |
billing_address_street | string | |
birthday | string | yyyy-mm-dd. |
country_name | string | |
custom_fields | object | Custom field values by field key. |
description | string | |
district_name | string | |
email | string | |
phone_office | string | |
province_name | string | |
relation_name | string | |
sic_code | string | Tax code. |
ward_name | string | |
website | string |
getfly_list_campaigns List campaigns
List sales campaigns (opportunity pipelines): campaign code and name, responsible user, lock state, related users and the pipeline stages (status ids and names). GET /api/v6.1/campaigns.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_get_campaign_stages Get campaign stages
The pipeline stages of one campaign (status id, name and how many opportunities are in each). Pass exactly one of campaign_id and campaign_code. GET /api/v6.1/campaign/status.
| Parameter | Type | Description |
|---|---|---|
campaign_code | string | |
campaign_id | integer |
getfly_list_opportunities List opportunities
List sales opportunities (deals in a campaign pipeline) with code, name, stage, probability, handler, customer and campaign. Filter by campaign with the campaign_code argument. GET /api/v6.1/opportunities.
| Parameter | Type | Description |
|---|---|---|
campaign_code | string | Only opportunities of this campaign (campaign code from getfly_list_campaigns). |
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
filters | object | Filters as { "field": value } or { "field:operator": value }; operators eq, is, in, not_in, contains, between, not_between, gte, gt, lte, lt. in, not_in, between and not_between take an array. Example… |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_get_opportunity Get opportunity
One opportunity by its code (e.g. CH2284): stage, probability, handler, customer and campaign. GET /api/v6.1/opportunity.
| Parameter | Type | Description |
|---|---|---|
opportunity_code * | string | Opportunity code (opportunity_code). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_list_opportunity_comments List opportunity comments
The discussion (comments) on an opportunity: author, text and time. GET /api/v6.1/opportunity/{id}/comments.
| Parameter | Type | Description |
|---|---|---|
opportunity_id * | integer | Opportunity id (the numeric id, not the code). |
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_create_opportunity Create opportunity
WRITE: Create a sales opportunity in a campaign for a customer and assign it to a user. Creates (or links) the customer and contact from the details given. The assigned user and the campaign rules may be notified by Getfly. POST /api/v6.1/opportunity.
| Parameter | Type | Description |
|---|---|---|
account_name * | string | Customer name. |
account_phone * | string | Customer phone number. |
campaign_code * | string | Campaign code (getfly_list_campaigns). |
contact_name * | string | Contact person name. |
contact_phone * | string | Contact phone number. |
recipient_username * | string | Login name of the user who handles it (getfly_list_users → user_name). |
account_code | string | Existing customer code, if the customer already exists. |
account_email | string | |
contact_email | string |
getfly_move_opportunity_stage Move opportunity to a pipeline stage
WRITE: Move an opportunity to another stage of its campaign pipeline, without changing anything else. Identify the opportunity by code (or id) and the campaign by code (or id); the new stage by name (or status id) from getfly_get_campaign_stages. Won/lost/cancelled results are not set here. PUT /api/v6.1/opportunity/stage.
| Parameter | Type | Description |
|---|---|---|
campaign_code | string | Campaign code. Use this or campaign_id. |
campaign_id | integer | |
opportunity_code | string | Opportunity code. Use this or opportunity_id. |
opportunity_id | integer | |
opportunity_status | integer | New stage (status) id. |
opportunity_status_name | string | New stage name. Use this or opportunity_status. |
getfly_add_opportunity_comment Add opportunity comment
WRITE: Post a comment in the discussion of an opportunity, as the given user. Other users following the opportunity may be notified. POST /api/v6.1/opportunity/{id}/comments.
| Parameter | Type | Description |
|---|---|---|
content * | string | Comment text. |
opportunity_id * | integer | Opportunity id (the numeric id, not the code). |
user_id * | integer | User id posting the comment (getfly_list_users). |
getfly_list_products List products
List products and services with code, name, category, unit, retail/wholesale/online price, sale price, VAT and dates. GET /api/v6.1/products.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_get_product Get product
One product by its code (e.g. SP.00192): prices, unit, category, VAT, variants and custom fields. GET /api/v6.1/product.
| Parameter | Type | Description |
|---|---|---|
product_code * | string | Product code (product_code). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_list_sale_orders List sales orders
List sales orders with code, customer, amounts, discount, VAT, status, payment status, assigned user and line items. Filters: id, order_date, created_at, updated_at (eq, gte, lte, between). Newest first. GET /api/v6.1/sale_orders.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
filters | object | Filters as { "field": value } or { "field:operator": value }; operators eq, is, in, not_in, contains, between, not_between, gte, gt, lte, lt. in, not_in, between and not_between take an array. Example… |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
order_date_from | string | Orders dated on or after this day, yyyy-mm-dd. |
order_date_to | string | Orders dated on or before this day, yyyy-mm-dd. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
updated_since | string | Orders updated at or after this time, yyyy-mm-dd hh:mm:ss. |
getfly_get_sale_order Get sales order
One sales order by its order code: status, payment status, amounts, customer, line items, shipping info and custom fields. Add payment_periods to fields to include the payment schedule. GET /api/v6.1/sale_order.
| Parameter | Type | Description |
|---|---|---|
order_code * | string | Order code (order_code), from getfly_list_sale_orders. |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_list_tickets List support tickets
List support tickets with code, title, content, category, customer and custom fields. GET /api/v6.1/tickets.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
filters | object | Filters as { "field": value } or { "field:operator": value }; operators eq, is, in, not_in, contains, between, not_between, gte, gt, lte, lt. in, not_in, between and not_between take an array. Example… |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_get_ticket Get support ticket
One support ticket by its ticket code. GET /api/v6.1/ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_code * | string | Ticket code (ticket_code), from getfly_list_tickets. |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_list_ticket_comments List ticket comments
The discussion (comments) on a support ticket: author, text and time. GET /api/v6.1/ticket/{id}/comments.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket id (the numeric id, not the code). |
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |
getfly_list_ticket_categories List ticket categories
The support ticket categories (id and name). Use a name as cate_name when creating a ticket. GET /api/v6.1/ticket/categories.
getfly_list_ticket_statuses List ticket statuses
The support ticket statuses (id and name). Use a name as status_name when creating a ticket. GET /api/v6.1/ticket/status.
getfly_create_ticket Create support ticket
WRITE: Create a support ticket, optionally for a customer. Category and status are given by NAME and must match the names configured in Getfly (getfly_list_ticket_categories, getfly_list_ticket_statuses). The content may contain HTML. Getfly may notify the support team. POST /api/v6.1/ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_content * | string | Ticket text (HTML allowed). |
ticket_title * | string | Short title. |
account_code | string | Customer code. |
account_email | string | Customer email. |
cate_name | string | Category name. |
contact_name | string | Contact person name. |
emergency_phone | string | Emergency contact phone. |
expected_at | string | Expected resolution date, yyyy-mm-dd. |
status_name | string | Initial status name. |
getfly_list_tasks List tasks
List tasks with code, name, start/end time, status, progress, assignee, project and related customers. GET /api/v6.1/tasks.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
getfly_get_task Get task
One task by its task code: status, progress, assignee, project, dates and custom fields. GET /api/v6.1/task.
| Parameter | Type | Description |
|---|---|---|
task_code * | string | Task code (task_code), from getfly_list_tasks. |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
getfly_create_task Create task
WRITE: Create a task, optionally in a project, assigned to a user and linked to a customer. Project and task type are given by NAME and must exist in Getfly; users by login name. The assignee may be notified by Getfly. POST /api/v6.1/task.
| Parameter | Type | Description |
|---|---|---|
task_name * | string | Task name. |
account_code | string | Code of a customer to link to the task. |
project_name | string | Project name (must exist). |
related_users | array | Login names of related users. |
task_code | string | Unique task code. Optional. |
task_description | string | Description (HTML allowed). |
task_end_date | string | End, yyyy-mm-dd hh:mm:ss. |
task_parent_code | string | Code of the parent task. |
task_receiver_username | string | Login name of the assignee (getfly_list_users → user_name). |
task_start_date | string | Start, yyyy-mm-dd hh:mm:ss. |
task_type_name | string | Task type name. |
getfly_complete_task Complete task
WRITE: Mark a task as completed, by its task code. POST /api/v6.1/task/complete.
| Parameter | Type | Description |
|---|---|---|
task_code * | string | Task code (task_code). |
getfly_list_funds List funds
List the cash/bank funds (accounts for receipts and payments) with id, name, parent, level and financial account. GET /api/v6.1/funds.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction, used with sort (default asc). |
fields | string | Comma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set. |
filters | object | Filters as { "field": value } or { "field:operator": value }; operators eq, is, in, not_in, contains, between, not_between, gte, gt, lte, lt. in, not_in, between and not_between take an array. Example… |
limit | integer | Records to return, 1-100 (default 20). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sort | string | Field to sort by (e.g. id, created_at, updated_at). Default: newest id first. |