Billingserv

com.billingservPublished by billingserv.comv0.2.1Updated Nov 3, 2026

BillingServ MCP server for customers, invoices, orders, packages, licenses, and revenue reports.

VerifiedSTDIODesktop onlyFinanceBusiness & Commerce

Overview

AI-generated overview

Connects an AI assistant to a BillingServ billing installation so it can look up customers, invoices, orders, packages, licenses and revenue reports, and…

What you can do
  • List the allowlisted BillingServ endpoints with their parameters and valid values
  • Read customers, invoices, orders, packages, support tickets, marketing discounts, usage metering, settings, VPN and geography data
  • Pull revenue and sales reports such as annual sales, revenue trend, sales by staff or customer, customer debt and login history
  • Create or update records: support tickets and replies, orders, customers and notes, invoices and quotes, packages and discounts
  • Activate, validate and deactivate software licenses
When to use it
Useful when an assistant should answer billing questions from live BillingServ data instead of guessing, for example unpaid invoices, revenue trends, package upgrade options or license validation, and when you want it to draft tickets, orders or invoices under approval.
Requirements
Runs locally over stdio via npx, so Node.js 20 or newer is needed. Requires a BillingServ API v2 base URL in BILLINGSERV_API_BASE_URL and an API key in BILLINGSERV_API_KEY; BILLINGSERV_TIMEOUT_MS is optional (default 15000). Network access to your BillingServ installation is required.
Before you install
The API key is a secret passed in the environment and grants access to your billing data. The create tool writes records and can send invoices and reminders, so gate it behind approval in your client. Deleting records and capturing payments are not available. License endpoints use the submitted license key as their credential, and the API key is sent to whatever base URL you configure.

Installation

In SourceWeft

  1. Open Billingserv in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

BillingServ MCP Server

The BillingServ MCP server connects AI assistants like Claude, ChatGPT (Codex), Cursor, and Gemini to your BillingServ account.

It provides Model Context Protocol (MCP) access to the BillingServ API. Once it's set up, your AI assistant can look up customers, invoices, orders, packages, software licenses, and reports straight from your BillingServ installation. Ask things like:

  • "Which customers have unpaid invoices this month?"
  • "Show me the revenue trend for this year."
  • "What packages does customer 123 have, and what could they upgrade to?"
  • "Validate this software license activation."

And your assistant answers from live billing data instead of guessing.

You can also ask it to do things: raise a support ticket, create an order, draft an invoice, or add a note to a customer.

Safe by design. The server only calls a fixed allowlist of BillingServ endpoints, checked on every request. Reads and writes are separate tools, so you can let your AI look things up freely while requiring approval for anything that creates or changes records. Deleting records and capturing payments are deliberately not available.

Requirements

  • Node.js 20 or newer (npx comes with it)
  • A BillingServ API key

Configuration

Every client setup below uses the same three environment variables:

VariableRequiredDescription
BILLINGSERV_API_BASE_URLYesYour BillingServ API v2 base URL, e.g. https://billing.example.com/api/v2
BILLINGSERV_API_KEYYesYour BillingServ API key
BILLINGSERV_TIMEOUT_MSNoRequest timeout in milliseconds (default 15000)

Setup

Find your client below, drop in your URL and API key, and you're done.

Claude Code

One command:

bash
claude mcp add billingserv \  --env BILLINGSERV_API_BASE_URL="https://billing.example.com/api/v2" \  --env BILLINGSERV_API_KEY="your_api_key" \  -- npx -y @billingserv/mcp-server

Restart Claude Code and try asking it to list your BillingServ endpoints.

Claude Desktop

Open Settings → Developer → Edit Config and add this to claude_desktop_config.json:

json
{  "mcpServers": {    "billingserv": {      "command": "npx",      "args": ["-y", "@billingserv/mcp-server"],      "env": {        "BILLINGSERV_API_BASE_URL": "https://billing.example.com/api/v2",        "BILLINGSERV_API_KEY": "your_api_key"      }    }  }}

Restart Claude Desktop and look for the billingserv tools under the tools icon.

OpenAI Codex CLI

Add this to ~/.codex/config.toml:

toml
[mcp_servers.billingserv]command = "npx"args = ["-y", "@billingserv/mcp-server"]
[mcp_servers.billingserv.env]BILLINGSERV_API_BASE_URL = "https://billing.example.com/api/v2"BILLINGSERV_API_KEY = "your_api_key"

Cursor

Add this to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:

json
{  "mcpServers": {    "billingserv": {      "command": "npx",      "args": ["-y", "@billingserv/mcp-server"],      "env": {        "BILLINGSERV_API_BASE_URL": "https://billing.example.com/api/v2",        "BILLINGSERV_API_KEY": "your_api_key"      }    }  }}

VS Code (GitHub Copilot)

