Bsale MCP server

Read Bsale products, documents and stock; manage customers, prices, receipts and payments. Hosted by usefulapi: connect it to Claude, ChatGPT, Cursor or any MCP client.

Connect BsaleFree 50 tool calls / monthPro $9/mo · $90/yr · pricing29 tools

What can I ask?

Turn on the Bsale connector, then ask in plain words. The AI picks the tools.

What you can do with Bsale in Claude and ChatGPT

For retail and accounting teams with a Bsale token issued for their company.

Review sales by branch

Compare sales totals by month, branch and document type, then inspect individual documents.

Find stock shortages

Look up a SKU and check its stock, reserved quantity and availability in each branch.

Check customer receivables

Find a customer and inspect unpaid documents and outstanding amounts before recording a payment.

Record a payment

Check the customer’s unpaid documents and available payment methods, then record the requested payment. This updates receivables and cannot be removed through this API.

Changes data

How do I connect Bsale?

Before you connect

The login page asks for your Bsale access token and Country.

Bsale does not show the token in the app: ask for a dedicated token for this UsefulAPI connection by email at [email protected] (from the account owner's address), or use a sandbox token from a free Bsale test account. The token acts with the permissions of the Bsale user it was issued for. Customer, document and stock records you request pass to your chosen AI client and its LLM provider. When requested, tools can create/update customers, change prices, receive stock and record payments; they do not charge a card. Ask Bsale to revoke or replace the token to stop vendor access. Billing follows the verified Bsale company and API host.

Claude claude.ai · Desktop

  1. Open Customize → Connectors, then click + Add → Add custom connector.
  2. Enter the name Bsale and this URL, then click Add:
    https://bsale.usefulapi.io/mcp
  3. Claude opens the login page: enter your Bsale access token and Country.
  4. In a chat, click + → Connectors and turn on Bsale.

Team and Enterprise: an Owner adds the connector for the organization first.

ChatGPT chatgpt.com

  1. Open Plugins, click +, then Add custom MCP server.
  2. Enter the name Bsale and this URL, choose OAuth as the authentication, confirm the warning and create it:
    https://bsale.usefulapi.io/mcp
  3. ChatGPT opens the login page: enter your Bsale access token and Country.
  4. In Plugins, install Bsale, then choose it in a chat.

No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.

Claude Code

Run this command, then run /mcp in Claude Code to log in:

claude mcp add --transport http bsale https://bsale.usefulapi.io/mcp

Cursor

Add to Cursor or add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "bsale": {
      "url": "https://bsale.usefulapi.io/mcp"
    }
  }
}

VS Code

Add to VS Code or add this to .vscode/mcp.json:

{
  "servers": {
    "bsale": {
      "type": "http",
      "url": "https://bsale.usefulapi.io/mcp"
    }
  }
}

Codex

Run these commands. The second one opens the login page:

codex mcp add bsale --url https://bsale.usefulapi.io/mcp
codex mcp login bsale

Other clients

Windsurf, Cline, Zed and other MCP clients: add this URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser.

https://bsale.usefulapi.io/mcp

Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Bsale access token and Country. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Proper Bsale company and API host$9/mo · $90/yr10,000 tool calls / month
Pro+per Bsale company and API host$39/mo · $390/yr100,000 tool calls / month

Each paid plan covers this Bsale server only. Ask your AI to run bsale_upgrade and choose Pro or Pro+, billed monthly or yearly (it returns a Stripe Checkout link). If you already have Pro, ask to change it to Pro+. The change requires your confirmation, keeps your billing interval and charges the price difference for the rest of the period immediately. Cancel any time with bsale_cancel_subscription: your paid plan continues to the end of the paid period, with no refund for the current period, and asking to resume the same plan with bsale_upgrade before then undoes the cancel. Or write to [email protected].

Tools 29

Show all 29 tools (the AI picks them for you)

