loading…
Search for a command to run...
loading…
Enables LLMs to interact with Billforward's billing and subscription management API, providing tools for accounts, subscriptions, invoices, payments, and more w
Enables LLMs to interact with Billforward's billing and subscription management API, providing tools for accounts, subscriptions, invoices, payments, and more with read-only safety by default.
A high-performance Model Context Protocol (MCP) server for integrating Billforward's robust billing and subscription management API with LLMs.
stdout, ensuring 100% reliable JSON-RPC communication.BILLFORWARD_READ_ONLY=true (default) mode to protect your data with instructional LLM error rejections.@modelcontextprotocol/sdk signatures (registerTool).You need an API token to allow the MCP server to communicate with Billforward.
Quick Links:
To run this server with npx (local or published):
{
"mcpServers": {
"billforward": {
"command": "npx",
"args": [
"-y",
"billforward-mcp"
],
"env": {
"BILLFORWARD_ACCESS_TOKEN": "your_private_access_token",
"BILLFORWARD_ENVIRONMENT": "sandbox",
"BILLFORWARD_READ_ONLY": "true"
}
}
}
}
The server behaves differently depending on these configurations:
| Variable | Default Value | Description |
|---|---|---|
BILLFORWARD_ENVIRONMENT |
sandbox |
Sets the target API. Change to production when ready. |
BILLFORWARD_READ_ONLY |
true |
When true, POST/PUT actions return instructional error messages to the LLM preventing data mutation. |
BILLFORWARD_PRODUCTION_URL |
https://app.billforward.net/v1/ |
Base URL used when environment is production. |
BILLFORWARD_SANDBOX_URL |
https://app-sandbox.billforward.net/v1/ |
Base URL used when environment is sandbox. |
BILLFORWARD_DEFAULT_RESULTS |
10 |
The default number of results parsed per paginated tool response. |
BILLFORWARD_MAX_RESULTS |
200 |
The hard limit cap on how many records the LLM can ask for per tool call. |
BILLFORWARD_TIMEOUT |
15000 |
Fallback timeout in milliseconds before failing a stuck Axios request. |
search: Parallelized unified search across Accounts, Subscriptions, and Invoices using email, ID, or keyword.get-customer-summary: 360-degree dashboard of a customer (profile, subs, recent invoices, dunning status).get-metadata-schema: Analyzes metadata keys in use across your environment to help filter queries.help: Get an overview of available entities and usage patterns.get-me: Validate your connection and view profile metadata.list-accounts: Fetch a paginated list of accounts (limit, offset, metadata, created_after).get-account: Retrieve full details for a specific UUID.get-account-by-email: Find an account quickly by its exact email address.list-subscriptions: Fetch a paginated list of subscriptions (limit, offset, created_after).get-subscription: Retrieve full details for a specific UUID.list-invoices / get-invoice: Fetch invoices and draft details.list-payments / list-receipts: Fetch payments and their corresponding receipts.list-products: List the main product lines.list-product-rate-plans: List specific rate plans (the entities that accounts subscribe to).Enable Read-Only Mode by ensuring the environment variable BILLFORWARD_READ_ONLY=true is set (it is true by default for safety).
If the LLM attempts to use tools like create-account or update-subscription while Read-Only is active, the operation will be blocked, and the LLM will receive a descriptive error instructing it to inform you that modifications are disabled.
pnpm run build
pnpm test
Includes a special protocol.test.ts to ensure no third-party package ever leaks logs to the MCP stream again.
Выполни в терминале:
claude mcp add billforward-mcp -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.