KiotViet MCP by usefulapi

io.usefulapiPublished by usefulapi.ioOfficial publisherv1.12.4Updated Nov 7, 2026

Read KiotViet products, customers, invoices, orders and stock; create customers and orders.

The publisher's own server: Ably MCP by usefulapi

VerifiedStreamable HTTPWeb executableFinanceData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Remote MCP server for KiotViet shops: lets an assistant read products, customers, invoices, orders, stock and cash flow, and create customers and sales orders.

What you can do
  • Browse and look up products, categories and price books, including stock per branch
  • Search customers by code, phone or group and read their debt, points and invoices
  • List and open sales invoices, sales orders, returns and cash-book entries
  • Review branches, staff users, suppliers, goods receipts and supplier orders
  • Create a new customer or a sales order (write tools)
  • Check usage, request a feature, upgrade or cancel the subscription
When to use it
Useful when you run a KiotViet shop and want to ask questions in plain language about stock levels, invoices, customer history or cash flow, or have the assistant draft a customer record or sales order. It suits occasional lookups on the free tier as well as heavier automation on a paid plan.
Requirements
A remote endpoint added by URL only; the server signs in with OAuth and the login page asks for KiotViet Client ID, secret and shop name, stored per user. No API key or Authorization header goes in the client config. A paid plan is needed beyond 50 tool calls per month.
Before you install
Customer records contain personal data (names, phones, emails, addresses, debt) that is sent to the hosted service. Two tools write to the shop: creating a customer and creating a sales order, which records no invoice or payment; confirm details first. Paid plans cost money via a Stripe checkout link, and cancelling gives no refund for the current period.

Installation

In SourceWeft

  1. Open KiotViet MCP by usefulapi in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.usefulapi%2Fkiotviet/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "kiotviet-by-usefulapi": {
      "type": "http",
      "url": "https://kiotviet.usefulapi.io/mcp"
    }
  }
}

README

KiotViet MCP by usefulapi

Live endpoint: https://kiotviet.usefulapi.io/mcp

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://kiotviet.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http kiotviet https://kiotviet.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "kiotviet": {      "url": "https://kiotviet.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your KiotViet credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/kiotviet/

On first connect you will paste your KiotViet Client ID, secret and shop name. They are validated, stored per-user, and scoped to you. No keys in config files.

Tools

ToolTypeWhat it does
kiotviet_list_productsreadList products
kiotviet_get_productreadGet product
kiotviet_get_product_by_codereadGet product by code
kiotviet_list_categoriesreadList categories
kiotviet_get_categoryreadGet category
kiotviet_list_customersreadList customers
kiotviet_get_customerreadGet customer
kiotviet_get_customer_by_codereadGet customer by code
kiotviet_create_customerwriteCreate customer
kiotviet_list_invoicesreadList invoices
kiotviet_get_invoicereadGet invoice
kiotviet_get_invoice_by_codereadGet invoice by code
kiotviet_list_ordersreadList sales orders
kiotviet_get_orderreadGet sales order
kiotviet_get_order_by_codereadGet sales order by code
kiotviet_create_orderwriteCreate sales order
kiotviet_list_branchesreadList branches
kiotviet_list_stockreadList stock on hand
kiotviet_list_suppliersreadList suppliers
kiotviet_get_supplierreadGet supplier
kiotviet_list_purchase_ordersreadList goods receipts
kiotviet_get_purchase_orderreadGet goods receipt
kiotviet_list_supplier_ordersreadList supplier orders
kiotviet_list_returnsreadList returns
kiotviet_get_returnreadGet return
kiotviet_list_cashflowreadList cash flow
kiotviet_list_usersreadList users
kiotviet_list_price_booksreadList price books
kiotviet_get_price_bookreadGet price book prices
kiotviet_usage_statusmetaUsage status (free-tier meter)
kiotviet_request_featuremetaRequest a missing feature
kiotviet_upgrademetaUpgrade to Pro or Pro+
kiotviet_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro (per store account)$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with kiotviet_upgrade (it returns a Stripe Checkout link). Cancel any time with kiotviet_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running kiotviet_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT

Source: servers/kiotviet/README.md at commit 4046075

Tools

29

kiotviet_list_products

List products

List products (code, barcode, name, category, base price, units, attributes). Optionally include stock per branch (include_inventory) and price-book prices. Filter by name, category, branch, active flag or last change. GET /products.

Parametersnameorder_byis_activepage_sizebranch_idscategory_idcurrent_itemorder_directioninclude_inventoryinclude_pricebooklast_modified_from

kiotviet_get_product

Get product

One product by id: code, barcode, name, category, base price, units, attributes, images, stock per branch and price books. GET /products/{id}.

Parametersproduct_idrequired

kiotviet_get_product_by_code

Get product by code

One product by its product code (SKU). GET /products/code/{code}.

Parameterscoderequired

kiotviet_list_categories

List categories

List product categories (id, name, parent, whether it has children). Set hierarchical to get the category tree. GET /categories.

Parametersorder_bypage_sizecurrent_itemhierarchicalorder_directionlast_modified_from

kiotviet_get_category

Get category

One product category by id (name, parent, children). GET /categories/{id}.

Parameterscategory_idrequired

kiotviet_list_customers

List customers

List customers (code, name, phone, email, address, debt, total invoiced, reward points, groups). Contains personal data of the shop's customers. Filter by code, name, phone, group or last change. GET /customers.

Parameterscodenamegroup_idorder_bypage_sizecurrent_iteminclude_totalcontact_numberorder_directionlast_modified_frominclude_customer_group

kiotviet_get_customer

Get customer

One customer by id: contact data, debt, total invoiced, reward points, groups. GET /customers/{id}.