Add this to .vscode/mcp.json in your workspace:

json
{  "servers": {    "billingserv": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@billingserv/mcp-server"],      "env": {        "BILLINGSERV_API_BASE_URL": "https://billing.example.com/api/v2",        "BILLINGSERV_API_KEY": "your_api_key"      }    }  }}

Gemini CLI

Add this to ~/.gemini/settings.json:

json
{  "mcpServers": {    "billingserv": {      "command": "npx",      "args": ["-y", "@billingserv/mcp-server"],      "env": {        "BILLINGSERV_API_BASE_URL": "https://billing.example.com/api/v2",        "BILLINGSERV_API_KEY": "your_api_key"      }    }  }}

Other MCP clients

Any MCP client that supports stdio servers will work. Point it at:

  • Command: npx
  • Arguments: -y @billingserv/mcp-server
  • Environment: the variables from Configuration

Tools

The server gives your assistant three tools:

billingserv_list_endpoints

Lists every BillingServ endpoint the server can call, along with descriptions, required parameters, and valid values. Assistants usually call this first to see what data is available.

billingserv_get

Calls one allowlisted BillingServ API v2 GET endpoint.

json
{  "endpoint": "customer/get",  "query": { "id": 123 }}

Endpoints with placeholders in the path take a path object instead:

json
{  "endpoint": "meter/{customer_id}/get/{order_id}",  "path": { "customer_id": 123, "order_id": 456 }}

billingserv_create

Creates or updates records through an allowlisted set of POST endpoints. It also activates, validates, and deactivates software licenses. This is the tool to gate behind approval in your MCP client if you want a confirmation step before anything changes.

json
{  "endpoint": "ticket/create",  "body": {    "subject": "Question about my last invoice",    "user_id": 123,    "message": "Customer called about a duplicate charge.",    "support_department": "billing"  }}

Available endpoints

AreaEndpoints
Customerscustomer/lists, customer/get, customer/get-credit
Invoicesinvoice/lists, invoice/get-payment-method, invoice/get-transactions
Ordersorder/get-orders, order/get-orders-by-status, order/available-package-changes, order/preview-package-change, order/check-fraud
Packagespackage/lists, package/get, package/show, package/get-by-customer, package/group/lists, package/group/get, package/option/lists, package/option/get
Reportsreport/annual-sales, report/revenue-trend, report/sales-by-staff, report/sales-by-customer, report/package-leaderboard, report/customer-receipt, report/customer-credit, report/customer-invoice, report/customer-debt, report/login-history
Support ticketsticket/lists, ticket/get
Marketingmarketing/lists, marketing/get-discount
Usage meteringmeter/{customer_id}/get/{order_id}
Settingssetting/invoice, setting/lists-staff, setting/get-staff, setting/lists-tax-zone, setting/get-tax-zone, setting/lists-tax-class, setting/get-tax-class
VPNvpn/branding/get, vpn/servers/list
Geographycountry/lists, country/get, county/lists-by-country
Modulesmodule/get-module-configuration

And these write endpoints, available through billingserv_create:

AreaEndpoints
Support ticketsticket/create, ticket/reply, ticket/update
Ordersorder/add-order
Customerscustomer/create, customer/add-note
Invoicesinvoice/create-invoice, invoice/create-quote, invoice/send-invoice, invoice/send-invoice-reminder
Packagespackage/create, package/update, package/group/create, package/group/update, package/option/create, package/option/update
Marketingmarketing/create-discount
Licensinglicense/activate, license/validate, license/deactivate

Package creation and updates support the API's digital_delivery object for download policies and software licensing controls. For example:

json
{  "endpoint": "package/update",  "body": {    "id": 12,    "group_id": 3,    "name": "Desktop App",    "digital_delivery": {      "delivery_enabled": true,      "download_policy": "cap_limited",      "max_downloads": 5,      "licensing_enabled": true,      "activation_limit": 2,      "offline_cache_minutes": 60    }  }}

Security

  • The endpoint allowlist is compiled into the server and checked on every request. Only allowlisted endpoints can be called.
  • Sensitive routes like password reset are deliberately left out.
  • Your API key is read from the environment and only ever sent to the base URL you configure. It's never logged or included in tool output.
  • Licensing endpoints use the submitted license key as their credential, as required by the API, so the BillingServ bearer token is not sent to those routes.

Development

bash
git clone https://github.com/billingserv/billingserv-mcp-server.gitcd billingserv-mcp-servernpm installnpm run build
BILLINGSERV_API_BASE_URL="https://billing.example.com/api/v2" \BILLINGSERV_API_KEY="your_api_key" \npm start

Or put the variables in a local .env file (gitignored) and run npm run start:dev.

License

MIT

Source: README.md at commit 4802cf1

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.1LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.