MCP Integration

AI-Powered Billing

Connect your favorite AI assistant to PayRequest. Manage invoices, track payments, and send reminders using natural language. Works with Claude, ChatGPT, Gemini, and more.

MCP Server:https://payrequest.app/mcp/billing
4
Billing Tools
<5min
Setup Time
OAuth2
Security

Show me all overdue invoices

Using get-overdue-invoicesMCP

I found 3 overdue invoices totaling €847.50:

INV-2026-038Acme Corp€350.0012 days
INV-2026-041TechStart B.V.€297.505 days
INV-2026-044Studio Max€200.002 days

Send reminders to all of them

Ask about your invoices...
Claude
ChatGPT
Model Context Protocol

What is MCP?

The Model Context Protocol is an open standard that enables AI applications to securely connect with external data sources and tools. PayRequest's MCP server lets AI assistants interact with your billing data in real-time.

Natural Language

Ask questions like "Show me overdue invoices" and get instant answers

Secure Access

OAuth 2.0 authentication with granular billing.read scope

Real-time Data

Always access current billing information, not cached data

Automated Actions

Send payment reminders and manage invoices hands-free

Compatible Platforms

Works with your AI tools

PayRequest MCP integrates with all major AI platforms. Choose your preferred assistant and start managing billing with natural language.

Claude Desktop

Anthropic's desktop app with full MCP support

Full SupportLearn more

Claude Code

AI coding assistant with MCP integration

Full SupportLearn more

ChatGPT

OpenAI's assistant via custom GPT actions

Via ActionsLearn more

Gemini

Google's AI with function calling support

Via Extensions

Cursor

AI-powered code editor with MCP settings

Full Support

Custom Clients

Any MCP-compatible application

HTTP/SSE
Available Tools

4 Powerful billing tools

Your AI assistant gets access to these tools for managing your PayRequest billing data.

get-invoice-stats

Get aggregated billing metrics and insights

Returns:Total invoices, pending/paid/overdue counts, outstanding amounts
Example query:

"What are my invoice statistics?"

list-invoices

Search and filter invoice records by status

Returns:Invoice details, amounts, status, due dates, customer names
Params:status, limit (max 100)
Example query:

"Show me all pending invoices"

get-overdue-invoices

Find invoices that need attention

Returns:Overdue invoices sorted by age, days overdue, totals
Params:limit (max 100)
Example query:

"Which invoices are overdue?"

send-invoice-reminder

Send payment reminder email to customer

Returns:Confirmation with invoice details and recipient
Params:invoice_id or invoice_number
Example query:

"Send a reminder for invoice INV-2026-042"

Natural Language

Just ask

No commands to memorize. Just ask your AI assistant in plain English and get instant results.

"What are my billing stats?"
get-invoice-stats
"Show me all pending invoices"
list-invoices
"Which invoices are overdue?"
get-overdue-invoices
"List my last 10 paid invoices"
list-invoices
"Send a reminder for INV-2026-042"
send-invoice-reminder
"How much revenue this month?"
get-invoice-stats
Quick Setup

Get started in minutes

Connect PayRequest to your AI assistant with just a few steps.

1

Create API Token

Go to Settings → API Tokens in PayRequest. Create a new token with billing.read scope.

2

Configure your AI

Add the PayRequest MCP server to your AI assistant's configuration file.

3

Start chatting

Restart your assistant and ask about your invoices. That's it!

Select your platform

claude_desktop_config.json
{
  "mcpServers": {
    "payrequest-billing": {
      "url": "https://payrequest.app/mcp/billing",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer $PAYREQUEST_API_TOKEN"
      }
    }
  }
}

Security tip

Use environment variables instead of hardcoding your token. Set PAYREQUEST_API_TOKEN in your shell profile.

Enterprise Security

Secure by design

Your billing data is protected with industry-standard security protocols.

OAuth 2.0

Industry-standard authentication

Scoped Access

billing.read permission only

Token Rotation

6-month expiry, easy refresh

Audit Logging

All actions are logged

Start Building

Ready to automate billing?

Get your API token and connect your AI assistant in minutes. Full documentation available.

Free with any PayRequest plan