Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the Daftra in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Work with Daftra, the cloud accounting and ERP of the Middle East, from your AI: look up invoices, clients, products, stock and the ledger, and create invoices, payments, expenses, purchases and journal entries with confirmation.
Try asking
Example prompts for Daftra
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Daftra, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Daftra + ChatGPT
Work with Daftra, the cloud accounting and ERP of the Middle East, from your AI: look up invoices, clients, products, stock and the ledger, and create invoices, payments, expenses, purchases and journal entries with confirmation.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
DAFTRA_SUBDOMAIN, DAFTRA_API_KEY
Step 1 — Get credentials
- Sign in to Daftra as an administrator.
- Open Settings > API > API Keys and click Generate API key. Give it a name such as AnythingMCP.
- Paste the key into
DAFTRA_API_KEYand the first part of your Daftra address intoDAFTRA_SUBDOMAIN: foracme.daftra.com, enteracme. Then install the connector. - Start with
daftra_list_stores: it lists your warehouses and shows that the key works.
The key is sent only to your own Daftra account and acts with that account's permissions.
What it covers: sales invoices, credit notes and refund receipts, payments against invoices, clients and suppliers, products, product categories and stock movements, purchase invoices, expenses, treasuries (cash boxes, bank accounts and wallets) and the general ledger with journal entries and the chart of accounts.
Confirm first: invoices, payments, expenses, journal entries, purchases, refunds and stock movements post to your ledger and your stock. Before any write, the AI describes the change and waits for your yes. A new invoice can be kept as a draft, and recording a payment only notes money you have already received: it does not charge anyone. The three delete tools (daftra_delete_invoice, daftra_delete_invoice_payment and daftra_delete_expense) are switched off at install.
Ids, dates and amounts: every tool works with Daftra's internal id, not the printed number (an invoice no such as 000123); the AI finds the id with the list tools. Warehouses, treasuries and posting accounts come from daftra_list_stores, daftra_list_treasuries and daftra_list_journal_accounts. Dates are YYYY-MM-DD, amounts are in the document currency, and a manual journal entry must balance: total debit equals total credit. When the AI changes the lines of a purchase invoice, it sends all of them, because lines left out may be removed.
Common errors: 401 or 403 means the API key is wrong, deleted or lacks permission: generate a new one under Settings > API > API Keys. 404 on every call means the subdomain is wrong: it is the part before .daftra.com in the address you sign in at. 400 or 422: a required field is missing or an id does not exist, and the message names it.
Cloud and self-hosted: both call your account's own daftra.com subdomain over the internet; nothing else differs.
The connector does not cover estimates, incomes and taxes (Daftra's API key cannot reach them), work orders, appointments, staff, time tracking, notes or attachments.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in ChatGPT
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.
- Go to chatgpt.com/plugins, click +, then Add custom MCP server.
- Enter a name, e.g. Name:
Daftra. - Under Connection, enter the Server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDand keep Authentication on OAuth. - Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
- Install the new plugin from your personal plugins, then type @ in a chat and pick it.
Available tools
| Tool | What it does |
|---|---|
daftra_list_invoices | List sales invoices, newest first, each with its client, totals and payment status |
daftra_get_invoice | Get one sales invoice by its internal id with client, line items (InvoiceItem), taxes, payments and totals |
daftra_list_credit_notes | List credit notes issued to clients, newest first, with client and totals |
daftra_list_refund_receipts | List sales refund receipts (returned goods against an invoice), newest first, with client and totals |
daftra_list_invoice_payments | List payments recorded against sales invoices, newest first: invoice id, amount, method, date, treasury and status |
daftra_list_clients | List clients (customers) with their id, business or personal name, contact details and balance |
daftra_get_client | Get one client by its internal id with contact details, addresses and account settings |
daftra_list_suppliers | List suppliers (vendors) with their id, name and contact details |
daftra_get_supplier | Get one supplier by its internal id with contact details and account settings |
daftra_list_products | List products and services with id, name, code, selling and buying prices and stock settings |
daftra_get_product | Get one product by its internal id: prices, taxes, type, stock per warehouse and, for a bundle, its components (ProductBundle) |
daftra_list_product_categories | List the product categories with their ids and names |
daftra_list_stores | List warehouses (stores in Daftra) with their ids and names |
daftra_list_stock_transactions | List stock movements (goods in and out per product and warehouse) with quantity, price, date and source |
daftra_list_purchase_invoices | List purchase invoices from suppliers, newest first, with supplier, totals and payment status |
daftra_get_purchase_invoice | Get one purchase invoice by its internal id with supplier, every line (PurchaseOrderItem) with units and prices, taxes and totals |
daftra_list_expenses | List expenses with amount, date, category, vendor, treasury and accounts |
daftra_list_treasuries | List treasuries: cash boxes, bank accounts and wallets, with id, name, type and currency |
daftra_list_journals | List journal entries of the general ledger, newest first, with date, description, totals and source document |
daftra_get_journal | Get one journal entry by its internal id with all its debit and credit lines (JournalTransaction) and their accounts |
daftra_list_journal_accounts | List the posting accounts of the chart of accounts with id, code, name, parent category (journal_cat_id) and type |
daftra_list_journal_categories | List the parent (summary) accounts of the chart of accounts with id, code, name and their own parent (journal_cat_id, -1 at the top level) |
daftra_create_invoice | Create a sales invoice for a client |
daftra_create_invoice_payment | Record a payment received against a sales invoice: amount, date, method and the treasury it went into |
daftra_create_client | Create a client (customer) with name and contact details |
daftra_update_client | Change fields of an existing client; only the fields you pass are changed |
daftra_create_supplier | Create a supplier (vendor) with name and contact details |
daftra_create_product | Create a product, service or bundle |
daftra_update_product | Change fields of an existing product; only the fields in Product are changed (for example name, product_code, prices, status) |
daftra_create_purchase_invoice | Create a purchase invoice from a supplier: header in PurchaseOrder (supplier_id required) and the lines in PurchaseOrderItem |
daftra_update_purchase_invoice | Update a purchase invoice |
daftra_create_expense | Record an expense: amount, date, vendor, category and the treasury it was paid from |
daftra_update_expense | Change fields of an existing expense, for example the treasury it was paid from, the amount or the note; only the fields you pass are… |
daftra_create_journal | Post a manual journal entry: a header in Journal and two or more lines in JournalTransaction |
daftra_create_journal_account | Add a posting account to the chart of accounts under an existing parent category |
daftra_create_stock_transaction | Record a manual stock movement (goods in or out) for one product in one warehouse, for example to correct a balance |
daftra_create_refund_receipt | Create a sales refund receipt (a return) against an existing invoice: header in RefundReceipt with the original invoice id in… |
daftra_delete_invoice | Delete a sales invoice by its internal id, with its effect on stock and the ledger |
daftra_delete_invoice_payment | Delete a payment recorded against an invoice, by the payment id (not the invoice id) |
daftra_delete_expense | Delete an expense by its internal id, with its ledger entry |
Example prompts
- "Which sales invoices from last month are still unpaid? Group them by client with the open amount."
- "Create a draft invoice for client Al Noor Trading: 10 office chairs at 450 SAR each, from the main warehouse."
- "Record a payment of 4,500 SAR against invoice 000123, received today into the main bank account."
- "Post a journal entry that moves 2,000 from the main cash box to petty cash, dated today, and show me the lines before you save it."
FAQ
Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.
Next steps
Was this guide helpful?