Parameterscustomer_idrequired

kiotviet_get_customer_by_code

Get customer by code

One customer by customer code. GET /customers/code/{code}.

Parameterscoderequired

kiotviet_create_customer

Create customer

WRITE: create a new customer in the shop (name required; code is generated by KiotViet if omitted). Always check with the user first, and look the customer up by phone before creating a duplicate. POST /customers.

Parameterscodenamerequiredemailaddresscommentstax_codegroup_idsbirth_dateorganizationcontact_number

kiotviet_list_invoices

List invoices

List sales invoices (code, date, branch, customer, total, amount paid, status, lines). Filter by branch, customer, status, order, purchase-date range or last change. GET /invoices.

Parametersstatusorder_byorder_idpage_sizebranch_idscurrent_itemcustomer_idscustomer_codeinclude_paymentorder_directionto_purchase_datefrom_purchase_date+1 more

kiotviet_get_invoice

Get invoice

One invoice by id with its lines, payments and delivery. GET /invoices/{id}.

Parametersinvoice_idrequired

kiotviet_get_invoice_by_code

Get invoice by code

One invoice by invoice code (for example HD000123). GET /invoices/code/{code}.

Parameterscoderequired

kiotviet_list_orders

List sales orders

List sales orders (code, date, branch, customer, total, status, lines, delivery). Filter by branch, customer, status, creation date (from) or last change (from/to). GET /orders.

Parametersstatusorder_bypage_sizebranch_idscreated_datecurrent_itemcustomer_idscustomer_codeinclude_paymentorder_directionsale_channel_idlast_modified_to+2 more

kiotviet_get_order

Get sales order

One sales order by id with its lines, payments and delivery. GET /orders/{id}.

Parametersorder_idrequired

kiotviet_get_order_by_code

Get sales order by code

One sales order by order code (for example DH000123). GET /orders/code/{code}.

Parameterscoderequired

kiotviet_create_order

Create sales order

WRITE: create a sales order (an order, not an invoice: no invoice is made and no payment is recorded) with lines of existing products in a branch, for an existing customer or none. Always confirm the products, quantities and prices with the user first. POST /orders.

Parametersitemsrequireddiscountbranch_idrequiredsold_by_idcustomer_iddescriptionsale_channel_id

kiotviet_list_branches

List branches

List the shop's branches (id, name, code, phone, address). Use the ids to filter other tools. GET /branches.

Parameterspage_sizecurrent_item

kiotviet_list_stock

List stock on hand

Stock on hand and reserved quantity per product and branch. Filter by branch or last change. GET /productOnHands.

Parametersorder_bypage_sizebranch_idscurrent_itemorder_directionlast_modified_from

kiotviet_list_suppliers

List suppliers

List suppliers (code, name, phone, email, address, debt, total invoiced). Filter by code, name, phone or last change. GET /suppliers.

Parameterscodenamepage_sizecurrent_iteminclude_totalcontact_numberorder_directionlast_modified_from

kiotviet_get_supplier

Get supplier

One supplier by id. GET /suppliers/{id}.

Parameterssupplier_idrequired

kiotviet_list_purchase_orders

List goods receipts

List goods receipts from suppliers (nhap hang: code, date, branch, supplier, total, lines). Filter by branch, status or purchase-date range. GET /purchaseorders.

Parametersstatuspage_sizebranch_idscurrent_iteminclude_paymentto_purchase_datefrom_purchase_date

kiotviet_get_purchase_order

Get goods receipt

One goods receipt (nhap hang) by id with its lines. GET /purchaseorders/{id}.

Parameterspurchase_order_idrequired

kiotviet_list_supplier_orders

List supplier orders

List orders placed with suppliers (dat hang nhap: code, date, branch, supplier, status, lines, amount paid). Filter by branch, status, supplier or product text. GET /ordersuppliers.

Parametersstatuscode_keybranch_idpage_sizeproduct_keycurrent_itemsupplier_key

kiotviet_list_returns

List returns

List customer returns (code, date, branch, customer, invoice, return total, lines). GET /returns.

Parametersorder_bypage_sizecurrent_iteminclude_paymentorder_directionlast_modified_from

kiotviet_get_return

Get return

One customer return by id with its lines. GET /returns/{id}.

Parametersreturn_idrequired

kiotviet_list_cashflow

List cash flow

List cash-book entries (receipts and payments: code, branch, method, partner, amount, date, status). Filter by branch, direction or date range. GET /cashflow.

Parameterscodeend_datepage_sizebranch_idsis_receiptstart_datecurrent_itempartner_name

kiotviet_list_users

List users

List the shop's staff users (id, username, name, phone, email). GET /users.

Parameterspage_sizecurrent_item

kiotviet_list_price_books

List price books

List price books (bang gia: name, active flag, validity dates, branches, customer groups). GET /pricebooks.

Parameterspage_sizecurrent_iteminclude_branchesinclude_customer_groups

kiotviet_get_price_book

Get price book prices

The product prices of one price book (product id, code, price), paged. GET /pricebooks/{id}.

Parameterspage_sizecurrent_itemprice_book_idrequired

Version history

12
  1. v1.12.4LatestNov 7, 2026
  2. v1.11.3Nov 5, 2026
  3. v1.11.2Nov 5, 2026
  4. v1.11.1Nov 4, 2026
  5. v1.11.0Nov 3, 2026
  6. v1.10.1Nov 3, 2026
  7. v1.9.0Nov 1, 2026
  8. v1.7.0Oct 31, 2026
  9. v1.6.0Oct 31, 2026
  10. v1.5.2Oct 30, 2026
  11. v1.5.0Oct 30, 2026
  12. v1.0.0Oct 26, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Usefulapi integrations