MCP server
Daftra MCP by usefulapi
Read clients, invoices, expenses and suppliers; create clients, invoices and expenses in…
- Runs
- Remotely
- Version
- 1.5.0
- Listing updated
- 4 days ago
About Daftra MCP by usefulapi
Daftra MCP by usefulapi is an MCP server. It runs as a hosted remote server, so there is nothing to install locally.
Read clients, invoices, expenses and suppliers; create clients, invoices and expenses in Daftra.
Install
Run in a terminal
claude mcp add --transport http daftra https://daftra.usefulapi.io/mcpAdd to Settings → Connectors → Add custom connector
https://daftra.usefulapi.io/mcpInstall in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"daftra": {
"url": "https://daftra.usefulapi.io/mcp"
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"daftra": {
"type": "http",
"url": "https://daftra.usefulapi.io/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"daftra": {
"serverUrl": "https://daftra.usefulapi.io/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"daftra": {
"type": "http",
"url": "https://daftra.usefulapi.io/mcp"
}
}
}Tools this server provides (30)
Read directly from the server.
- daftra_get_site_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.
- daftra_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.
- daftra_get_client
- One client by id (contact details, balance settings, currency, address). GET /clients/{id}.
- daftra_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.
- daftra_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}.
- daftra_list_estimates
- List estimates (quotes), most recent first. Filter by client, status, dates or free text. GET /estimates.
- daftra_get_estimate
- One estimate (quote) by id with line items, taxes and client. GET /estimates/{id}.
- daftra_list_invoice_payments
- List payments recorded against invoices, most recent first. Opening-balance and client-credit payments are excluded. GET /invoice_payments.
- daftra_list_client_payments
- List payments received from clients, most recent first. Opening-balance and client-credit payments are excluded. GET /client_payments.
- daftra_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.
- daftra_get_product
- One product by id with images and categories. GET /products/{id}.
- daftra_list_product_categories
- List product categories with their parent category. GET /product_categories.
- daftra_list_stores
- List stores (warehouses) the key's user may view. Use the ids to filter stock transactions. GET /stores.
- daftra_list_stock_transactions
- List processed stock movements (in, out, transfers), most recent first. Filter by product, store or date range. GET /stock_transactions.
- daftra_list_treasuries
- List treasuries and bank accounts the key's user may view, with balances. Use the ids when recording expenses. GET /treasuries.
- daftra_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.
- daftra_get_expense
- One expense by id. GET /expenses/{id}.
- daftra_list_incomes
- List incomes (money in that is not an invoice payment), most recent first. Same filters as expenses. GET /incomes.
- daftra_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.
- daftra_list_purchase_invoices
- List purchase invoices (bills from suppliers), most recent first. Search by supplier or filter by payment status. GET /purchase_invoices.
- daftra_get_purchase_invoice
- One purchase invoice by id with line items, supplier, taxes and payments. GET /purchase_invoices/{id}.
- daftra_list_suppliers
- List suppliers. Filter by name, address, postal code, country or status. GET /suppliers.
- daftra_get_supplier
- One supplier by id. GET /suppliers/{id}.
- daftra_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.
- daftra_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.
- daftra_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}.
- daftra_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.
- daftra_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.
- daftra_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.
- daftra_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}.
Daftra MCP by usefulapi FAQ
How do I add Daftra MCP by usefulapi to Claude Code?
Run this command in your terminal: claude mcp add --transport http daftra https://daftra.usefulapi.io/mcp