Getfly CRM MCP by usefulapi

v1.12.1
io.usefulapi/getfly-crm Checked 2 days ago Published 1 day ago

MCP 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.

ParameterTypeDescription
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
filtersobjectFilters 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…
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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.

ParameterTypeDescription
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
user_idintegerUser id (from getfly_list_users).
user_usernamestringUser 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.

ParameterTypeDescription
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
filtersobjectFilters 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…
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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=.

ParameterTypeDescription
account_code *stringCustomer code (account_code), from getfly_list_accounts.
fieldsstringComma-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.

ParameterTypeDescription
account_name *stringCustomer name (company or person).
account_codestringUnique customer code. Optional.
account_manager_usernamestringLogin name of the managing user (getfly_list_users → user_name).
account_source_namesarrayCustomer source names.
account_type_namesarrayCustomer type names.
billing_address_streetstringStreet address.
birthdaystringBirthday or founding date, yyyy-mm-dd.
contactobjectOne primary contact person.
country_namestring
custom_fieldsobjectCustom field values by field key.
descriptionstring
district_namestring
emailstring
industry_namesarrayIndustry names.
phone_officestringOffice phone number.
province_namestring
relation_namestringRelationship name (e.g. New customer).
sic_codestringTax code.
ward_namestring
websitestring

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.

ParameterTypeDescription
current_account_code *stringThe customer's current code (account_code).
account_codestringNew customer code, only to rename the code.
account_manager_usernamestringLogin name of the new managing user.
account_namestring
billing_address_streetstring
birthdaystringyyyy-mm-dd.
country_namestring
custom_fieldsobjectCustom field values by field key.
descriptionstring
district_namestring
emailstring
phone_officestring
province_namestring
relation_namestring
sic_codestringTax code.
ward_namestring
websitestring

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.

ParameterTypeDescription
fieldsstringComma-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.

ParameterTypeDescription
campaign_codestring
campaign_idinteger

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.

ParameterTypeDescription
campaign_codestringOnly opportunities of this campaign (campaign code from getfly_list_campaigns).
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
filtersobjectFilters 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…
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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.

ParameterTypeDescription
opportunity_code *stringOpportunity code (opportunity_code).
fieldsstringComma-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.

ParameterTypeDescription
opportunity_id *integerOpportunity id (the numeric id, not the code).
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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.

ParameterTypeDescription
account_name *stringCustomer name.
account_phone *stringCustomer phone number.
campaign_code *stringCampaign code (getfly_list_campaigns).
contact_name *stringContact person name.
contact_phone *stringContact phone number.
recipient_username *stringLogin name of the user who handles it (getfly_list_users → user_name).
account_codestringExisting customer code, if the customer already exists.
account_emailstring
contact_emailstring

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.

ParameterTypeDescription
campaign_codestringCampaign code. Use this or campaign_id.
campaign_idinteger
opportunity_codestringOpportunity code. Use this or opportunity_id.
opportunity_idinteger
opportunity_statusintegerNew stage (status) id.
opportunity_status_namestringNew 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.

ParameterTypeDescription
content *stringComment text.
opportunity_id *integerOpportunity id (the numeric id, not the code).
user_id *integerUser 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.

ParameterTypeDescription
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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.

ParameterTypeDescription
product_code *stringProduct code (product_code).
fieldsstringComma-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.

ParameterTypeDescription
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
filtersobjectFilters 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…
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_date_fromstringOrders dated on or after this day, yyyy-mm-dd.
order_date_tostringOrders dated on or before this day, yyyy-mm-dd.
sortstringField to sort by (e.g. id, created_at, updated_at). Default: newest id first.
updated_sincestringOrders 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.

ParameterTypeDescription
order_code *stringOrder code (order_code), from getfly_list_sale_orders.
fieldsstringComma-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.

ParameterTypeDescription
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
filtersobjectFilters 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…
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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.

ParameterTypeDescription
ticket_code *stringTicket code (ticket_code), from getfly_list_tickets.
fieldsstringComma-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.

ParameterTypeDescription
ticket_id *integerTicket id (the numeric id, not the code).
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField 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.

ParameterTypeDescription
ticket_content *stringTicket text (HTML allowed).
ticket_title *stringShort title.
account_codestringCustomer code.
account_emailstringCustomer email.
cate_namestringCategory name.
contact_namestringContact person name.
emergency_phonestringEmergency contact phone.
expected_atstringExpected resolution date, yyyy-mm-dd.
status_namestringInitial 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.

ParameterTypeDescription
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords 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.

ParameterTypeDescription
task_code *stringTask code (task_code), from getfly_list_tasks.
fieldsstringComma-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.

ParameterTypeDescription
task_name *stringTask name.
account_codestringCode of a customer to link to the task.
project_namestringProject name (must exist).
related_usersarrayLogin names of related users.
task_codestringUnique task code. Optional.
task_descriptionstringDescription (HTML allowed).
task_end_datestringEnd, yyyy-mm-dd hh:mm:ss.
task_parent_codestringCode of the parent task.
task_receiver_usernamestringLogin name of the assignee (getfly_list_users → user_name).
task_start_datestringStart, yyyy-mm-dd hh:mm:ss.
task_type_namestringTask type name.

getfly_complete_task Complete task

WRITE: Mark a task as completed, by its task code. POST /api/v6.1/task/complete.

ParameterTypeDescription
task_code *stringTask 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.

ParameterTypeDescription
directionstringSort direction, used with sort (default asc).
fieldsstringComma-separated field names to return (e.g. id,account_name,email). Leave empty for the default set.
filtersobjectFilters 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…
limitintegerRecords to return, 1-100 (default 20).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
sortstringField to sort by (e.g. id, created_at, updated_at). Default: newest id first.