health_checknoneChecks whether the MCP server is reachable and Refrens credentials are configured.
Run Refrens health_check.
Add the hosted MCP endpoint, complete the Refrens OAuth screen, choose the scopes your AI workspace should use, and start using Refrens tools without manually handling bearer tokens.
https://refrens-mcp.vercel.app/api/mcp.Add Refrens MCP from Claude's connector settings.
Refrens MCP as the name.https://refrens-mcp.vercel.app/api/mcp as the remote MCP server URL.If Claude says a server with this URL already exists, remove the older custom connector or reconnect the existing Refrens MCP entry.
Add Refrens MCP from ChatGPT's connector or app settings.
Refrens MCP as the connector name.https://refrens-mcp.vercel.app/api/mcp as the MCP server URL.Once connected, test with: Run Refrens health_check and list my latest 5 invoices.
business:readRead safe business profile and context.
inventory:readRead inventory items, batches, stock status, and inventory shortcuts.
transactions:readRead stock transactions within supported date windows.
inventory:writeCreate inventory items.
transactions:writeAdjust or transfer stock.
invoices:readRead invoices, invoice payments, aging, and receivables helpers.
expenditures:readRead expenditures, vendor bills, payment status, and line items.
invoices:createCreate invoices using the safe v1 invoice subset.
quotations:createCreate quotations/estimates.
proformas:createCreate proforma invoices.
purchaseorders:createCreate purchase orders.
salesorders:createCreate sales orders.
deliverychallans:createCreate delivery challans.
expenditures:createCreate expenses and purchases.
invoice-payments:writeRecord invoice payments.
invoices:cancelCancel invoices.
invoices:irnGenerate IRN/e-invoice details for existing invoices.
This catalog is adapted from docs/mcp-tools.md. MCP clients should not ask users for businessId; the hosted bearer token selects the business.
Use these first to confirm the connector and identify the connected business.
health_checknoneChecks whether the MCP server is reachable and Refrens credentials are configured.
Run Refrens health_check.
get_business_basic_contextbusiness:readReturns safe business context for the connected Refrens business.
Which Refrens business is this MCP connected to?
Read inventory items, batches, tracking, stock state, and business-friendly shortcuts.
list_inventory_itemsinventory:readGeneric inventory list with filters for name, item type, tracking method, stock management, and stock status.
Show my first 10 inventory items.
get_inventory_item_by_skuinventory:readFetches one inventory item by SKU.
Get inventory item SKU-1001.
list_inventory_batchesinventory:readLists batches for an inventory item by SKU, with optional batch code or name filters.
List batches for SKU-1001.
get_inventory_tracking_method_breakdowninventory:readCounts inventory grouped by BATCH, SERIAL, NONE, and unspecified/other tracking methods.
Show inventory count by tracking method.
Read-only aliases over inventory list filters so clients do not guess enum values.
list_low_stock_itemsinventory:readLists inventory with low stock status.
list_critical_stock_itemsinventory:readLists inventory with critical stock status.
list_overstock_itemsinventory:readLists overstocked inventory.
list_well_stocked_itemsinventory:readLists well-stocked inventory.
list_productsinventory:readLists product inventory items.
list_servicesinventory:readLists service inventory items.
list_batch_tracked_itemsinventory:readLists batch-tracked items.
list_serial_tracked_itemsinventory:readLists serial-tracked items.
list_untracked_itemsinventory:readLists items with NONE tracking method.
list_stock_managed_itemsinventory:readLists stock-managed inventory.
Create items and inspect or mutate stock transactions. Mutation tools require explicit write scopes.
create_inventory_iteminventory:writeCreates a new inventory item. Warehouse-managed businesses should pass warehouse codes such as WH0001.
Create a stock-managed item called USB Cable with opening stock 10 in WH0001.
list_inventory_transactionstransactions:readLists transactions for one SKU. Dates are optional, default to the last 30 days, and may span at most 31 days.
Show stock transactions for SKU-1001 from 2026-05-01 to 2026-05-15.
list_stock_in_transactionstransactions:readShortcut for list_inventory_transactions filtered to BUY stock receipts.
list_stock_out_transactionstransactions:readShortcut for list_inventory_transactions filtered to SELL stock issues.
list_stock_affecting_transactionstransactions:readShortcut for list_inventory_transactions filtered to transactionType=UPDATE.
list_blocked_stock_transactionstransactions:readShortcut for list_inventory_transactions filtered to transactionType=BLOCK.
list_unmanaged_stock_transactionstransactions:readShortcut for list_inventory_transactions filtered to transactionType=IGNORE.
adjust_inventory_stocktransactions:writeRecords a manual BUY or SELL stock adjustment. MCP clients should treat this as destructive.
transfer_inventory_stocktransactions:writeTransfers stock between warehouses using warehouse codes. MCP clients should treat this as destructive.
Read invoices, find invoices, and answer common receivables questions.
list_invoicesinvoices:readLists invoices with pagination, status, e-invoice generated status, supply type, invoice number, client, invoice-date, due-date, sort filters, and optional share links.
Show my latest 10 Refrens invoices.
get_invoice_by_idinvoices:readFetches one invoice by the internal invoice ID returned by list or find tools.
find_invoice_by_numberinvoices:readFinds invoices by business-facing invoice number, including share link and PDF URL by default.
Find invoice INV-001.
list_overdue_invoicesinvoices:readLists overdue invoice documents; use get_invoice_aging_summary for aging buckets.
list_unpaid_invoicesinvoices:readShortcut for unpaid invoices.
list_partially_paid_invoicesinvoices:readShortcut for partial invoices.
list_paid_invoicesinvoices:readShortcut for paid invoices.
list_due_soon_invoicesinvoices:readLists outstanding invoices due in the next N days.
list_recent_invoicesinvoices:readLists recent invoices, newest first by invoice date or created date.
list_high_value_unpaid_invoicesinvoices:readCombines unpaid and partial invoices, sorted by due amount.
list_invoices_by_einvoice_statusinvoices:readShortcut for e-invoice generated status filters such as ACTIVE, NOT_GENERATED, and ERROR.
list_invoices_by_supply_typeinvoices:readShortcut for GST supply type filters such as B2B, SEZWP, SEZWOP, EXPWP, EXPWOP, DEX, and B2C.
find_invoices_to_generate_irninvoices:readFinds compact India invoice candidates for IRN generation, defaulting invoice date to last month and filtering failed/not-generated e-invoice status plus supported supply types.
list_invoices_by_clientinvoices:readLists invoices for a client ID with optional filters.
list_overdue_invoices_by_clientinvoices:readLists overdue invoices for a client ID.
Summaries and payment helpers that turn invoice documents into compact business answers.
list_invoice_paymentsinvoices:readLists payments recorded against one invoice ID.
get_invoice_payment_statusinvoices:readReturns paid amount, due amount, outstanding flag, overdue flag, and last payment.
list_recent_invoice_paymentsinvoices:readFinds recent payments visible in the newest invoice window; older-invoice payments can be missed.
get_invoice_aging_summaryinvoices:readGroups overdue invoices into aging buckets.
get_receivables_summaryinvoices:readSummarizes unpaid, partial, and overdue receivables by currency.
get_daily_business_digestinvoices:read + inventory:readBuilds a schedule-friendly digest covering receivables, overdue invoices, invoices due soon, and low or critical stock alerts.
Run my Refrens daily business digest.
get_client_invoice_summaryinvoices:readSummarizes receivables and recent invoices for one client.
find_invoiceinvoices:readFlexible invoice search by number, client id or name, status, e-invoice generated status, supply type, and date range, including share link and PDF URL by default.
get_invoice_line_itemsinvoices:readReturns focused line-item details for one invoice.
create_invoiceinvoices:createCreates an invoice using the safe v1 invoice subset. Email sending is not exposed.
record_invoice_paymentinvoice-payments:writeRecords a payment against an invoice. MCP clients should treat this as destructive.
cancel_invoiceinvoices:cancelCancels an invoice by setting status to CANCELED. MCP clients should treat this as destructive.
generate_invoice_irninvoices:irnGenerates IRN/e-invoice details for an existing invoice using the business e-invoice configuration.
Create customer and vendor-facing documents using the same safe v1 document subset as invoices.
create_quotationquotations:createCreates a quotation/estimate. The quotation number is assigned from the business series.
create_proformaproformas:createCreates a proforma invoice and sets billType to PROFORMAINV.
create_purchaseorderpurchaseorders:createCreates a purchase order and sets billType to PURCHASEORDER.
create_deliverychallandeliverychallans:createCreates a delivery challan and sets billType to DELIVERYCHALLAN.
create_salesordersalesorders:createCreates a sales order with customer, item, shipping, term, and reminder details.
Read vendor bills, find expenditure PDFs, inspect payment or line-item details, and create expenses or purchases.
list_expendituresexpenditures:readLists expenditures with pagination, status, expense number, vendor-name, date, sort filters, optional share links, and derived purchase/petty-expense kind.
Show recent vendor bills.
get_expenditure_by_idexpenditures:readFetches one expenditure by the internal expenditure ID returned by list or find tools.
find_expenditure_by_numberexpenditures:readFinds expenditures by business-facing expense number, including share link and PDF URL by default.
Find expenditure EXP-001.
find_expenditureexpenditures:readFlexible expenditure search by number, vendor name, status, invoice date, and due date.
get_expenditure_payment_statusexpenditures:readReturns paid amount, due amount, outstanding flag, overdue flag, and last payment.
get_expenditure_line_itemsexpenditures:readReturns focused line-item details for one expenditure.
create_expenseexpenditures:createCreates a petty expense or vendor expense. Currency is required and not inferred.
create_purchaseexpenditures:createCreates a purchase/vendor expenditure with supplier, line item, due-date, term, and reminder details.
OAuth clients receive scoped access and refresh tokens from the hosted connector. If a user revokes the connector or changes requested scopes, reconnect from the AI client.
App-secret authentication uses the upstream Refrens bearer token created during authorization. Private-key authentication stores the encrypted private key and refreshes Refrens bearer tokens automatically when the bearer reaches 70% of its JWT lifetime, is expired, undecodable, or rejected by Refrens with a 401 during a tool call.
MCP_TOKEN_ENCRYPTION_KEY.docs/security-review.md in the repository. Production should still move storage and audit logs to internal Refrens infrastructure.