Read only · 20

  • List documents (sales)bsale_list_documents
    List issued documents (boletas, facturas, notas de credito, guias...) newest-first as Bsale returns them, with number, dates, net/tax/total amounts, state, SII status and public PDF link. Filter by emission date range, document type, client, office, folio number or SII code. Use expand (details, payments, client, office, document_type) to embed related data.
  • Get documentbsale_get_document
    One document by id with its amounts, dates, state and links. Use expand=[details,payments,client,office,document_type,references,sellers] to include line items, payments and related records.
  • Sales summarybsale_sales_summary
    Totals of sales documents (net, tax, total, count) by month, document type and office for a date range; set per_document to list each document instead. Good for 'how much did we sell in September?'.
  • List returnsbsale_list_returns
    List returns (devoluciones) with date, motive, amounts and the credit note issued. Use expand=[reference_document,credit_note,details] for more.
  • List document typesbsale_list_document_types
    List document types (boleta, factura, nota de credito, guia de despacho...) with their id and tax (SII) code. Use the id when filtering documents.
  • List clientsbsale_list_clients
    List customers with name, tax id (code), email, phone, address, credit limit and loyalty points. Filter by tax id, name, last name or email.
  • Get clientbsale_get_client
    One customer by id. Use expand=[contacts,attributes,addresses] to include contacts and extra attributes.
  • Client unpaid documentsbsale_client_unpaid_documents
    A client's receivables: overdue and upcoming debt, total owed, and the unpaid documents with amounts. Give client_id or client_code.
  • List productsbsale_list_products
    List products and services (name, description, class, stock control, state). SKUs live on variants: see bsale_list_variants.
  • Get productbsale_get_product
    One product by id; expand=[product_type] adds the type.
  • List variants (SKUs)bsale_list_variants
    List product variants, the sellable SKUs: description, SKU code, barcode, stock settings and product link. Search by SKU code, barcode, description or product id.
  • Get variantbsale_get_variant
    One variant (SKU) by id; expand=[product] embeds the product.
  • List stock levelsbsale_list_stocks
    Stock per variant and office: quantity, reserved and available. Filter by office, variant id, SKU code or barcode (for a pack give a variant filter plus office_id). expand=[variant,office] adds names.
  • List price listsbsale_list_price_lists
    List price lists with name, currency and state. Use the id with bsale_list_price_list_details.
  • List price list pricesbsale_list_price_list_details
    Prices in one price list: the net price (variantValue) and price with taxes per variant, plus the detail id needed to change a price. Filter by variant id, SKU code or barcode.
  • List paymentsbsale_list_payments
    List payments received (amount, date, payment type, document, office, user). Filter by payment date, document id, or document tax code plus folio number.
  • List payment typesbsale_list_payment_types
    List payment methods (cash, card, transfer, credit...) with their id. The id is needed to record a payment.
  • List offices (branches)bsale_list_offices
    List branches (sucursales) with name, address and cost center. Use the id for stock and document filters.
  • List users (sellers)bsale_list_users
    List Bsale users (sellers/cashiers) with name and office.
  • Sales by sellerbsale_user_sales_summary
    Sales and tax subtotal per seller for a date range (default: today, UTC), or for one user.

Changes data · 5

  • Create clientbsale_create_client
    WRITE: create a new customer in Bsale (it is visible to every user of the instance). Give at least a first name or a company. Bsale rejects a second client with the same tax id.
  • Update clientbsale_update_client
    WRITE: change fields of an existing customer; only the fields you pass are sent. This overwrites the stored values.
  • Update price list pricebsale_update_price
    WRITE: set the net price (variantValue, without taxes) of one variant in a price list. This changes what Bsale charges on new sales using that list. Get detail_id from bsale_list_price_list_details.
  • Receive stockbsale_create_stock_reception
    WRITE: record a stock reception (ingreso de stock) that ADDS quantities to an office's inventory. Each line names the variant by id, SKU code or barcode, with quantity and unit cost. It changes stock levels and cost; Bsale has no undo through this API, so confirm the numbers first.
  • Record paymentbsale_create_payment
    WRITE: record a payment against an issued document (normally a credit sale that is still unpaid). It changes the document's receivable balance in the books and cannot be removed through this API. Check the amount with bsale_client_unpaid_documents first and get payment_type_id from bsale_list_payment_types.

