Recaudo Docs

MCP & agents

MCP server

Integrate Recaudo with artificial intelligence assistants

Recaudo includes a MCP (Model Context Protocol) server that lets artificial intelligence assistants such as Claude Desktop, Cursor, Windsurf, Claude Code and other MCP clients work directly with your account: manage customers, create invoices, charge, send WhatsApp, CRM, automations and more.

Remote connection with your account (recommended)

Add this address as an MCP server or custom connector. The app sends you to Recaudo to sign in and choose which permissions to grant: read, or read and write. There are no keys to copy, and you can remove access anytime in Settings → API.

https://recaudo.app/mcp
  • Claude (web, desktop and mobile): Settings → Connectors → Add custom connector, and paste the address.
  • ChatGPT: in Settings → Apps & Connectors, turn on developer mode and create a connector with the address.
  • Claude Code, Cursor and other clients that accept a URL:
claude mcp add --transport http recaudo https://recaudo.app/mcp

Note

The app only sees the tools your role allows and acts on your behalf.

Agents on a server, with an API key

If the agent runs on a server and nobody will sign in, use the same address and send your Secret Key (sk_live_ or sk_test_) in the Authorization header. With the key the agent can do what the API allows, within the limits you set in Agents and payments.

claude mcp add --transport http recaudo https://recaudo.app/mcp --header "Authorization: Bearer sk_live_tu_secret_key"
Keep the Secret Key on the server only, never in browser or app code. Create it in API keys.

Note

The npm package @recaudo/mcp-server no longer gets new tools. If you use it, switch to this address with the same API key.

Available tools

The server has 220 tools, the same ones as the Recaudo assistant: customers, charges, payment links, invoices, orders, WhatsApp conversations, collections, calendar, reports and more. Each person sees the ones their role allows.

Tools and permissions

Every tool has a level. Read tools change nothing. Write tools create or edit business records. Sensitive write tools delete or cancel, move money, stamp invoices or message the customer; the Recaudo assistant asks for confirmation before using them, and in MCP they carry destructiveHint.

Permissions and limits

  • mcp:read scope: read tools only.
  • mcp:write scope: read, write and sensitive write.
  • On top of that, each person only sees the tools their role allows (admin, manager, operator or viewer).
  • Up to 240 requests per minute. Above that the server answers 429 with Retry-After.
  • The business can revoke access at any time in Settings → API.
Customers 11 tools
Tool Level
search_customers

Searches customers by name, email, or phone.

Read
list_customers

Lists ALL customers and leads, newest first, with pagination (page). Each customer includes source_id (see list_customer_sources), source_detail, and is_lead. For complete reports, page through until has_more=false.

Read
list_customer_sources

Lists the configured customer sources (WhatsApp, Instagram, Web, etc.) with their id, to resolve each customer's source_id.

Read
get_customer

Gets a customer's full details by ID.

Read
get_customer_activity

Everything that has happened with a customer, most recent first: payments, payment links, invoices, payment promises, conversations, calls, internal notes, orders, deals, and follow-ups. Includes 'memory': the summary and key facts the AI learned from their conversations. Use it before contacting or negotiating with a customer.

Read
create_customer

Creates a new customer. Name and email are required.

Write
update_customer

Updates fields of an existing customer. Send only the fields you want to change.

Write
delete_customer

Deletes a customer (soft delete). Cannot be deleted if they have active subscriptions.

Sensitive write
list_customer_payment_methods

Lists a customer's saved payment methods (tokenized cards).

Read
create_card_setup_link

Creates a link for the customer to save their card (without charging). Used for subscriptions and future charges with a saved card. In Chile with Transbank, the card is entered on the Oneclick page. Returns the URL to send to the customer; when the card is saved, the payment_method.attached webhook is sent.

Write
list_customer_subscriptions

Lists a customer's subscriptions. Optionally filter by status.

Read
Payment links 10 tools
Tool Level
get_agent_payment_action

Checks whether someone at the business has approved or rejected a money operation you requested (charge, refund, write-off, link for a large amount). When a money tool responds with status 'pending', save its id and check it here. Statuses: pending, approved ('result' contains what was created), rejected, failed, expired. Approval cannot be done through this tool.

Read
create_payment_request

Requests a payment from a customer in a single call. Recaudo returns everything that customer can use, ready to go, in 'options': card link (card.url), SPEI CLABE for this charge (spei.clabe, bank, and expiration), cash payment slip (cash.reference and cash.url), and whether they have active direct debit. An option set to null is not available for this business. You do not choose the payment gateway. Amount in DECIMAL units (100.00 = $100), not cents. If the amount exceeds the business's limits, it responds with status 'pending': check it with get_agent_payment_action. To find out whether they have paid, use wait_for_payment.

