Daftra MCP by usefulapi

io.usefulapi由 usefulapi.io 发布官方发布者v1.1.4更新于 Nov 7, 2026

Read clients, invoices, expenses and suppliers; create clients, invoices and expenses in Daftra.

发布方自己的服务:Ably MCP by usefulapi

已验证Streamable HTTP可网页运行效率与工作流金融商业与电商

概览

AI 生成的概览

面向 Daftra 商业账户的托管 MCP 服务器:读取客户、发票、费用、库存与供应商,并可创建客户、发票、费用和备注。

可以做什么
  • 读取账户信息、客户、供应商与备注
  • 列出并查看销售发票、报价单、采购发票、发票收款与客户收款
  • 浏览产品、分类、仓库、库存流水与税项
  • 查看费用、收入以及资金账户和银行账户余额
  • 创建或更新客户与供应商、登记费用、创建草稿或正式发票、添加备注
适用场景
适合在 Daftra 记账、希望助手直接回答应收、逾期发票、分类支出或库存问题,或在不打开 Daftra 界面的情况下录入常规客户、费用和发票的场景。
运行要求
远程 streamable HTTP 端点,无需本地安装。客户端只填服务器地址,通过 OAuth 登录,首次连接时提供 Daftra 子域名和 Daftra API 密钥(设置中的 API 密钥)。免费方案每月 50 次工具调用,付费方案通过结账链接购买。
安装前请注意
写入类工具会创建或修改 Daftra 数据:客户、供应商、费用、发票(正式发票会入账并影响库存)和备注,执行前应先确认。Daftra API 密钥在第三方运营方的托管登录页输入并按用户保存。付费方案会产生费用,取消后当期不退款。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Daftra MCP by usefulapi,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.usefulapi%2Fdaftra/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

README

Daftra MCP by usefulapi

Use your Daftra account from Claude, Cursor, or any MCP client. Read clients, invoices, estimates, payments, products, stock, expenses and suppliers, and record clients, suppliers, expenses, invoices and notes. Hosted, no local install: connect with your own credentials.

Live endpoint: https://daftra.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://daftra.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http daftra https://daftra.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": {    "daftra": {      "url": "https://daftra.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 Daftra credentials.

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

On first connect you provide your Daftra subdomain (the first part of your address, such as acme for acme.daftra.com) and a Daftra API key (Settings → API → API Keys). The server validates it and stores it per user. No keys go in config files.

Tools

ToolTypeWhat it does
daftra_get_site_inforeadGet account info
daftra_list_clientsreadList clients
daftra_get_clientreadGet client
daftra_list_invoicesreadList invoices
daftra_get_invoicereadGet invoice
daftra_list_estimatesreadList estimates
daftra_get_estimatereadGet estimate
daftra_list_invoice_paymentsreadList invoice payments
daftra_list_client_paymentsreadList client payments
daftra_list_productsreadList products
daftra_get_productreadGet product
daftra_list_product_categoriesreadList product categories
daftra_list_storesreadList stores (warehouses)
daftra_list_stock_transactionsreadList stock transactions
daftra_list_treasuriesreadList treasuries and bank accounts
daftra_list_expensesreadList expenses
daftra_get_expensereadGet expense
daftra_list_incomesreadList incomes
daftra_list_taxesreadList taxes
daftra_list_purchase_invoicesreadList purchase invoices
daftra_get_purchase_invoicereadGet purchase invoice
daftra_list_suppliersreadList suppliers
daftra_get_supplierreadGet supplier
daftra_list_notesreadList notes
daftra_create_clientwriteCreate client
daftra_update_clientwriteUpdate client
daftra_create_supplierwriteCreate supplier
daftra_create_expensewriteCreate expense
daftra_create_invoicewriteCreate invoice
daftra_add_notewriteAdd note
daftra_usage_statusmetaUsage status (free-tier meter)
daftra_request_featuremetaRequest a missing feature
daftra_upgrademetaUpgrade to Pro or Pro+
daftra_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 user)$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 daftra_upgrade (it returns a Stripe Checkout link). Cancel any time with daftra_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running daftra_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

来源:servers/daftra/README.md,提交 92e9424

工具

30

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.

无需输入参数。

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.

输入参数pagelimitkeywordsassign_staff_id

daftra_get_client

Get client

One client by id (contact details, balance settings, currency, address). GET /clients/{id}.

输入参数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.

输入参数pagesortlimitdate_tokeywordsclient_iddate_fromdirectionrecursivedue_date_tocurrency_codedue_date_from另有 3 个

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

输入参数invoice_id必填

daftra_list_estimates

List estimates

List estimates (quotes), most recent first. Filter by client, status, dates or free text. GET /estimates.

输入参数namepagelimitdate_toclient_iddate_fromcurrency_codepayment_status

daftra_get_estimate

Get estimate

One estimate (quote) by id with line items, taxes and client. GET /estimates/{id}.

输入参数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.

输入参数nopagesortlimitstatusdate_toamount_toclient_iddate_fromdirectionamount_frompayment_method

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.

输入参数nopagesortlimitstatusdate_toamount_toclient_iddate_fromdirectionamount_frompayment_method

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.

输入参数pagelimitstatuscategorykeywordssupplier_idproduct_code

daftra_get_product

Get product

One product by id with images and categories. GET /products/{id}.

输入参数product_id必填

daftra_list_product_categories

List product categories

List product categories with their parent category. GET /product_categories.

输入参数pagelimitparent_id

daftra_list_stores

List stores (warehouses)

List stores (warehouses) the key's user may view. Use the ids to filter stock transactions. GET /stores.

输入参数pagelimit

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.

输入参数pagelimitdate_tostore_iddate_fromproduct_id

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.

输入参数pagelimit

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.

输入参数notepagesortlimitstatusvendordate_toamount_todate_fromdirectionamount_fromexpense_category_id

daftra_get_expense

Get expense

One expense by id. GET /expenses/{id}.

输入参数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.

输入参数notepagesortlimitstatusvendordate_toamount_todate_fromdirectionamount_fromexpense_category_id

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.

输入参数is_active

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.

输入参数pagelimitkeywordspayment_status

daftra_get_purchase_invoice

Get purchase invoice

One purchase invoice by id with line items, supplier, taxes and payments. GET /purchase_invoices/{id}.

输入参数purchase_invoice_id必填

daftra_list_suppliers

List suppliers

List suppliers. Filter by name, address, postal code, country or status. GET /suppliers.

输入参数namepagelimitstatusaddresspostal_codecountry_code

daftra_get_supplier

Get supplier

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

输入参数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.

输入参数tofrompagelimit

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.

输入参数citytypeemailnotesstatephone1phone2address1address2last_namefirst_namepostal_code另有 4 个

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

输入参数citytypeemailnotesstatephone1phone2address1address2client_id必填last_namefirst_name另有 4 个

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.

输入参数cityemailnotesstatephone1phone2address1address2last_namefirst_nameis_offlinepostal_code另有 3 个

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.

输入参数date必填noteamount必填vendorcategoryclient_idunique_idsupplier_idtreasury_idcurrency_codeexpense_numberexpense_category_id

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.

输入参数nodatedraftitems必填notesdiscountclient_id必填po_numbercurrency_code

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

输入参数id必填body必填datetype必填share_with_partner

版本历史

3
  1. v1.1.4最新Nov 7, 2026
  2. v1.0.2Nov 5, 2026
  3. v1.0.1Nov 5, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Usefulapi 集成