Your usefulapi plan · 4

  • Usage status (free-tier meter)bsale_usage_status
    Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter.
  • Request a missing featurebsale_request_feature
    Tell usefulapi that the user needs something the Bsale tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter.
  • Upgrade to Pro or Pro+bsale_upgrade
    Get a paid plan for Bsale (the free tier caps monthly usage). Pro: 10,000 tool calls a month, for normal use — plan "monthly" ($9/month) or "yearly" ($90/year, 2 months free). Pro+: 100,000 tool calls a month, for automations and heavy use — plan "plus" ($39/month) or "plus_yearly" ($390/year). Without a plan it returns both Pro and Pro+, each with a payment link, for the user to choose; with a plan, one link. An existing Pro subscription changes to Pro+ in place (needs confirm: true; the price difference for the rest of the period is charged at once). Cancel any time: the plan then runs to the end of the paid period, so it also suits a one-time job. A link opens Stripe Checkout in the browser; after payment the account upgrades automatically. Does not count against the meter.
  • Cancel the Pro subscriptionbsale_cancel_subscription
    Cancel the caller's Bsale Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run bsale_upgrade later to undo the cancel before the period ends. Does not count against the meter.

FAQ

What can I do with Bsale in Claude or ChatGPT?

Review sales by branch. Find stock shortages. Check customer receivables. Record a payment. See what you can do for the details.

Is this an official Bsale product?

No. usefulapi is an independent service. It is not affiliated with or endorsed by Bsale. The server calls the Bsale API with your own Bsale access, so it sees only the data that your account can see.

Can I connect Bsale to Claude or ChatGPT?

Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.

What do I need to connect?

The login page asks for your Bsale access token and Country. See Before you connect for where to find them.

Do I put my Bsale key or an Authorization header in the client config?

No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Bsale access token and Country. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

How do you keep my Bsale credentials?

The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Bsale API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Bsale.

Can the AI change my Bsale data?

Yes, if you approve it. 5 of the 25 Bsale tools can create or change data. The other 20 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.

What does it cost?

The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with 10,000 tool calls / month. Pro+ costs $39/mo or $390/yr, with 100,000 tool calls / month. Each subscription covers this Bsale server only. Cancel any time: your paid plan then runs to the end of the paid period. Run bsale_usage_status to see how many calls you used.

How do I subscribe or cancel?

Ask the AI to run bsale_upgrade and choose Pro or Pro+, billed monthly or yearly: it returns a Stripe Checkout link. If you already have Pro, ask to change it to Pro+. After you confirm, your existing subscription changes in place, keeps its billing interval and charges the price difference for the rest of the period immediately. To cancel, run bsale_cancel_subscription. Your paid plan continues to the end of the paid period.

What if a Bsale tool that I need is missing?

Tell the AI what you wanted to do. It can send the request with bsale_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.

Which AI clients can I use?

Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf and others.

This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.

Need a tool this server does not have, or a connection to another system? We build custom integrations and MCP servers.

More Commerce & Memberships MCP servers

ApiloAwtomicBeacon CRMBettermodeBloomerangbol.comBooqableBrandboomBreeze ChMSBrightpearlBSS B2B SolutionBuy Me a CoffeeCatalog MachineCCV ShopChannableChannel Pilot ProChannelEngineCharityFundraiserCin7 CoreConsignCloudCratejoyCustomCatDecoNetworkEasyStoreEcwidEffectConnectElvantoEveniumEventbriteFinale InventoryFinerWorksFitsseyFoxy.ioFunraiseGelatoGift Up!GiftbitGivecloudGivingFuelGoDataFeedGood GrantsGootenGumroadHeartland RetailHello ClubHiboutikHumanitixIdoSellInventory PlannerJubelioKiotVietKoursesLearnWorldsLengowLibibLightspeed Retail (R-Series)Lightspeed Retail (X-Series)LinnworksLittle Green LightLooxLoyverseMarketTimeMegaventoryMemberfulMemberRunMembers.devMemberSuiteMemberVaultMyOnlineStoreNembolNeon CRMOpenWaterOrder DeskOwnerRezPatreonPHP Point of SalePlentyONEpretixPrice2SpyPrintfulPrintifyPrisyncProdigiQgivRackbeatRaiselyRechargeRecurpayReturnLogicREVIEWS.ioRock Gym ProSalesBinderSalsa EngageSamitaSapoSearchaniseSellasistSelloShoprocketSmaregiSmile.ioSOS InventorySpektrixStampedSteadyStoreRocketSugarWODSwellTeamUpTicimaxTicketsauceTicketSpiceTillhubTiltifyTitoTourCMSUniverseUnleashed SoftwareVeeqoVirtuousWhite Label LoyaltyWild ApricotZettleZylvie

All Commerce & Memberships servers →