Write
get_payment_request

Status of a payment request and its active payment methods. status: pending, partially_paid, paid, expired, canceled.

Read
wait_for_payment

Waits up to 25 seconds for the customer to pay a payment request and returns its status (paid, partially_paid, pending...). Use it when the customer says they have paid or are paying. If it is still pending, you can call it again; SPEI transfers and cash payments can take minutes.

Read
list_payment_links

Lists payment links. Statuses: pending, active, completed, canceled, expired.

Read
create_payment_link

Creates a payment link. Amount in DECIMAL units (100.00 = $100 MXN), not cents. Returns the public URL to share. AFTER CREATING THE LINK, to send it to the customer: 1. If the customer has a conversation with an OPEN 24h window (they sent an inbound message in the last 24h) → use `send_message` with natural text that includes the URL. E.g.: 'Aquí tienes tu link de pago por $1,500: https://recaudo.app/pay/...'. 2. Only if the window is CLOSED → use `send_whatsapp_template` with an approved WhatsApp template (HSM) (the endpoint will tell you if the window is closed and return the available templates). DO NOT ALWAYS SEND AN HSM BY DEFAULT. DO NOT use `send_whatsapp_template_to_phone` if you already have the active conversation.

Write
get_payment_link

Gets a payment link's details, including its public URL.

Read
cancel_payment_link

Cancels an active or pending payment link. The link will stop working.

Sensitive write
send_payment_link_email

Emails the link's customer a payment reminder with the payment link. For reseller businesses it is sent from the reseller's domain and counts against the plan's monthly emails: 402 plan_required if the plan is not paid up, 429 email_quota_exceeded if they have all been used, 422 customer_without_email if the customer has no email.

Sensitive write
list_payment_link_payments

Lists the payments made through a payment link.

Read
Invoices 10 tools
Tool Level
list_invoices

Lists invoices or layaways with filters. Statuses: pending, paid, partial, void, overdue.

Read
create_invoice

Creates an invoice or a layaway for a customer. Item amounts are in DECIMAL units (100.00 = $100 MXN), not cents. Can include automatic or manual installments. Layaway (is_layaway=true): the customer leaves a down payment and pays the rest in partial payments; to record the down payment, use manual installments with the first installment as the down payment (is_paid=true if already paid). A layaway is never stamped as a CFDI (Mexican e-invoice).

Write
get_invoice

Gets an invoice's details with its customer, items, and installments.

Read
update_invoice

Updates a pending invoice. Paid invoices cannot be updated.

Write
mark_invoice_paid

Manually marks an invoice as paid. Also marks all its installments as paid.

Sensitive write
void_invoice

Voids a pending invoice. Paid invoices cannot be voided. Cancels pending installments.

Sensitive write
list_installments

Lists an invoice's installments with late interest details. Filter by status.

Read
get_installment

Gets an installment's details with a full late interest breakdown.

Read
record_invoice_payment

Records a manual payment (cash, check, transfer, etc.) on an invoice. Amounts are in DECIMAL units (100.00 = $100 MXN), not cents.

Sensitive write
list_invoice_payments

Lists the manual payments recorded on an invoice.

Read
Products 10 tools
Tool Level
list_products

Lists catalog products. Filter by status, category, search, featured, or in stock.

Read
create_product

Creates a new product in the catalog. The price is in DECIMAL units (100.00 = $100), not cents.

Write
get_product

Gets a product's details with its category.

Read
update_product

Updates an existing product. Send only the fields you want to change.

Write
sync_products_by_sku

Bulk-updates (up to 5000) the price, compare-at price, stock, VAT rate, or status of store products by SKU. Only changes the fields you send; prices exclude VAT. Reports SKUs not found and invalid rows.

Write
delete_product

Deletes a product. Cannot be deleted if it has pending orders.

Sensitive write
list_modifier_groups

Lists product option groups (sizes, extras, ingredient removals) with their products.

Read
create_modifier_group

Creates an option group for products: extras, sizes, or 'no onion'. Prices are in DECIMAL units, tax included.

Write
update_modifier_group

Updates an option group. options replaces the entire list: send the id of the ones to keep.

Write
delete_modifier_group

Deletes an option group. Existing orders keep what was sold.

Sensitive write
Categories 5 tools
Tool Level
list_product_categories

Lists product categories. Filter by active status or by parent category.

Read
create_product_category

Creates a new product category.

Write
get_product_category

Gets a product category's details with its subcategories and product count.

Read
update_product_category

Updates a product category.

Write
delete_product_category

