Daftra MCP by usefulapi
io.usefulapi/daftra
Serveur MCP OK 30 outils
Read clients, invoices, expenses and suppliers; create clients, invoices and expenses in Daftra.
Fiche technique
- Auteur
- usefulapi.io (espace de noms du registre)
- Dépôt
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/daftra
- Version
- 1.6.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://daftra.usefulapi.io/mcp Streamable HTTP
- Outils
- 30
- Catégories
- —
- Dernière mise à jour
- 21 nov. 2026
- Publication
- 21 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.usefulapi/daftra)<a href="https://latlas.dev/mcp/io.usefulapi/daftra"><img src="https://latlas.dev/badge/fiche/io.usefulapi/daftra.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://daftra.usefulapi.io/mcp
- Dernier résultat
- OK 28 nov. 2026, 18:31
- Temps de réponse
- 290 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- daftra-mcp 1.6.0
- Outils
- 30
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 18:31 | OK | 290 ms | 30 |
Outils exposés (30, réponse à tools/list, 28 nov. 2026)
daftra_get_site_info
Get account info
The Daftra account this API key belongs to: id, business name, subdomain, country, timezone, date format, default currency and subscription expiry. Check the date format and currency here before creating records. GET /site_info.
Aucun paramètre.
daftra_list_clients
List clients
List clients (customers), 20 per page by default. Search by name, number, email or phone with `keywords`. Each item is wrapped in a `Client` object. GET /clients.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| keywords | string | non | Search by id, client number, business name, first/last name, email or phone. |
| assign_staff_id | integer | non | Only clients assigned to this staff member. |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_client
Get client
One client by id (contact details, balance settings, currency, address). GET /clients/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | oui | Daftra client id. |
daftra_list_invoices
List invoices
List sales invoices (and debit notes), most recent first. Filter by client, payment status, dates or free text. By default each item has the header and client; set recursive=1 for line items, payments and taxes. GET /invoices.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| keywords | string | non | Search client name, client number, email, invoice number and order number. |
| client_id | integer | non | Only invoices of this client. |
| payment_status | integer | non | 0 unpaid, 1 partially paid, 2 paid, 4 overpaid, -1 draft, -2 due, -3 overdue, 3 subscriptions. |
| date_from | string | non | Invoice date from, yyyy-mm-dd. |
| date_to | string | non | Invoice date to, yyyy-mm-dd. |
| due_date_from | string | non | Due date from, yyyy-mm-dd. |
| due_date_to | string | non | Due date to, yyyy-mm-dd. |
| summary_total_from | number | non | Minimum invoice total. |
| summary_total_to | number | non | Maximum invoice total. |
| currency_code | string | non | Only invoices in this currency, e.g. USD. |
| recursive | integer | non | -1 header only, 0 header + client (default), 1 also line items, payments, taxes. |
| sort | string | non | Field to sort by (default invoice date). |
| direction | enum: "ASC" | "DESC" | non | Sort direction (default DESC). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_invoice
Get invoice
One standard invoice by id with line items, payments, taxes, custom fields and client. Other document types (estimate, credit note) answer 404. GET /invoices/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| invoice_id | integer | oui | Daftra invoice id. |
daftra_list_estimates
List estimates
List estimates (quotes), most recent first. Filter by client, status, dates or free text. GET /estimates.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | Search client name, number, email and estimate number. |
| client_id | integer | non | Only estimates of this client. |
| payment_status | integer | non | Estimate status id; -1 returns only drafts. |
| date_from | string | non | Estimate date from, yyyy-mm-dd. |
| date_to | string | non | Estimate date to, yyyy-mm-dd. |
| currency_code | string | non | Only estimates in this currency. |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_estimate
Get estimate
One estimate (quote) by id with line items, taxes and client. GET /estimates/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| estimate_id | integer | oui | Daftra estimate id. |
daftra_list_invoice_payments
List invoice payments
List payments recorded against invoices, most recent first. Opening-balance and client-credit payments are excluded. GET /invoice_payments.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | non | Only payments of this client. |
| no | string | non | Only payments of the invoice with this number. |
| payment_method | string | non | Payment method, e.g. cash, bank, cheque, client_credit. |
| date_from | string | non | Payment date from (account date format). |
| date_to | string | non | Payment date to (account date format). |
| amount_from | number | non | Minimum amount. |
| amount_to | number | non | Maximum amount. |
| status | integer | non | 0 not completed, 1 completed (see Daftra for other values). |
| sort | string | non | Field to sort by, e.g. date, amount, id (default id). |
| direction | enum: "asc" | "desc" | non | Sort direction (default desc). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_client_payments
List client payments
List payments received from clients, most recent first. Opening-balance and client-credit payments are excluded. GET /client_payments.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | non | Only payments of this client. |
| no | string | non | Only payments of the invoice with this number. |
| payment_method | string | non | Payment method, e.g. cash, bank, cheque, client_credit. |
| date_from | string | non | Payment date from (account date format). |
| date_to | string | non | Payment date to (account date format). |
| amount_from | number | non | Minimum amount. |
| amount_to | number | non | Maximum amount. |
| status | integer | non | 0 not completed, 1 completed (see Daftra for other values). |
| sort | string | non | Field to sort by, e.g. date, amount, id (default id). |
| direction | enum: "asc" | "desc" | non | Sort direction (default desc). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_products
List products
List products and services (name, code, price, stock) ordered by name. Search by name, code, barcode or tag with `keywords`. Each item is a `Product` object. GET /products.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| keywords | string | non | Search product name, code, barcode and tags. |
| category | integer | non | Only products in this category id. |
| supplier_id | integer | non | Only products of this supplier. |
| product_code | string | non | Exact product code. |
| status | integer | non | 1 available, 2 low stock, 3 out of stock, 4 inactive, 5 suspended. |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_product
Get product
One product by id with images and categories. GET /products/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| product_id | integer | oui | Daftra product id. |
daftra_list_product_categories
List product categories
List product categories with their parent category. GET /product_categories.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parent_id | integer | non | Only subcategories of this category id. |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_stores
List stores (warehouses)
List stores (warehouses) the key's user may view. Use the ids to filter stock transactions. GET /stores.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_stock_transactions
List stock transactions
List processed stock movements (in, out, transfers), most recent first. Filter by product, store or date range. GET /stock_transactions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| product_id | integer | non | Only movements of this product. |
| store_id | integer | non | Only movements in this store (warehouse). |
| date_from | string | non | Received date from (account date format). |
| date_to | string | non | Received date to (account date format). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_treasuries
List treasuries and bank accounts
List treasuries and bank accounts the key's user may view, with balances. Use the ids when recording expenses. GET /treasuries.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_expenses
List expenses
List expenses (money out), most recent first, with amount, vendor, category and treasury. Filter by dates, amount, category, vendor or status. GET /expenses.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| date_from | string | non | Date from (account date format). |
| date_to | string | non | Date to (account date format). |
| amount_from | number | non | Minimum amount. |
| amount_to | number | non | Maximum amount. |
| note | string | non | Words in the description (all must match). |
| expense_category_id | integer | non | Only this category id. |
| vendor | string | non | Exact vendor name. |
| status | enum: "issued" | "draft" | non | issued (posted) or draft. |
| sort | string | non | Field to sort by, e.g. date, amount, id. |
| direction | enum: "asc" | "desc" | non | Sort direction (default desc). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_expense
Get expense
One expense by id. GET /expenses/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| expense_id | integer | oui | Daftra expense id. |
daftra_list_incomes
List incomes
List incomes (money in that is not an invoice payment), most recent first. Same filters as expenses. GET /incomes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| date_from | string | non | Date from (account date format). |
| date_to | string | non | Date to (account date format). |
| amount_from | number | non | Minimum amount. |
| amount_to | number | non | Maximum amount. |
| note | string | non | Words in the description (all must match). |
| expense_category_id | integer | non | Only this category id. |
| vendor | string | non | Exact vendor name. |
| status | enum: "issued" | "draft" | non | issued (posted) or draft. |
| sort | string | non | Field to sort by, e.g. date, amount, id. |
| direction | enum: "asc" | "desc" | non | Sort direction (default desc). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_list_taxes
List taxes
List the taxes configured for the account (name, rate, active). Use the ids as tax1/tax2 on invoice lines. All taxes come in one reply. GET /taxes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| is_active | boolean | non | true only active taxes, false only inactive; omit for all. |
daftra_list_purchase_invoices
List purchase invoices
List purchase invoices (bills from suppliers), most recent first. Search by supplier or filter by payment status. GET /purchase_invoices.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| keywords | string | non | Search supplier name, email and number. |
| payment_status | integer | non | -1 drafts only, 0 unpaid, 1 partially paid, 2 paid, 4 overpaid; omit for all non-drafts. |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_purchase_invoice
Get purchase invoice
One purchase invoice by id with line items, supplier, taxes and payments. GET /purchase_invoices/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| purchase_invoice_id | integer | oui | Daftra purchase invoice id. |
daftra_list_suppliers
List suppliers
List suppliers. Filter by name, address, postal code, country or status. GET /suppliers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | Keyword in first name, last name, business name or email. |
| address | string | non | Keyword in the address fields. |
| postal_code | string | non | Postal code. |
| country_code | string | non | ISO alpha-2 country code. |
| status | integer | non | 0 active, 1 suspended. |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_get_supplier
Get supplier
One supplier by id. GET /suppliers/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| supplier_id | integer | oui | Daftra supplier id. |
daftra_list_notes
List notes
List notes recorded against clients, invoices, estimates, purchase invoices, staff, suppliers, products and work orders: text, the record it belongs to (item_type + item_id), author, follow-up status. GET /notes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| from | string | non | Only notes dated on or after this date (yyyy-mm-dd or date-time). |
| to | string | non | Only notes dated on or before this date (yyyy-mm-dd or date-time). |
| page | integer | non | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | non | Results per page, 1-100 (default 20). |
daftra_create_client
Create client
WRITE: create a client (customer). Only business_name is required. Without an email the client is created as offline (no email sending). Returns the new client's id and client_number. POST /clients.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| business_name | string | oui | The client's business or full name (required). |
| type | number | number | non | 2 individual, 3 business. |
| first_name | string | non | First name. |
| last_name | string | non | Last name. |
| string | non | Email address. | |
| phone1 | string | non | Primary phone number. |
| phone2 | string | non | Secondary / mobile phone number. |
| address1 | string | non | Address line 1. |
| address2 | string | non | Address line 2. |
| city | string | non | City. |
| state | string | non | State / province. |
| postal_code | string | non | Postal code. |
| country_code | string | non | ISO 3166-1 alpha-2 country code, e.g. EG. |
| default_currency_code | string | non | Default currency, ISO 4217, e.g. USD. |
| notes | string | non | Free-text notes. |
| client_number | string | non | Own client code; generated when omitted. |
daftra_update_client
Update client
WRITE: change fields of an existing client. Partial update: only the fields you pass change; business_name cannot be emptied. PUT /clients/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | oui | Daftra client id. |
| business_name | string | non | New business or full name. |
| type | number | number | non | 2 individual, 3 business. |
| first_name | string | non | First name. |
| last_name | string | non | Last name. |
| string | non | Email address. | |
| phone1 | string | non | Primary phone number. |
| phone2 | string | non | Secondary / mobile phone number. |
| address1 | string | non | Address line 1. |
| address2 | string | non | Address line 2. |
| city | string | non | City. |
| state | string | non | State / province. |
| postal_code | string | non | Postal code. |
| country_code | string | non | ISO 3166-1 alpha-2 country code, e.g. EG. |
| default_currency_code | string | non | Default currency, ISO 4217, e.g. USD. |
| notes | string | non | Free-text notes. |
daftra_create_supplier
Create supplier
WRITE: create a supplier. business_name is required; email is required unless is_offline is true. Returns the new supplier's id. POST /suppliers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| business_name | string | oui | The supplier's business name (required). |
| is_offline | boolean | non | true for a supplier without an email address. |
| first_name | string | non | First name. |
| last_name | string | non | Last name. |
| string | non | Email address. | |
| phone1 | string | non | Primary phone number. |
| phone2 | string | non | Secondary / mobile phone number. |
| address1 | string | non | Address line 1. |
| address2 | string | non | Address line 2. |
| city | string | non | City. |
| state | string | non | State / province. |
| postal_code | string | non | Postal code. |
| country_code | string | non | ISO 3166-1 alpha-2 country code, e.g. EG. |
| default_currency_code | string | non | Default currency, ISO 4217, e.g. USD. |
| notes | string | non | Free-text notes. |
daftra_create_expense
Create expense
WRITE: record an expense (money out of a treasury). amount and date are required; the treasury defaults to the primary one and the currency to the account currency. Pass unique_id so a retry cannot create it twice. Returns the new expense id and number. POST /expenses.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| amount | number | oui | Gross amount, positive. |
| date | string | oui | Expense date (account date format, usually yyyy-mm-dd); it must fall in an open financial period. |
| currency_code | string | non | ISO 4217 code; defaults to the account currency. |
| vendor | string | non | Vendor name. |
| category | string | non | Category name; created if it does not exist. |
| expense_category_id | integer | non | Existing category id (instead of category). |
| note | string | non | Description. |
| supplier_id | integer | non | Linked supplier id. |
| client_id | integer | non | Linked client id. |
| treasury_id | integer | non | Treasury to withdraw from (see daftra_list_treasuries). |
| expense_number | string | non | Own reference number; generated when omitted. |
| unique_id | string | non | Idempotency key: reusing it returns the original expense instead of creating another. |
daftra_create_invoice
Create invoice
WRITE: create a sales invoice for a client with line items. It is saved as a DRAFT unless you pass draft=false; a final invoice posts to the books and stock. Returns the new invoice id. POST /invoices.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | integer | oui | Client id (daftra_list_clients). |
| items | array<object> | oui | Invoice lines. |
| date | string | non | Invoice date, yyyy-mm-dd; must fall in an open financial period (default today). |
| draft | boolean | non | true (default) saves a draft; false creates the final invoice. |
| currency_code | string | non | ISO 4217 code; defaults to the account currency. |
| no | string | non | Invoice number; generated when omitted. |
| po_number | string | non | Purchase order number. |
| notes | string | non | Notes shown to the client. |
| discount | number | non | Percentage discount on the whole invoice. |
daftra_add_note
Add note
WRITE: add a note to a client, invoice, estimate, purchase invoice, supplier, product, staff member or work order. The note is private unless share_with_partner is true. POST /notes/{type}/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| type | enum: "client" | "invoice" | "estimate" | "purchase_order" | "staff" | "supplier" | "product" | "work_order" | oui | Kind of record (purchase_order = purchase invoice). |
| id | integer | oui | Id of that record. |
| body | string | oui | Note text. |
| date | string | non | Note date, yyyy-mm-dd (default today, UTC). |
| share_with_partner | boolean | non | true shares the note with the client or supplier (default private). |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://daftra.usefulapi.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http daftra https://daftra.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : daftra ; URL : https://daftra.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : daftra ; Server URL : https://daftra.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"daftra": {
"url": "https://daftra.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"daftra": {
"type": "http",
"url": "https://daftra.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"daftra": {
"url": "https://daftra.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"daftra": {
"httpUrl": "https://daftra.usefulapi.io/mcp"
}
}
}[mcp_servers.daftra]
url = "https://daftra.usefulapi.io/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Daftra MCP by usefulapi · L’Atlas · Test du
[Daftra MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/daftra)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.