
Billingserv
com.billingserv由 billingserv.com 发布v0.2.1更新于 Nov 3, 2026
BillingServ MCP server for customers, invoices, orders, packages, licenses, and revenue reports.
概览
将 AI 助手连接到 BillingServ 计费系统,可查询客户、发票、订单、套餐、许可证和营收报表,并创建记录。
- 可以做什么
- 列出服务器可调用的 BillingServ 端点及其参数和可选值
- 读取客户、发票、订单、套餐、工单、营销折扣、用量计量、设置、VPN 和地理数据
- 获取年度销售、营收趋势、按员工或客户统计的销售、客户欠款、登录历史等报表
- 创建或更新记录:工单及回复、订单、客户及备注、发票与报价、套餐与折扣
- 激活、校验和停用软件许可证
- 适用场景
- 适合让助手基于实时 BillingServ 数据回答计费问题,例如未付发票、营收趋势、套餐升级选项或许可证校验;也适合在审批前提下起草工单、订单或发票。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js 20 或更高版本。需在 BILLINGSERV_API_BASE_URL 中提供 BillingServ API v2 基础地址,并在 BILLINGSERV_API_KEY 中提供 API 密钥;BILLINGSERV_TIMEOUT_MS 可选(默认 15000)。需要能访问你的 BillingServ 安装。
安装
在 SourceWeft 中
- 打开 控制台中的 Billingserv,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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 (
npxcomes with it) - A BillingServ API key
Configuration
Every client setup below uses the same three environment variables:
Setup
Find your client below, drop in your URL and API key, and you're done.
Claude Code
One command:
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:
Restart Claude Desktop and look for the billingserv tools under the tools icon.
OpenAI Codex CLI
Add this to ~/.codex/config.toml:
Cursor
Add this to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:
VS Code (GitHub Copilot)
Add this to .vscode/mcp.json in your workspace:
Gemini CLI
Add this to ~/.gemini/settings.json:
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.
Endpoints with placeholders in the path take a path object instead:
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.
Available endpoints
And these write endpoints, available through billingserv_create:
Package creation and updates support the API's digital_delivery object for download policies and software licensing controls. For example:
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
Or put the variables in a local .env file (gitignored) and run npm run start:dev.
License
MIT
来源:README.md,提交 4802cf1
工具
0版本历史
1- v0.2.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。