Deletes a product category. Its products are unlinked and its subcategories are moved to the parent.

Sensitive write
Orders 10 tools
Tool Level
list_orders

Lists orders. Statuses: pending, confirmed, processing, shipped, delivered, completed, canceled, refunded.

Read
create_order

Creates a new order. Prices are taken from the products. An invoice and payment link are generated automatically.

Write
get_order

Gets an order's details with its customer, items, products, and invoice.

Read
record_sale

Records a sale closed outside Recaudo (CRM, point of sale, ERP). Recaudo finds the customer by id, external_id, email or phone (creates it if missing), attributes it to the last ad that brought them in the 90 days before, and sends it to Meta as Purchase with its amount. Sending the same external_id again updates the sale instead of duplicating it; status=cancelled voids it.

Write
get_sale

Gets a sale recorded from another system by its external_id, with the customer and the ad and campaign it was attributed to.

Read
ship_order

Marks an order as shipped, with optional tracking details.

Write
deliver_order

Marks an order as delivered (delivered).

Write
complete_order

Marks an order as completed.

Write
cancel_order

Cancels a pending order. Stock is restored automatically.

Sensitive write
list_order_items

Lists an order's items with product details.

Read
Conversations 18 tools
Tool Level
list_conversations

Lists WhatsApp/omnichannel conversations. Filter by channel, status, customer or assigned agent.

Read
get_conversation

Gets a conversation's details, including its customer and assigned agent.

Read
list_conversation_messages

Lists the messages in a conversation. Can be filtered by type.

Read
send_message

Sends a text message to a conversation. For WhatsApp it only works if the 24h window is open (the customer sent an inbound message in the last 24h). If the window is closed, the endpoint responds with error.type='window_closed' and an 'available_templates' array with the approved WhatsApp templates (HSM). In that case, do NOT claim you already sent the message: show the user the available templates and ask which one to use when calling send_whatsapp_template.

Sensitive write
send_whatsapp_template

Sends a WhatsApp template (HSM). Templates have a fixed structure with variables {{1}}, {{2}}, etc. The customer receives a formatted message, NOT free text. CORRECT USE: Only when the 24h window is CLOSED (no inbound message from the customer in the last 24h). In that case `send_message` returned a window_closed error with the list of available templates; use one of those. DO NOT USE an HSM if the window is open; use `send_message` with free text instead, which is a much better UX. DO NOT USE an HSM to send payment links if the window is open (the amount and URL don't render correctly in many templates that depend on an associated invoice). Call list_whatsapp_templates first to get the template_id.

Sensitive write
send_whatsapp_template_to_phone

Sends a WhatsApp template (HSM) directly to a phone number. Creates the conversation automatically if it doesn't exist. ONLY for cold outreach or new customers with no previous conversation. DO NOT USE this tool if the customer ALREADY has a conversation with an open 24h window; in that case use `send_message` with free text (better UX, and it doesn't break the conversation with a rigid HSM format). DO NOT USE it to send the URL of a payment link you just created; just send the URL with `send_message` if the window is open.

Sensitive write
send_whatsapp_text_to_phone

Sends free text over WhatsApp to a phone number. Uses the business's WhatsApp Web line if it has one (no templates and no 24h window); otherwise its main line, where the Cloud API only allows free text within the 24h window. Returns 402 plan_required if the reseller's business plan is not paid up.

Sensitive write
list_whatsapp_templates

Lists WhatsApp templates (HSM) with the body text, their {{n}} variables, language, category, header, footer, buttons (has_dynamic_suffix = a link completed with button_url_value) and Meta status.

Read
list_whatsapp_lines

Lists the tenant's WhatsApp lines (numbers): id (the value phone_number_id accepts when sending), number, name, whether it is the default, and status (active, inactive, restricted).

Read
get_whatsapp_line_calling

Reads from Meta whether the line receives WhatsApp calls: enabled, call_icon_visible (call button in the chat), callback_permission (ask permission to call back), hours (schedule with timezone and days.{monday..sunday}: [{open, close}] in HH:MM), coexistence (if true the line cannot take calls) and Meta restrictions.

Read
update_whatsapp_line_calling

Turns a line's WhatsApp calls on or off and sets its schedule; saved in Meta. Meta requires the number to be able to message 2,000 or more unique customers per day; coexistence lines (phone app) cannot take calls. Send the full hours object: Meta replaces the schedule. Up to 2 ranges per day.

Sensitive write
get_whatsapp_line_conversation_starters

Reads from Meta a line's conversation starters (ice breakers), its '/' commands and whether the welcome notice is on, with Meta's limits (4 buttons of 80 characters, 30 commands).

