Skip to content

TolaPay MCP · Beta

Say goodbye to made-up numbers.

Connect TolaPay to ChatGPT, Claude or any AI that supports MCP, and it answers from your real invoices, eSewa and Khalti payments and subscriptions, not from a guess.

https://api.tola.com.np/mcp
  1. 1Open Settings → Apps & Connectors and turn on developer mode.
  2. 2Create a connector with the server URL and OAuth sign-in.
  3. 3Sign in to TolaPay when ChatGPT asks, and approve.

Without and with

The same question, two very different answers.

An assistant on its own has never seen your billing, so the best it can do is general advice. Connected to TolaPay, it calls the right tool and answers with your numbers.
  1. Which invoices are still unpaid, and who is furthest behind?

    Used 1 TolaPay tool:list_invoices

    Without TolaPay

    I don't have access to your invoices. In most billing tools you can filter invoices by status and sort by due date to see who is overdue. Would you like a polite reminder email you can send?

    With TolaPay MCP

    Three invoices are open, रू 41,810 in total. Everest Labs is furthest behind, 9 days overdue on रू 11,300.

    • Phewa StudioINV-0142 · Due 12 Mangsirरू 24,860
    • Himalayan JavaINV-0139 · Overdue 3 daysरू 5,650
    • Everest LabsINV-0137 · Overdue 9 daysरू 11,300
  2. How did revenue move over the last three months?

    Used 2 TolaPay tools:get_revenueget_overview

    Without TolaPay

    I can't see your revenue data. If you export your payments as a spreadsheet and paste it here, I can total it by month and describe the trend.

    With TolaPay MCP

    Revenue grew two months running: रू 4,51,200 in Kartik, up 14% on Ashwin and 32% on Bhadra. MRR is रू 4,18,000 across 38 active subscriptions.

    रू 3,42,000Bhadra
    रू 3,96,500Ashwin
    रू 4,51,200Kartik
  3. Show me failed eSewa and Khalti payments from this week.

    Used 2 TolaPay tools:list_paymentsget_customer

    Without TolaPay

    I can't connect to eSewa or Khalti. You'd need to sign in to each merchant portal separately and filter the transactions by status for this week.

    With TolaPay MCP

    Two payments failed this week, so both invoices are still open.

    • Himalayan JavaKhalti · Tue 14:12रू 5,650Failed
    • Everest LabseSewa · Thu 09:40रू 11,300Failed
  4. Make a checkout for the Growth plan for Phewa Studio, accounts@phewa.example, and give me the link.

    Used 2 TolaPay tools:list_planscreate_checkout

    Without TolaPay

    I can't create payment links. You could open your payment provider's dashboard, create a payment request for the plan's price, and copy the link it gives you.

    With TolaPay MCP

    Here is the checkout for Phewa Studio on the Growth plan. They can pay with eSewa, Khalti, connectIPS or a card.

    Growth · monthlyरू 24,860

    app.tola.com.np/c/chk_4mvq82nd…

    Test mode · sandbox payments only

  5. Set up a Dashain code: 10% off for the first 100 buyers.

    Used 1 TolaPay tool:create_discount

    Without TolaPay

    I can't change your store's settings. Most checkout tools have a Discounts section where you can create a percentage code and limit how many times it can be used.

    With TolaPay MCP

    Done. Buyers enter the code at checkout, and it stops working after 100 uses.

    DASHAIN1010% off · 0 of 100 usedTest mode

Illustrative examples with sample data. Live mode is read-only; creating checkouts and codes works in test mode.

Connect

Connect in a minute.

ChatGPT, Claude, Cursor or any app that supports MCP, as a custom connector

https://api.tola.com.np/mcp

Claude Code

claude mcp add --transport http tolapay https://api.tola.com.np/mcp

Sign in with your TolaPay account when your app asks, pick test or live, and approve. That's it.

In short

What is the TolaPay MCP server?

It is a Model Context Protocol server at https://api.tola.com.np/mcp that lets AI assistants use TolaPay as a tool. Add it to Claude, ChatGPT, Claude Code or Cursor, sign in to TolaPay and approve the app. It can then read your customers, invoices, payments, subscriptions and revenue, and in test mode create customers, products, checkouts, payment links, discounts and invoices. It can never refund, never change live data, and never do more than your own role allows.

Controls

An assistant, not a second admin.

The same roles, test and live separation and audit log as the rest of TolaPay apply to every connected app.

Specification tolapay · mcp

Approval
You sign in and say yesEvery app is approved on a TolaPay page that shows where access goes. No keys are pasted into the AI app.
Test mode
Read and createCustomers, products, checkouts, links, discounts and invoices in your test data. Nothing a real customer pays.
Live mode
Read onlyThe AI can look up live customers, invoices and payments but cannot create, change or refund anything.
Roles
Never more than yoursA connection carries the role of the person who approved it, and loses access when they leave or change their password.
Confirmation
Asks before it actsVoiding an invoice or cancelling a subscription is marked destructive, so the assistant asks you first.
Control
Disconnect any timeOwners and admins see every connected app under Developers → AI assistants, and each approval is in the audit log.

Questions

Questions about the TolaPay MCP.

Workflows, setup for each app and the controls in detail: the full guide on the blog.

What is MCP?

The Model Context Protocol is an open standard that lets AI assistants use tools. TolaPay runs an MCP server, so an assistant you connect can look up your customers, invoices and payments, and in test mode create checkouts, discounts and invoices for you.

Which AI apps work with TolaPay?

Claude (web and desktop), Claude Code, ChatGPT with developer mode connectors, Cursor, and other MCP apps that support signing in with OAuth. They all use the same server URL: https://api.tola.com.np/mcp.

Do I need an API key?

No. You sign in to TolaPay and approve the app, and it gets short-lived access that renews on its own. Developers who prefer keys can still send a tola_test_ key instead.

Can an AI assistant move money or issue refunds?

No. There is no refund tool, and live mode is read-only. In test mode an assistant can create checkouts and invoices in your test data, where no real payment happens.

Who sees my data?

The assistant you connect reads the data it needs to answer you, and that provider processes it under its own terms. TolaPay only shares what the tools return, only with apps you approve, and never more than your role allows.

How do I disconnect an app?

In the TolaPay dashboard, open Developers → AI assistants and click Disconnect next to the app. It loses access at once. Owners and admins can disconnect any member's apps.

Does it cost extra?

No. AI assistant access is part of TolaPay and free during the public beta. Your AI app's own plan and limits apply.

Ask your billing a question today.

Create a workspace, add the TolaPay MCP to Claude or ChatGPT, and approve it in test mode. Your first answer takes a minute.

Free while TolaPay is in public beta. You pay only your payment providers' own fees.