MCP e agentes
Servidor MCP
Integre o Recaudo com assistentes de inteligência artificial
O Recaudo inclui um servidor MCP (Model Context Protocol) que permite que assistentes de inteligência artificial como Claude Desktop, Cursor, Windsurf, Claude Code e outros clientes MCP trabalhem diretamente com sua conta: gerenciar clientes, criar faturas, cobrar, enviar WhatsApp, CRM, automações e mais.
Conexão remota com a sua conta (recomendada)
Adicione este endereço como servidor MCP ou conector personalizado. O aplicativo leva você ao Recaudo para entrar e escolher quais permissões conceder: leitura, ou leitura e escrita. Não há chaves para copiar, e você pode remover o acesso quando quiser em Configurações → API.
https://recaudo.app/mcp
- Claude (web, desktop e celular): Configurações → Conectores → Adicionar conector personalizado, e cole o endereço.
- ChatGPT: em Configurações → Apps e conectores, ative o modo de desenvolvedor e crie um conector com o endereço.
- Claude Code, Cursor e outros clientes que aceitam uma URL:
claude mcp add --transport http recaudo https://recaudo.app/mcp
{
"mcpServers": {
"recaudo": {
"url": "https://recaudo.app/mcp"
}
}
}
Nota
Agentes em um servidor, com chave de API
Se o agente roda em um servidor e ninguém vai fazer login, use o mesmo endereço e envie sua Secret Key (sk_live_ ou sk_test_) no cabeçalho Authorization. Com a chave o agente pode o mesmo que na API, dentro dos limites definidos em Agentes e pagamentos.
claude mcp add --transport http recaudo https://recaudo.app/mcp --header "Authorization: Bearer sk_live_tu_secret_key"
{
"mcpServers": {
"recaudo": {
"type": "http",
"url": "https://recaudo.app/mcp",
"headers": {
"Authorization": "Bearer sk_live_tu_secret_key"
}
}
}
}
Nota
Ferramentas disponíveis
O servidor tem 220 ferramentas, as mesmas do assistente do Recaudo: clientes, cobranças, links de pagamento, faturas, pedidos, conversas de WhatsApp, cobrança, agenda, relatórios e mais. Cada pessoa vê as que seu perfil permite.
Ferramentas e permissões
Cada ferramenta tem um nível. As de leitura não alteram nada. As de escrita criam ou editam registros do negócio. As de escrita sensível excluem ou cancelam, movimentam dinheiro, emitem notas ou escrevem para o cliente; o assistente da Recaudo pede confirmação antes de usá-las, e no MCP levam destructiveHint.
Permissões e limites
- Permissão mcp:read: só ferramentas de leitura.
- Permissão mcp:write: leitura, escrita e escrita sensível.
- Além disso, cada pessoa só vê as ferramentas que seu perfil permite (administrador, gerente, operador ou somente leitura).
- Até 240 requisições por minuto. Acima disso o servidor responde 429 com Retry-After.
- O negócio pode revogar o acesso a qualquer momento em Configurações → API.
Clientes 11 ferramentas
| Ferramenta | Nível |
|---|---|
search_customers
Searches customers by name, email, or phone. |
Leitura |
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. |
Leitura |
list_customer_sources
Lists the configured customer sources (WhatsApp, Instagram, Web, etc.) with their id, to resolve each customer's source_id. |
Leitura |
get_customer
Gets a customer's full details by ID. |
Leitura |
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. |
Leitura |
create_customer
Creates a new customer. Name and email are required. |
Escrita |
update_customer
Updates fields of an existing customer. Send only the fields you want to change. |
Escrita |
delete_customer
Deletes a customer (soft delete). Cannot be deleted if they have active subscriptions. |
Escrita sensível |
list_customer_payment_methods
Lists a customer's saved payment methods (tokenized cards). |
Leitura |
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. |
Escrita |
list_customer_subscriptions
Lists a customer's subscriptions. Optionally filter by status. |
Leitura |
Links de pagamento 10 ferramentas
| Ferramenta | Nível |
|---|---|
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. |
Leitura |
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. |
Escrita |
get_payment_request
Status of a payment request and its active payment methods. status: pending, partially_paid, paid, expired, canceled. |
Leitura |
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. |
Leitura |
list_payment_links
Lists payment links. Statuses: pending, active, completed, canceled, expired. |
Leitura |
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. |
Escrita |
get_payment_link
Gets a payment link's details, including its public URL. |
Leitura |
cancel_payment_link
Cancels an active or pending payment link. The link will stop working. |
Escrita sensível |
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. |
Escrita sensível |
list_payment_link_payments
Lists the payments made through a payment link. |
Leitura |
Faturas 10 ferramentas
| Ferramenta | Nível |
|---|---|
list_invoices
Lists invoices or layaways with filters. Statuses: pending, paid, partial, void, overdue. |
Leitura |
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). |
Escrita |
get_invoice
Gets an invoice's details with its customer, items, and installments. |
Leitura |
update_invoice
Updates a pending invoice. Paid invoices cannot be updated. |
Escrita |
mark_invoice_paid
Manually marks an invoice as paid. Also marks all its installments as paid. |
Escrita sensível |
void_invoice
Voids a pending invoice. Paid invoices cannot be voided. Cancels pending installments. |
Escrita sensível |
list_installments
Lists an invoice's installments with late interest details. Filter by status. |
Leitura |
get_installment
Gets an installment's details with a full late interest breakdown. |
Leitura |
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. |
Escrita sensível |
list_invoice_payments
Lists the manual payments recorded on an invoice. |
Leitura |
Produtos 10 ferramentas
| Ferramenta | Nível |
|---|---|
list_products
Lists catalog products. Filter by status, category, search, featured, or in stock. |
Leitura |
create_product
Creates a new product in the catalog. The price is in DECIMAL units (100.00 = $100), not cents. |
Escrita |
get_product
Gets a product's details with its category. |
Leitura |
update_product
Updates an existing product. Send only the fields you want to change. |
Escrita |
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. |
Escrita |
delete_product
Deletes a product. Cannot be deleted if it has pending orders. |
Escrita sensível |
list_modifier_groups
Lists product option groups (sizes, extras, ingredient removals) with their products. |
Leitura |
create_modifier_group
Creates an option group for products: extras, sizes, or 'no onion'. Prices are in DECIMAL units, tax included. |
Escrita |
update_modifier_group
Updates an option group. options replaces the entire list: send the id of the ones to keep. |
Escrita |
delete_modifier_group
Deletes an option group. Existing orders keep what was sold. |
Escrita sensível |
Categorias 5 ferramentas
| Ferramenta | Nível |
|---|---|
list_product_categories
Lists product categories. Filter by active status or by parent category. |
Leitura |
create_product_category
Creates a new product category. |
Escrita |
get_product_category
Gets a product category's details with its subcategories and product count. |
Leitura |
update_product_category
Updates a product category. |
Escrita |
delete_product_category
Deletes a product category. Its products are unlinked and its subcategories are moved to the parent. |
Escrita sensível |
Pedidos 10 ferramentas
| Ferramenta | Nível |
|---|---|
list_orders
Lists orders. Statuses: pending, confirmed, processing, shipped, delivered, completed, canceled, refunded. |
Leitura |
create_order
Creates a new order. Prices are taken from the products. An invoice and payment link are generated automatically. |
Escrita |
get_order
Gets an order's details with its customer, items, products, and invoice. |
Leitura |
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. |
Escrita |
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. |
Leitura |
ship_order
Marks an order as shipped, with optional tracking details. |
Escrita |
deliver_order
Marks an order as delivered (delivered). |
Escrita |
complete_order
Marks an order as completed. |
Escrita |
cancel_order
Cancels a pending order. Stock is restored automatically. |
Escrita sensível |
list_order_items
Lists an order's items with product details. |
Leitura |
Conversas 18 ferramentas
| Ferramenta | Nível |
|---|---|
list_conversations
Lists WhatsApp/omnichannel conversations. Filter by channel, status, customer or assigned agent. |
Leitura |
get_conversation
Gets a conversation's details, including its customer and assigned agent. |
Leitura |
list_conversation_messages
Lists the messages in a conversation. Can be filtered by type. |
Leitura |
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. |
Escrita sensível |
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. |
Escrita sensível |
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. |
Escrita sensível |
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. |
Escrita sensível |
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. |
Leitura |
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). |
Leitura |
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. |
Leitura |
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. |
Escrita sensível |
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). |
Leitura |
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. |
Escrita sensível |
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. |
Escrita |
send_interactive_message
Sends an interactive message with quick-reply buttons (max 3 buttons, 20 chars each). WhatsApp only, with an active 24h window. |
Escrita sensível |
resolve_conversation
Marks a conversation as resolved. |
Escrita |
close_conversation
Closes a conversation permanently. |
Escrita |
assign_conversation
Assigns a conversation to a specific human agent or via round-robin. |
Escrita |
Cobranças 4 ferramentas
| Ferramenta | Nível |
|---|---|
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. |
Leitura |
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. |
Escrita sensível |
get_charge
Gets a charge's details, including its customer and payment method. |
Leitura |
refund_charge
Refunds a successful charge, fully or partially. The amount is in DECIMAL units, not cents. |
Escrita sensível |
Cupons 6 ferramentas
| Ferramenta | Nível |
|---|---|
list_coupons
Lists discount coupons. Filter by active status or search by code. |
Leitura |
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. |
Escrita |
get_coupon
Gets a discount coupon's details. |
Leitura |
update_coupon
Updates a discount coupon. Only send the fields you want to change. |
Escrita |
delete_coupon
Deletes a discount coupon. |
Escrita sensível |
validate_coupon
Validates a coupon and calculates the discount for a given subtotal. |
Escrita |
Fluxos 7 ferramentas
| Ferramenta | Nível |
|---|---|
list_flows
Lists published conversational flows (WhatsApp). Only shows flows that are ready to deploy. |
Leitura |
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. |
Leitura |
deploy_flow
Deploys a flow to one or more recipients via WhatsApp. Each recipient needs a phone number and, optionally, variables. |
Escrita sensível |
get_flow_stats
A flow's totals: sent, delivered, read, failed and replied (WhatsApp statuses). Filter by batch, version or dates. |
Leitura |
list_flow_runs
Lists a flow's runs. Filter by status, batch or phone. |
Leitura |
get_flow_run
Gets the detailed status of a specific flow run. |
Leitura |
cancel_flow_run
Cancels an active flow run. |
Escrita sensível |
Carrinhos abandonados 2 ferramentas
| Ferramenta | Nível |
|---|---|
list_abandoned_carts
Lists abandoned shopping carts from the online store. Shows customers who added products but didn't complete the purchase. |
Leitura |
get_abandoned_cart
Gets an abandoned cart's details, including its products, subtotal and customer data. |
Leitura |
Acompanhamentos 4 ferramentas
| Ferramenta | Nível |
|---|---|
list_follow_ups
Lists scheduled follow-ups/reminders. Filter by status, type, user, customer or date range. |
Leitura |
create_follow_up
Schedules a follow-up/reminder for a customer or conversation. |
Escrita |
complete_follow_up
Marks a follow-up as completed, with optional notes. |
Escrita |
reschedule_follow_up
Reschedules a follow-up to a new date and time. |
Escrita |
Assinaturas 8 ferramentas
| Ferramenta | Nível |
|---|---|
list_subscriptions
Lists recurring subscriptions. Filter by customer, status or plan. |
Leitura |
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. |
Escrita sensível |
get_subscription
Gets a subscription's details, including its plan, customer and payment method. |
Leitura |
cancel_subscription
Cancels a subscription. Can be immediate or at the end of the current period. |
Escrita sensível |
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. |
Escrita |
pause_subscription
Pauses an active subscription. Charges stop until it is resumed. |
Escrita |
resume_subscription
Resumes a paused subscription. |
Escrita |
list_subscription_invoices
Lists the invoices generated by a subscription. |
Leitura |
Planos de assinatura 3 ferramentas
| Ferramenta | Nível |
|---|---|
list_subscription_plans
Lists available subscription plans. Only active plans by default. |
Leitura |
create_subscription_plan
Creates a new subscription plan. The amount is in DECIMAL units (100.00 = $100 MXN), not cents. |
Escrita |
get_subscription_plan
Gets the details of a subscription plan. |
Leitura |
Etiquetas 5 ferramentas
| Ferramenta | Nível |
|---|---|
list_customer_tags
Lists customer tags. |
Leitura |
add_customer_tag
Adds a tag to a customer. Use an existing tag_id or create one with tag_name. |
Escrita |
remove_customer_tag
Removes a tag from a customer. |
Escrita sensível |
list_conversation_tags
Lists all tags available for conversations. |
Leitura |
add_conversation_tag
Adds a tag to a conversation. |
Escrita |
Oportunidades 6 ferramentas
| Ferramenta | Nível |
|---|---|
list_deals
Lists deals/opportunities in the CRM pipeline. Filter by pipeline, stage, status, customer or assigned user. |
Leitura |
create_deal
Creates a new deal/opportunity in the CRM. |
Escrita |
get_deal
Gets the details of a deal by its UUID. |
Leitura |
update_deal
Updates fields of an existing deal. Send only the fields you want to change. |
Escrita |
move_deal_stage
Moves a deal to a different pipeline stage. |
Escrita |
list_pipelines
Lists CRM pipelines with their stages. |
Leitura |
E-mail 3 ferramentas
| Ferramenta | Nível |
|---|---|
send_email
Sends an email to a customer. Can use a template or send custom content. |
Escrita sensível |
list_email_templates
Lists available email templates. |
Leitura |
list_email_logs
Lists email send history. Filter by status or customer. |
Leitura |
Cobrança 14 ferramentas
| Ferramenta | Nível |
|---|---|
list_overdue_invoices
Lists overdue invoices with customer information. |
Leitura |
list_payment_promises
Lists payment promises. Filter by status or customer. |
Leitura |
create_payment_promise
Creates a payment promise for a customer. The customer commits to paying on a specific date. |
Escrita |
cancel_payment_promise
Cancels an existing payment promise. |
Escrita sensível |
list_collection_attempts
Lists collection attempts made. Filter by customer, channel or status. |
Leitura |
get_collection_summary
Gets collection statistics: overdue invoices, amounts, active promises, etc. |
Leitura |
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?". |
Leitura |
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. |
Leitura |
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. |
Leitura |
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. |
Escrita sensível |
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. |
Leitura |
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. |
Escrita sensível |
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. |
Escrita sensível |
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. |
Escrita sensível |
Automações 5 ferramentas
| Ferramenta | Nível |
|---|---|
list_automations
Lists configured automations. Filter by trigger event or active state. |
Leitura |
create_automation
Creates a new automation. Defines a trigger event, conditions and actions to run. |
Escrita |
get_automation
Gets the details of an automation by its UUID. |
Leitura |
toggle_automation
Enables or disables an automation (toggle). |
Escrita sensível |
list_automation_runs
Lists the runs of an automation. Filter by status. |
Leitura |
Agenda 11 ferramentas
| Ferramenta | Nível |
|---|---|
list_bookings
Lists scheduled bookings. Filter by status or date range. |
Leitura |
create_booking
Creates a new booking for a customer. |
Escrita |
cancel_booking
Cancels an existing booking. |
Escrita sensível |
list_appointment_types
Lists available appointment types with their duration and settings. |
Leitura |
list_availability
Checks available time slots for an appointment type on a specific date. |
Leitura |
list_events
Lists events (webinars, workshops, courses) with their capacity, registrations and public link. Filter by status, name or upcoming only. |
Leitura |
get_event
Event details: date, available capacity, registration questions and public link. |
Leitura |
create_event
Creates an event with a public registration page. It stays as a draft unless status=published. |
Escrita |
update_event
Edits an event; only the fields sent are changed. custom_fields replaces the entire list. |
Escrita |
delete_event
Deletes an event; its public page is no longer available. Registrations are kept. |
Escrita sensível |
list_event_registrations
People registered for an event with their status, payment, form answers and source UTM. |
Leitura |
Nota fiscal eletrônica 14 ferramentas
| Ferramenta | Nível |
|---|---|
list_einvoices
Lists e-invoices (CFDI, Mexican e-invoice). Filter by status or customer. |
Leitura |
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. |
Escrita sensível |
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. |
Escrita |
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. |
Leitura |
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. |
Leitura |
get_einvoice
Gets the details of a CFDI (Mexican e-invoice) by its UUID. |
Leitura |
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. |
Escrita sensível |
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. |
Leitura |
search_sat_product_keys
Searches SAT product or service keys for CFDI line items. Keys the business has already used come first. |
Leitura |
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). |
Escrita sensível |
create_order_einvoice
Stamps the CFDI (Mexican e-invoice) for a paid order, from the online store or the point of sale. |
Escrita sensível |
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. |
Escrita sensível |
stamp_payment_complement
Stamps the payment complement (complemento de pago) for an already recorded payment, for example after a stamping failure. |
Escrita sensível |
send_einvoice_email
Sends a stamped CFDI to the customer's email with the PDF and XML. |
Escrita sensível |
Relatórios 6 ferramentas
| Ferramenta | Nível |
|---|---|
generate_report
Generates a report from a natural-language query. E.g.: "revenue for the last month by product". |
Escrita |
list_reports
Lists saved reports. |
Leitura |
run_report
Re-runs a saved report with optional parameters. |
Escrita |
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. |
Leitura |
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. |
Leitura |
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. |
Leitura |
Loja online 3 ferramentas
| Ferramenta | Nível |
|---|---|
get_store_settings
Gets the online store settings (name, banner, policies, SEO, etc.). |
Leitura |
update_store_settings
Updates the online store settings. Send only the fields you want to change. |
Escrita |
create_store_checkout
Creates an order from the store (headless checkout). Takes items, customer details and an optional coupon. Returns a payment URL. |
Escrita |
Webhooks 3 ferramentas
| Ferramenta | Nível |
|---|---|
list_webhooks
Lists configured webhook endpoints. |
Leitura |
create_webhook
Creates a webhook endpoint. Returns the secret, which is shown only once. Use "*" for all events. |
Escrita |
test_webhook
Sends a test event to a webhook endpoint to verify it works correctly. |
Escrita |
Equipe 2 ferramentas
| Ferramenta | Nível |
|---|---|
list_team
Lists team members (agents, operators, managers). Useful to know whom to assign conversations or follow-ups to. |
Leitura |
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. |
Leitura |
Ferramentas de agentes de IA 12 ferramentas
| Ferramenta | Nível |
|---|---|
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. |
Leitura |
get_ai_tool
Shows an API tool's configuration (without the secret). |
Leitura |
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. |
Escrita |
update_ai_tool
Updates an API tool. Only the fields sent are changed; the secret is kept if not sent. |
Escrita |
delete_ai_tool
Deletes an API tool and removes it from the agents that use it. |
Escrita sensível |
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. |
Escrita |
list_mcp_servers
Lists the connected MCP servers, with the tools each one offers to AI agents. |
Leitura |
get_mcp_server
Shows an MCP server and its tools (without the secret). |
Leitura |
connect_mcp_server
Connects a tenant MCP server and reads its tools; they become available to enable on AI agents. |
Escrita |
update_mcp_server
Updates an MCP server and re-reads its tools. The secret is kept if not sent. |
Escrita |
sync_mcp_server
Re-reads an MCP server's tools (adds new ones, updates, and removes those that no longer exist). |
Escrita |
delete_mcp_server
Deletes an MCP server and removes its tools from the agents. |
Escrita sensível |
Distribuição de conversas 5 ferramentas
| Ferramenta | Nível |
|---|---|
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. |
Leitura |
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. |
Leitura |
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. |
Escrita sensível |
update_routing_rule
Updates a payment routing rule. Send only the fields to change. |
Escrita sensível |
delete_routing_rule
Deletes a payment routing rule; its payments move to the next rule or to the main gateway. |
Escrita sensível |
docs.mcp_tools.categories.landing_pages 8 ferramentas
| Ferramenta | Nível |
|---|---|
list_landing_pages
Lists the business landing pages with their status (draft, published, unpublished) and public address. |
Leitura |
list_landing_page_templates
Lists the templates available to create a landing page (restaurant, clinic, insurance, etc.). |
Leitura |
get_landing_page
Shows a landing page with its document (sections and elements as JSON) and whether it has unpublished changes. |
Leitura |
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. |
Escrita |
update_landing_page
Changes the name, address (slug), settings (pixel, Google Analytics) or the whole draft (document). Changes are not live until published. |
Escrita |
publish_landing_page
Publishes the current draft: from then on anyone opening its address sees it. |
Escrita |
unpublish_landing_page
Takes the page offline; the draft is kept. |
Escrita |
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. |
Leitura |
Projetos 15 ferramentas
| Ferramenta | Nível |
|---|---|
list_projects
Lists the account's projects with progress, open and overdue tasks. Filter by status, customer or name. |
Leitura |
list_project_templates
Templates to create a project with sections, tasks and dates ready (campaign launch, webinar, agency client, monthly content). |
Leitura |
get_project
A project with its sections, tasks and linked items (campaigns, pages, events) with their numbers. |
Leitura |
create_project
Creates a blank project or one from a template; with a template, task dates are calculated from anchor_date. |
Escrita |
update_project
Updates a project. Send only what changes. |
Escrita |
delete_project
Deletes a project and all its tasks. |
Escrita sensível |
create_project_section
Adds a section (board column) to a project. |
Escrita |
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. |
Escrita |
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'. |
Leitura |
get_project_task
Task detail: assignees, followers, subtasks, checklist, dependencies, files, comments, links and activity. |
Leitura |
create_project_task
Creates a task (or a subtask with parent_id) in a project. Notifies the assignees. |
Escrita |
update_project_task
Updates a task: status (done completes it), dates, assignees, tags, dependencies. Send only what changes. |
Escrita |
delete_project_task
Deletes a task and its subtasks. |
Escrita sensível |
comment_project_task
Adds a comment to a task. @Name or @email in the text notifies that teammate. |
Escrita |
add_project_checklist_item
Adds an item to a task's checklist. |
Escrita |
Exemplo de uso
Depois de configurado, você pode conversar com seu assistente em linguagem natural:
Usuário: Liste meus clientes com assinatura ativa
Claude: Encontrei 24 clientes com assinatura ativa...
Usuário: Crie um link de pagamento de $500 para Juan Pérez
Claude: Link criado: https://recaudo.app/pay/abc123...
Usuário: Quantas faturas pendentes eu tenho?
Claude: Você tem 12 faturas pendentes no total de $45,300.00...
Nota