Read
update_whatsapp_line_conversation_starters

Saves a line's conversation starters (ice breakers), commands and welcome notice in Meta. Replaces what was there: send the full list. No emojis. When the customer taps a button it arrives as a regular text message in the inbox, flow and agent.

Sensitive write
create_whatsapp_template

Creates a WhatsApp template (HSM) and submits it to Meta for approval. Variables {{1}}, {{2}}… must be sequential, never at the start or end of the body, with one example per variable. Buttons: all quick_reply, or url (max 2, {{1}} only at the end, with example) and phone_number (max 1). The status is shown in list_whatsapp_templates.

Write
send_interactive_message

Sends an interactive message with quick-reply buttons (max 3 buttons, 20 chars each). WhatsApp only, with an active 24h window.

Sensitive write
resolve_conversation

Marks a conversation as resolved.

Write
close_conversation

Closes a conversation permanently.

Write
assign_conversation

Assigns a conversation to a specific human agent or via round-robin.

Write
Charges 4 tools
Tool Level
list_gateway_accounts

Connected, active payment gateways (Stripe, Mercado Pago, Conekta, etc.): name, environment (test or production), which one is the default, and which methods and currencies it accepts. Use it to check whether the business can already take card payments before creating payment links.

Read
create_charge

Creates a direct charge using a customer's saved payment method. The amount is in DECIMAL units (100.00 = $100 MXN), not cents; minimum $1.

Sensitive write
get_charge

Gets a charge's details, including its customer and payment method.

Read
refund_charge

Refunds a successful charge, fully or partially. The amount is in DECIMAL units, not cents.

Sensitive write
Coupons 6 tools
Tool Level
list_coupons

Lists discount coupons. Filter by active status or search by code.

Read
create_coupon

Creates a discount coupon. The value is a percentage (10 = 10%) or a fixed amount in DECIMAL units (50.00 = $50), not cents.

Write
get_coupon

Gets a discount coupon's details.

Read
update_coupon

Updates a discount coupon. Only send the fields you want to change.

Write
delete_coupon

Deletes a discount coupon.

Sensitive write
validate_coupon

Validates a coupon and calculates the discount for a given subtotal.

Write
Flows 7 tools
Tool Level
list_flows

Lists published conversational flows (WhatsApp). Only shows flows that are ready to deploy.

Read
get_flow

