MCP server · Audited from source
Billing Tools MCP server
by arnaudjnn/billing-toolsMIT licenceAudited 12 Oct 2026 · source 6377a9ae5fa8
Is it safe? With care — CAUTION, grade B (86/100). It exposes 51 tools: 36 read, 11 write and 4 destructive. The audit recorded 15 findings (0 critical, 0 high, 3 medium, 12 low). Maintainer's description: The get-paid engine for Stripe + WorkOS apps, for humans and AI agents.
Cite
Cite this page
ModelsAtlas. “Billing Tools MCP server (arnaudjnn/billing-tools)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/arnaudjnn/billing-tools
Trust audit
Audit 0.4.1 · full source read 12 Oct 2026
15 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared6 observations
- NetworkDeclared7 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 5 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
arnaudjnnUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@arnaudjnn/billing-toolsat version 25.8.10 - LicenceMITFrom the repository, as read at the audited commit.
- Last push8 days agoActivity of the repository when we read it.
- Source commit read6377a9ae5fa8The audit covers exactly this commit, read on 12 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory51 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (15)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · scripts/live/13-notifications-quotes-alerts.mjs:68
const endpoint = `http://127.0.0.1:${server.address().port}/api/notify`;- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · scripts/live/13-notifications-quotes-alerts.mjs:470
webhookNotifier({ endpoint: `http://127.0.0.1:${deadPort}/gone`, secret, retries: 1, timeoutMs: 4000 }),- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
remove_member, remove_payment_method, revoke_api_key, revoke_invitation
- Why
- 4 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · scripts/lib/callers.mjs:7
import { runWithAuth, runWithPrincipal } from "../../dist/auth.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/lib/scratch-stripe.mjs:26
import { lookupKeyFor } from "../../dist/plans.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/lib/scratch-stripe.mjs:27
import { __setPlanPricesForTests } from "../../dist/plans.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/lib/scratch-workos.mjs:10
import { getWorkOS } from "../../dist/workos.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/lib/scratch-workos.mjs:11
import { ADMIN_ROLE_SLUG, listWorkOSRoleSlugs } from "../../dist/workos-setup.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@stripe/react-stripe-js, @stripe/stripe-js, @workos-inc/node, eu-vat-rates-data, stripe, @semantic-release/changelog, @semantic-release/exec, @semantic-release/git
- Why
- 18 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · AGENTS.md:69
- **Event polling instead of webhooks** (`events.ts`): a product choice — zero webhook secret, zero dashboard. **ONE EVENT MUST NOT WEDGE THE SWEEP**, and it did: a handler throw left the stored curso
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · AGENTS.md:493
`createAgentAuth({ adapter, config, branding, paths?, identityTypes?, baseUrl?, claimStore?, policy? })` returns framework-agnostic `(Request)=>Response` handlers implementing the [WorkOS auth.md](htt- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · AGENTS.md:749
**Opening a Checkout Session was always the library's; FINISHING one was every consumer's.** `completeCheckout(adapter, sessionId, opts)` / `api.checkout.complete` is the composite, because it is not
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:1927
* **webhook:** forward subscription checkouts; expose session metadata ([1815d0b](https://github.com/arnaudjnn/billing-tools/commit/1815d0bbacbcb9421f3ec7dd177355173fa6cd9c))
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:262
// app/api/stripe/webhook/route.ts → export const POST = webhook // raw body: keep it out of session middleware
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
51 declared in source · 4 destructive
4 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
remove_member | destructive | Remove somebody from the workspace. Their seat assignment and any granted allowance |
remove_payment_method | destructive | Remove a saved card. Removing the default is refused while another card exists — Stripe does not promote a replacement, so the next invoice would simply fail. |
revoke_api_key | destructive | Revokes (deletes) an API key by id. Use list_api_keys to find the id. The revoked key stops working immediately. Free. |
revoke_invitation | destructive | Cancel a pending invitation, freeing the seat it was holding. |
change_member_role | write | Move a member between roles (${roles.join( |
close_workspace | write | Stop a workspace: cancel its billing, KEEP its invoices, and return each member |
create_api_key | write | No description in the source |
rename_workspace | write | Rename the workspace. The name appears on invoices, in the members list, and wherever |
request_plan_change | write | Ask an owner to move the workspace up a plan. Use when usage is exhausted and the plan has no per-seat allowance to top up. Does NOT change the plan or take a payment — it queues the ask for whoever can. The plan defaults to the next one up. |
request_seat_change | write | Ask an owner to move you to a bigger seat. Use when a seat |
set_auto_reload | write | Configure automatic credit reload. When your balance drops to or below the threshold after a tool call, your saved card is charged to bring the balance back to reload_to. Requires a saved card (use buy_credits first). |
set_billing_profile | write | Update the billing details. Only the fields you pass are changed; pass an empty string to clear one. The address determines the tax charged on future invoices — Stripe does not reissue invoices already sent. |
set_default_payment_method | write | Choose which saved card future charges are billed to. Use get_billing_portal to ADD a card — that needs a browser to confirm it with Stripe. |
set_spend_controls | write | Set your workspace |
set_tax_id | write | Set the workspace |
accept_plan_quote | read | Accept the price an operator quoted for a plan change (workspace admins). Charges the card on file if there is one, otherwise emails a payable invoice — either way the credits land when the invoice is PAID. Nothing is charged until this is called. |
approve_top_up | read | Approve a pending top-up request → grants the requested extra credits to that member for the cycle (added on top of their seat pack by the meter). |
assign_seat_type | read | Assign a workspace member to a seat type (e.g. standard, premium). The member |
broke_tool | read | refuses for money |
buy_credits | read | Purchase credits. 1 unit of currency = 100 credits. HOW it is paid for is \ |
cancel_plan | read | Cancel the subscription at the end of the period already paid for. Nothing is refunded and nothing is lost today — the workspace drops to the free plan when the period ends. Reverse it before then with change_plan back to the current plan. |
change_plan | read | No description in the source |
deny_top_up | read | Deny a pending top-up request. |
download_invoice | read | Returns a direct PDF link for one invoice. Drafts and auto-reload receipts have no PDF; use view_invoice for those. |
echo | read | Echo the arguments |
get_api_key | read | Provisions or retrieves an API key for accessing protected tools. Call with just an email to start authentication (sends a 6-digit code via email). Then call again with the email and the code to complete authentication and receive your API key. Add the key to your config as: |
get_billing_portal | read | Get a Stripe billing-portal URL to manage your subscription (upgrade, downgrade, cancel), update your payment method, and view invoices. Returns a short-lived link. Pass \ |
get_billing_profile | read | The workspace |
get_credit_balance | read | Returns your current credit balance, per-tool costs, and auto-reload settings. |
get_org_usage | read | Every member of the workspace measured against whatever caps them — their seat pack, else the shared pool — plus who is at or over it, and the team |
get_plan | read | The workspace |
get_spend_controls | read | Your workspace |
get_usage | read | Get your workspace |
get_usage_limits | read | Get every usage limit that applies to you right now (per hour/day/week/month and per billing cycle), how much of each is used, and when each resets. |
grant_top_up | read | Grant a member extra allowance for the current cycle WITHOUT waiting for them to request it, as a percentage of their own seat pack (default 25%). Admin action. |
invite_member | read | Invite somebody to the workspace by email. Roles: ${roles.join( |
list_api_keys | read | Lists the API keys for your workspace (obfuscated values, never the full key). Useful for finding stale keys to revoke. Free. |
list_invitations | read | Invitations for this workspace and their state (pending, accepted, expired, revoked). |
list_invoices | read | Returns your recent invoices with amounts, dates, status (paid/open), and links to view/download PDFs. |
list_members | read | List everyone in the workspace: user id, email, role, and status. Also reports how many |
list_payment_methods | read | The cards saved for this workspace, and which one is the default that subscription and usage charges are billed to. |
list_plans | read | List the available subscription plans (seats, included credits, and monthly/yearly prices). Prices are provisioned in Stripe automatically. |
list_seats | read | List the workspace |
list_top_up_requests | read | List the workspace |
preview_credit_purchase | read | What a credit purchase will cost, before buying: credits, tax and total. Quoted from the same Stripe tax rates buy_credits will charge, so the two agree. |
preview_plan_change | read | What moving to a plan would cost, WITHOUT making the change. Returns four numbers, and they mean different things: \ |
quote_plan_change | read | Price an open plan-change request (platform operators only). Give a credit quantity and a price PER CREDIT — the total is computed here, so the figure a customer accepts and the figure they are charged cannot drift. Charges nothing: they accept with accept_plan_quote. |
request_top_up | read | Ask for extra credits on a member |
resolve_plan_request | read | Mark a plan-change or seat-change request handled or refused (admin). Recording it handled does NOT move anything — use change_plan or assign_seat_type for that, and change_plan takes a payment. |
sell_credits | read | No description in the source |
view_invoice | read | Returns one invoice by id: amount, status, date, and a hosted link to view it in the browser. |
Install
Package version 25.8.10 · audited commit 6377a9a
Read the findings first. The most severe is Network egress (medium) at scripts/live/13-notifications-quotes-alerts.mjs.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 25.8.10. The audit covers commit 6377a9a only.
claude mcp add billing-tools --env BILLING_OPERATOR_TOKEN=${BILLING_OPERATOR_TOKEN} --env REFRESH_TOKEN_SECRET=${REFRESH_TOKEN_SECRET} --env STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY} --env STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET} -- npx -y @arnaudjnn/[email protected]{
"mcpServers": {
"billing-tools": {
"command": "npx",
"args": [
"-y",
"@arnaudjnn/[email protected]"
],
"env": {
"BILLING_OPERATOR_TOKEN": "${BILLING_OPERATOR_TOKEN}",
"REFRESH_TOKEN_SECRET": "${REFRESH_TOKEN_SECRET}",
"STRIPE_SECRET_KEY": "${STRIPE_SECRET_KEY}",
"STRIPE_WEBHOOK_SECRET": "${STRIPE_WEBHOOK_SECRET}"
}
}
}
}The command pins the package version recorded in the source (25.8.10); the audit covers commit 6377a9ae5fa8. Transport: not declared. Reads these environment variables: BILLING_OPERATOR_TOKEN, REFRESH_TOKEN_SECRET, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, WORKOS_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 86 / 100
First audit ·
6377a9ae5fa8
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/arnaudjnn/billing-tools/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Billing Tools MCP server
What is the Billing Tools MCP server?
What tools does Billing Tools expose?
Is Billing Tools safe to connect to an agent?
What credentials does Billing Tools need?
How current is this page?
Sources
- arnaudjnn/billing-tools on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 6377a9ae5fa8Observed · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Billing Tools MCP server?
- What tools does Billing Tools expose?
- Is Billing Tools safe to connect to an agent?