Benji Pays is now available in the Sherweb Marketplace
Gemini · MCP server

Connect Gemini CLI to Benji Pays

Gemini CLI is Google's command-line agent that signs in with a Gemini API key or a Gemini Code Assist Standard or Enterprise license. If you sign in to Gemini CLI with a personal Google account, use Antigravity CLI, which takes the same server URL and header. Add the Benji Pays Model Context Protocol (MCP) server with your API key, and Gemini CLI answers your accounts receivable (AR) questions and takes actions through the Benji Pays application programming interface (API).

  • Add one block to ~/.gemini/settings.json, or run gemini mcp add
  • Send your Benji Pays API key in the x-api-key header
  • Read invoices, customers and payments, then create payment links or charge an invoice

Accounts receivable

Example with sample data
Past due more than 30 days$9,870.00
Past due invoices3
Largest balance$4,250.00Acme IT Services
Gemini CLI
Example

YouWhich invoices are more than 30 days past due?

Gemini CLIThree invoices, $9,870.00 in total. Want a payment link for each?

MCP server URL

https://developer.benjipays.com/mcp

Send your Benji Pays API key in the x-api-key header.

See it in action

Ask Gemini CLI a question, get the answer from your Benji Pays data, then act on it in the same chat.

AskExample with sample data

YouWhich invoices are more than 30 days past due?

Gemini CLI benjipays · execute-request

Three invoices are more than 30 days past due, $9,870.00 in total.

CustomerInvoiceDays past dueBalance
Acme IT ServicesINV-104247$4,250.00
Globex LogisticsINV-101738$3,980.00
InitechINV-099833$1,640.00

Want a payment link for each one?

ActExample with sample data

YouCreate a payment link for INV-1042 and write a short note I can send with it.

Gemini CLI benjipays · execute-request

Done. The payment link for INV-1042 (Acme IT Services, $4,250.00) is ready to copy.

Payment link created

Hi Sam, here is a secure link to pay invoice INV-1042 online. Thanks!

ActExample with sample data

YouAdd a note to Globex Logistics: promised payment Friday.

Gemini CLI benjipays · execute-request

Done. Note added to Globex Logistics: Promised payment Friday.

Sample data. Names and amounts are made up.

Which Gemini route works with Benji Pays

Gemini CLI can send the x-api-key header the Benji Pays MCP server uses, so you connect with your API key. As of December 2026, the custom apps option in the Gemini chat app takes an MCP server URL and, when the server needs it, an OAuth client ID and secret. It has no field for a custom header, so it cannot send a Benji Pays API key.

Google’s custom apps help

What you can ask

Ask your AI toolWhat happens
“Which invoices are past due, and which customers owe the most?”Gemini CLI lists open invoices and ranks customers by balance due.
“What payments came in this week?”Gemini CLI pulls this week’s transactions with amounts and payment methods.
“Which AutoPay charges are coming up?”Gemini CLI reads the AutoPay forecast for your organization.
“Create a payment link for an invoice.”Gemini CLI creates a payment link tied to that invoice, ready to send.
“Ask a customer to put a card on file.”Gemini CLI creates a payment-method request and gives you the link to send the customer.
“Charge an invoice to the card on file.”Gemini CLI charges the stored payment method and Benji Pays posts the payment back to your books.
“Add a note to this customer: promised payment Friday.”Gemini CLI adds the note to the customer’s record.

How it works

  1. Ask

    You ask in Gemini CLI, in plain English. Gemini CLI looks up the Benji Pays API route it needs, then calls it through the MCP server.

    Example Which invoices are more than 30 days past due?

  2. Your assistant calls the Benji Pays API

    The MCP server calls the Benji Pays API with your key. The key’s scopes are what limit what Gemini CLI can read or change.

    Example benjipays · execute-request

  3. Get the answer or the change

    Gemini CLI answers with live Benji Pays data, or makes the change you asked for, in that same session.

    Example Note added to the customer

FAQ

Can Gemini connect to Benji Pays?

Yes, through Gemini CLI with a Gemini API key or a Gemini Code Assist Standard or Enterprise license, or through Antigravity CLI if you use a personal Google account. As of December 2026, the custom apps option in the Gemini chat app takes an MCP server URL and, when the server needs it, an OAuth client ID and secret. It has no field for a custom header, so it cannot send a Benji Pays API key.

What can Gemini CLI do in Benji Pays?

Gemini CLI can read invoices, customers, transactions and the AutoPay forecast, and make changes such as creating payment links, requesting a payment method on file or charging an invoice to a stored payment method, as long as your API key has the scopes for them.

Do I need an API key?

Yes. You need a Benji Pays API key from API Access.

See it on your own invoices

Book a demo and we will walk you through Benji Pays and the MCP server.

Claude, Grok Build, Grok Bot, ChatGPT, Codex, Gemini and Antigravity are trademarks of their respective owners. Benji Pays is not affiliated with or endorsed by them.