Gets a conversational flow with its active version, stats and the variables it expects (variables: key, required, filled_by, used_in; templates: each template's {{1}} positions and the key that fills them). Use it before deploy_flow to know what to send in recipients[].variables.

Read
deploy_flow

Deploys a flow to one or more recipients via WhatsApp. Each recipient needs a phone number and, optionally, variables.

Sensitive write
get_flow_stats

A flow's totals: sent, delivered, read, failed and replied (WhatsApp statuses). Filter by batch, version or dates.

Read
list_flow_runs

Lists a flow's runs. Filter by status, batch or phone.

Read
get_flow_run

Gets the detailed status of a specific flow run.

Read
cancel_flow_run

Cancels an active flow run.

Sensitive write
Abandoned carts 2 tools
Tool Level
list_abandoned_carts

Lists abandoned shopping carts from the online store. Shows customers who added products but didn't complete the purchase.

Read
get_abandoned_cart

Gets an abandoned cart's details, including its products, subtotal and customer data.

Read
Follow-ups 4 tools
Tool Level
list_follow_ups

Lists scheduled follow-ups/reminders. Filter by status, type, user, customer or date range.

Read
create_follow_up

Schedules a follow-up/reminder for a customer or conversation.

Write
complete_follow_up

Marks a follow-up as completed, with optional notes.

Write
reschedule_follow_up

Reschedules a follow-up to a new date and time.

Write
Subscriptions 8 tools
Tool Level
list_subscriptions

Lists recurring subscriptions. Filter by customer, status or plan.

Read
create_subscription

Creates a subscription for a customer. Requires a plan and a customer. If there is no trial period, a payment method or direct_debit is required. With direct_debit ({"channel": "whatsapp"|"email"|"link"}) the customer receives the link to provide their CLABE (Mexican bank account number) and sign, and each period is charged to their bank account; the response includes direct_debit.enrollment_url.

Sensitive write
get_subscription

Gets a subscription's details, including its plan, customer and payment method.

Read
cancel_subscription

Cancels a subscription. Can be immediate or at the end of the current period.

Sensitive write
subscription_update_payment_link

Generates the link for the customer to change the card on their subscription (for example, after a failed charge). Returns url and expires_at.

Write
pause_subscription

Pauses an active subscription. Charges stop until it is resumed.

Write
resume_subscription

Resumes a paused subscription.

Write
list_subscription_invoices

Lists the invoices generated by a subscription.

Read
Subscription plans 3 tools
Tool Level
list_subscription_plans

Lists available subscription plans. Only active plans by default.

Read
create_subscription_plan

Creates a new subscription plan. The amount is in DECIMAL units (100.00 = $100 MXN), not cents.

Write
get_subscription_plan

Gets the details of a subscription plan.

Read
Tags 5 tools
Tool Level
list_customer_tags

Lists customer tags.

Read
add_customer_tag

Adds a tag to a customer. Use an existing tag_id or create one with tag_name.

Write
remove_customer_tag

Removes a tag from a customer.

Sensitive write
list_conversation_tags

Lists all tags available for conversations.

Read
add_conversation_tag

Adds a tag to a conversation.

Write
Deals 6 tools
Tool Level
list_deals

Lists deals/opportunities in the CRM pipeline. Filter by pipeline, stage, status, customer or assigned user.

Read
create_deal

Creates a new deal/opportunity in the CRM.

Write
get_deal

Gets the details of a deal by its UUID.

Read
update_deal

Updates fields of an existing deal. Send only the fields you want to change.

Write
move_deal_stage

Moves a deal to a different pipeline stage.

Write
list_pipelines

Lists CRM pipelines with their stages.

Read
Email 3 tools
Tool Level
send_email

Sends an email to a customer. Can use a template or send custom content.

Sensitive write
list_email_templates

Lists available email templates.

Read
list_email_logs

Lists email send history. Filter by status or customer.

Read
Collections 14 tools
Tool Level
list_overdue_invoices

Lists overdue invoices with customer information.

Read
list_payment_promises

Lists payment promises. Filter by status or customer.

Read
create_payment_promise

Creates a payment promise for a customer. The customer commits to paying on a specific date.

Write
cancel_payment_promise

Cancels an existing payment promise.

Sensitive write
list_collection_attempts

Lists collection attempts made. Filter by customer, channel or status.

Read
get_collection_summary

Gets collection statistics: overdue invoices, amounts, active promises, etc.

Read
get_collection_risk_segments

Classifies the overdue portfolio into delinquency segments (broken promises, recently forgot, habitual late payer, responds but doesn't pay, unreachable, developing delinquency, deep arrears, over one year, etc.) with a risk score of 0-100 (higher = harder to recover), debt, average days overdue and estimated recoverable amount (debt × (1 − risk)). Each segment comes with a preloaded playbook (goal, tone, steps by day and channel, offer, what to avoid, KPI and base message): use it as a starting point and adapt it with the real numbers; do not make up figures. With segment, it returns the customers in that segment with their risk reasons and invoice_ids so you can act (e.g. send_collection_reminders). Use for strategy, portfolio diagnosis or "what do I do about my overdue accounts?".

Read
list_direct_debits

Lists bank direct debits (automatic charge to the CLABE via Conekta) with their status: invited (link sent), pending_kyc (under verification), ready (active), rejected, error, revoked. Includes the bank and masked CLABE (never the full one). Read-only.

Read
list_direct_debit_charges

Lists direct debit charges (orders against the customer's CLABE): scheduled, processing, paid, failed (with reason) or canceled, with the attempt number. Read-only.

Read
start_direct_debit

Sends the customer the link to set up direct debit on their account (they enter their CLABE, upload their ID and sign the mandate). channel: whatsapp (message in their conversation), email or link (only returns the link). With invoice_id the mandate covers only that invoice or layaway; with subscription_id, only that subscription (each period is charged to their account). With neither, it covers everything they owe.

Sensitive write
list_cash_references

Lists cash payment slips (stores and BBVA): reference, amount, expiration, status (active, paid, expired, canceled) and the link to the slip. kind=recurrent for fixed references. Read-only.

Read
create_cash_reference

Generates the cash payment slip (reference + barcode) for an invoice or layaway and, if requested, sends it to the customer. scope: next (next installment, default) or all (full balance). send_via: whatsapp, email or none. If there is already a valid one for the same amount, it reuses it.

Sensitive write
resend_cash_reference

Resends a cash payment slip to the customer via WhatsApp or email. If it has expired, it generates and sends the valid one.

Sensitive write
create_customer_cash_reference

Creates (or returns) the customer's fixed cash reference: they always pay with the same one and each payment is applied to their next installment. With invoice_id the reference is only for that layaway. send_via: whatsapp, email or none.

Sensitive write
Automations 5 tools
Tool Level
list_automations

Lists configured automations. Filter by trigger event or active state.

Read
create_automation

Creates a new automation. Defines a trigger event, conditions and actions to run.

Write
get_automation

Gets the details of an automation by its UUID.

Read
toggle_automation

Enables or disables an automation (toggle).

Sensitive write
list_automation_runs

Lists the runs of an automation. Filter by status.

Read
Calendar 11 tools
Tool Level
list_bookings

Lists scheduled bookings. Filter by status or date range.

Read
create_booking

Creates a new booking for a customer.

Write
cancel_booking

Cancels an existing booking.

Sensitive write
list_appointment_types

Lists available appointment types with their duration and settings.

Read
list_availability

Checks available time slots for an appointment type on a specific date.

Read
list_events

Lists events (webinars, workshops, courses) with their capacity, registrations and public link. Filter by status, name or upcoming only.

Read
get_event

Event details: date, available capacity, registration questions and public link.

Read
create_event

Creates an event with a public registration page. It stays as a draft unless status=published.

Write
update_event

Edits an event; only the fields sent are changed. custom_fields replaces the entire list.

Write
delete_event

Deletes an event; its public page is no longer available. Registrations are kept.

Sensitive write
list_event_registrations

People registered for an event with their status, payment, form answers and source UTM.

Read
E-invoicing 14 tools
Tool Level
list_einvoices

Lists e-invoices (CFDI, Mexican e-invoice). Filter by status or customer.

Read
create_einvoice

Issues an e-invoice for a customer in the account's country (Mexico: CFDI (Mexican e-invoice); Chile: invoice (factura) 33, exempt invoice 34 or receipt (boleta) 39; Peru: invoice 01 or receipt (boleta) 03 via Nubefact; Colombia: electronic sales invoice 01 filed with DIAN, returns the CUFE; Argentina: Invoice A, B or C with an ARCA CAE; Recaudo picks the letter based on the customer's VAT status; Ecuador: invoice 01 signed and authorized by SRI, returns the 49-digit access key, the number 001-001-000000001 and authority_status; with no customer data it is issued to the final consumer, up to USD 50; Uruguay: e-Ticket 101 or e-Factura 111 via Biller with DGI, returns series, number, CAE, security_code and the DGI verification_url; Spain: VERI*FACTU invoice F1 (full) or F2 (ticket, VAT included, up to €400 or €3,000 depending on the sector) registered with AEAT via Verifacti; returns the number (series+number), the verification qr_url and authority_status pending until AEAT responds; Brazil: NFS-e via Focus NFe with the municipality (prefeitura) or the Emissor Nacional, asynchronous: it may come back with status draft and authority_status pending, and Recaudo completes it on its own with the number, verification code and PDF once it is authorized). Check get_fiscal_config → country_profile to see what the country requires. In Mexico, with PPD forma_pago must be 99; with PUE, the actual payment form. In Peru, if you don't send document_type it is chosen automatically: customer with RUC → invoice 01; DNI, another document or no data → receipt (boleta) 03 (boleta without a document up to S/ 700). Same in Uruguay: customer with RUT → e-Factura 111; cédula, another document or no data → e-Ticket 101 (without a document up to 5,000 UI excluding VAT). In Spain: customer with NIF or foreign ID → F1; no data → F2.

Sensitive write
create_global_einvoice

Stamps (issues) the global CFDI invoice for sales to the general public (RFC XAXX010101000) for a period. One line item per sale or ticket.

Write
get_einvoice_balance

Available CFDI stamps and packages for sale. stamps_remaining = from packages (they don't expire); monthly = those included in the plan's month (they don't roll over); stamps_available adds both; plan_active=false if the reseller's plan is not current. metered=false if the account stamps without limit.

Read
get_partner_plan

Status of the connection plan that a reseller's business pays Recaudo: status (not_subscribed, trialing, active, past_due, canceled), active, price, trial days, what each month includes (stamps, emails, WhatsApp) and usage in the period. 404 if the business has no connection plan. It is activated with an onboarding-link type=plan.

Read
get_einvoice

Gets the details of a CFDI (Mexican e-invoice) by its UUID.

Read
cancel_einvoice

Cancels an e-invoice. Mexico: with the SAT, with a reason. Chile: voided by issuing a credit note (61); the reason is optional free text. Peru: within 7 days a cancellation notice (comunicación de baja) is sent (a boleta goes in the daily summary); after that, or if SUNAT no longer accepts the cancellation, a credit note 07 is issued. Colombia: voided with a credit note (91, concept 2) that references the CUFE; the reason is optional free text. Argentina: a credit note of the same letter (3, 8 or 13) linked to the original is issued. Ecuador: a credit note 04 for the full amount, authorized by the SRI, is issued; only for invoices already authorized and not issued to a final consumer. Uruguay: Biller issues the credit note for the full amount (102 for e-Ticket, 112 for e-Factura) referencing the original; the reason is kept in Recaudo. Spain: by default a corrective invoice by differences (factura rectificativa) for the full amount is issued (R1, or R5 if it was a ticket); with method=void the record is annulled with the AEAT (only if it was issued by mistake and the customer did not receive it). Brazil: cancellation of the NFS-e is requested from the prefeitura with a justificativa; only authorized notes and within each municipality's deadline. This action is irreversible.

Sensitive write
get_fiscal_config

Shows whether the account can issue invoices and in which country: supported_countries, country_profile (document types, tax, currencies, customer tax fields, how to cancel) and, in Mexico, RFC (Mexican tax ID), tax regime, series, next folio number and certificate validity.

Read
search_sat_product_keys

Searches SAT product or service keys for CFDI line items. Keys the business has already used come first.

Read
save_customer_fiscal_data

Saves or replaces a customer's tax details so you can invoice them. The fields depend on the account's country (get_fiscal_config → country_profile.customer_fields).

Sensitive write
create_order_einvoice

Stamps the CFDI (Mexican e-invoice) for a paid order, from the online store or the point of sale.

Sensitive write
record_einvoice_payment

Records a payment against a PPD CFDI and stamps its payment complement (complemento de pago). Only invoices in MXN with 16% VAT.

Sensitive write
stamp_payment_complement

Stamps the payment complement (complemento de pago) for an already recorded payment, for example after a stamping failure.

Sensitive write
send_einvoice_email

Sends a stamped CFDI to the customer's email with the PDF and XML.

Sensitive write
Reports 6 tools
Tool Level
generate_report

Generates a report from a natural-language query. E.g.: "revenue for the last month by product".

Write
list_reports

Lists saved reports.

Read
run_report

Re-runs a saved report with optional parameters.

Write
get_sql_schema

Lists the tables and columns that can be queried with run_sql_query (PostgreSQL). Use it before writing a query. With names_only=true it returns only the names; with table=customers,invoices it returns the columns of those tables.

Read
run_sql_query

Runs read-only SQL (PostgreSQL) on the business's data and returns rows. Use it for questions no other tool answers: totals, comparisons, groupings, joins across customers, invoices, payments, conversations and deals. Every table is already filtered to the business. SELECT/WITH only; amounts in DECIMAL units, not cents; dates in local time. Check get_sql_schema first. Save calls: aggregate in SQL (CTEs, FILTER, GROUP BY) instead of pulling rows, and send up to 5 queries separated by ';' in one call (each returns its own result). Conversation tags live in conversation_tag + conversation_tags. Add a LIMIT or aggregate: 1000 rows maximum.

Read
list_meta_events

Lists the events Recaudo sent to Meta (pixel / Conversions API and WhatsApp dataset): which one, when, what triggered it (tag, payment, ad…), what data identifies the person, and whether Meta accepted it. Rejected ones include the error explained and how to fix it. Read-only.

Read
Online store 3 tools
Tool Level
get_store_settings

Gets the online store settings (name, banner, policies, SEO, etc.).

Read
update_store_settings

Updates the online store settings. Send only the fields you want to change.

Write
create_store_checkout

Creates an order from the store (headless checkout). Takes items, customer details and an optional coupon. Returns a payment URL.

Write
Webhooks 3 tools
Tool Level
list_webhooks

Lists configured webhook endpoints.

Read
create_webhook

Creates a webhook endpoint. Returns the secret, which is shown only once. Use "*" for all events.

Write
test_webhook

Sends a test event to a webhook endpoint to verify it works correctly.

Write
Team 2 tools
Tool Level
list_team

Lists team members (agents, operators, managers). Useful to know whom to assign conversations or follow-ups to.

Read
get_account_setup

The business, the signed-in person and their role, and what is still missing to get the account ready (WhatsApp, card payments, team, templates, AI agents), with the link to each step. Use it when starting to set up an account.

Read
AI agent tools 12 tools
Tool Level
list_ai_tools

Lists configured API tools: calls that AI agents make to the tenant's systems (ERP, CRM) during a WhatsApp or phone conversation.

Read
get_ai_tool

Shows an API tool's configuration (without the secret).

Read
create_ai_tool

Creates an API tool for AI agents: the agent will call this URL when the conversation requires it (e.g. checking the account statement in the ERP). Afterwards it must be enabled on the agent.

Write
update_ai_tool

Updates an API tool. Only the fields sent are changed; the secret is kept if not sent.

Write
delete_ai_tool

Deletes an API tool and removes it from the agents that use it.

Sensitive write
test_ai_tool

Runs an API tool with a real customer and sample parameters. Returns the request sent (without secrets), the status, the duration and what the agent would receive.

Write
list_mcp_servers

Lists the connected MCP servers, with the tools each one offers to AI agents.

Read
get_mcp_server

Shows an MCP server and its tools (without the secret).

Read
connect_mcp_server

Connects a tenant MCP server and reads its tools; they become available to enable on AI agents.

Write
update_mcp_server

Updates an MCP server and re-reads its tools. The secret is kept if not sent.

Write
sync_mcp_server

Re-reads an MCP server's tools (adds new ones, updates, and removes those that no longer exist).

Write
delete_mcp_server

Deletes an MCP server and removes its tools from the agents.

Sensitive write
Conversation routing 5 tools
Tool Level
list_routing_rules

Lists payment routing rules (which gateway processes each payment) in priority order, with their plain-language summary, fallback, schedule, limits, today's usage and 30-day figures.

Read
simulate_routing

Tells which gateway would process a sample payment, which rule applied, why the others did not apply, and the fallback order. Does not charge anything.

Read
create_routing_rule

Creates a payment routing rule: if a payment meets all the conditions it is charged with the specified gateway and, if that fails, with the fallback ones. Changes where the money goes.

Sensitive write
update_routing_rule

Updates a payment routing rule. Send only the fields to change.

Sensitive write
delete_routing_rule

Deletes a payment routing rule; its payments move to the next rule or to the main gateway.

Sensitive write
docs.mcp_tools.categories.landing_pages 8 tools
Tool Level
list_landing_pages

Lists the business landing pages with their status (draft, published, unpublished) and public address.

Read
list_landing_page_templates

Lists the templates available to create a landing page (restaurant, clinic, insurance, etc.).

Read
get_landing_page

Shows a landing page with its document (sections and elements as JSON) and whether it has unpublished changes.

Read
create_landing_page

Creates a landing page: from a template, written by AI with the real business data (ai_description), or blank. It stays as a draft unless publish=true.

Write
update_landing_page

Changes the name, address (slug), settings (pixel, Google Analytics) or the whole draft (document). Changes are not live until published.

Write
publish_landing_page

Publishes the current draft: from then on anyone opening its address sees it.

Write
unpublish_landing_page

Takes the page offline; the draft is kept.

Write
get_landing_page_analytics

Visits, visitors, leads, WhatsApp clicks, payments and which source or campaign they came from, over the last 7, 30 or 90 days.

Read
Projects 15 tools
Tool Level
list_projects

Lists the account's projects with progress, open and overdue tasks. Filter by status, customer or name.

Read
list_project_templates

Templates to create a project with sections, tasks and dates ready (campaign launch, webinar, agency client, monthly content).

Read
get_project

A project with its sections, tasks and linked items (campaigns, pages, events) with their numbers.

Read
create_project

Creates a blank project or one from a template; with a template, task dates are calculated from anchor_date.

Write
update_project

Updates a project. Send only what changes.

Write
delete_project

Deletes a project and all its tasks.

Sensitive write
create_project_section

Adds a section (board column) to a project.

Write
link_project

Links a project or task to a Meta campaign, landing page, email campaign, event, form, deal or customer to show its numbers in the project.

Write
list_project_tasks

Tasks of one project or all of them: by assignee, status, dates or overdue. Useful for 'what is due this week' or 'what does someone have pending'.

Read
get_project_task

Task detail: assignees, followers, subtasks, checklist, dependencies, files, comments, links and activity.

Read
create_project_task

Creates a task (or a subtask with parent_id) in a project. Notifies the assignees.

Write
update_project_task

Updates a task: status (done completes it), dates, assignees, tags, dependencies. Send only what changes.

Write
delete_project_task

Deletes a task and its subtasks.

Sensitive write
comment_project_task

Adds a comment to a task. @Name or @email in the text notifies that teammate.

Write
add_project_checklist_item

Adds an item to a task's checklist.

Write

Usage example

Once configured, you can talk to your assistant in natural language:

Conversation with Claude

User: List my customers with an active subscription

Claude: I found 24 customers with an active subscription...

User: Create a $500 payment link for Juan Pérez

Claude: Link created: https://recaudo.app/pay/abc123...

User: How many pending invoices do I have?

Claude: You have 12 pending invoices for a total of $45,300.00...

Note

The MCP Server uses your Secret Key to authenticate. Every operation follows the same permissions and limits as the REST API.
Was this page helpful? Thanks for letting us know.
Esc