Agent Billy MCP server for role-based Stripe billing access

Agent Billy MCP server for role-based Stripe billing access

mcp-agent-billy•byagent-billy

A local MCP proxy offering read and write Stripe billing tools, with permissions and refund limits enforced server-side by the Billy API based on the API key's role.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Exposes read tools to list and get charges, customers, subscriptions, invoices, and refunds, and to fetch dashboard stats.
  • •Provides write tools to issue refunds, manage customers, cancel or reactivate subscriptions, send or void invoices, and create or delete coupons.
  • •Includes a keyword search tool spanning customers, charges, subscriptions, and invoices.
  • •Enforces per-transaction refund limits by role, returning permission errors and logging actions to an audit trail.

BEST FOR

  • •Teams wanting AI assistants to query Stripe charges, customers, subscriptions, and invoices with scoped permissions.
  • •Organizations that need role-limited refund workflows, such as Billing Clerks capped at $100 per refund.

ABOUT MCP-AGENT-BILLY

Agent Billy MCP server for role-based Stripe billing access is cataloged as an MCP server attributed to agent-billy. A local MCP proxy offering read and write Stripe billing tools, with permissions and refund limits enforced server-side by the Billy API based on the API key's role. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Agent Billy MCP server for role-based Stripe billing access are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How are permissions and refund limits enforced?

Permissions and refund limits are enforced server-side by the Billy API, tied to the role of the API key used.

What happens if a refund exceeds the role's limit?

The request returns a permission error and the action is recorded in the audit trail.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 8d4656579666 · 采集于 2026-11-13 13:14:04 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Agent Billy MCP Server

Local MCP proxy that gives AI assistants (Claude, Cursor, Copilot) secure, role-based access to your Stripe billing through your Billy container API.

Quick Start

npx agent-billy --api-url https://yourorg.agentbilly.ai --api-key billy_your-api-key

Or use environment variables:

export BILLY_API_URL=https://yourorg.agentbilly.ai
export BILLY_API_KEY=billy_your-api-key
npx agent-billy

MCP Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "agent-billy": {
      "command": "npx",
      "args": ["-y", "agent-billy"],
      "env": {
        "BILLY_API_URL": "https://yourorg.agentbilly.ai",
        "BILLY_API_KEY": "billy_your-api-key"
      }
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Claude Code

claude mcp add agent-billy \
  -e BILLY_API_URL=https://yourorg.agentbilly.ai \
  -e BILLY_API_KEY=billy_your-api-key \
  -- npx -y agent-billy

Cursor

Go to Settings > MCP Servers > Add new MCP server and enter:

{
  "command": "npx",
  "args": ["-y", "agent-billy"],
  "env": {
    "BILLY_API_URL": "https://yourorg.agentbilly.ai",
    "BILLY_API_KEY": "billy_your-api-key"
  }
}

VS Code (GitHub Copilot)

Add to your settings.json:

{
  "mcp": {
    "servers": {
      "agent-billy": {
        "command": "npx",
        "args": ["-y", "agent-billy"],
        "env": {
          "BILLY_API_URL": "https://yourorg.agentbilly.ai",
          "BILLY_API_KEY": "billy_your-api-key"
        }
      }
    }
  }
}

Authentication

Generate an API key from your Billy dashboard:

  1. Log in at https://yourorg.agentbilly.ai
  2. Go to Settings > API Keys
  3. Click Generate Key and choose a role
  4. Copy the key and use it as your BILLY_API_KEY

API keys inherit the role you assign when creating them. A Billing Clerk key can only perform Billing Clerk actions. Keys can be revoked at any time from Settings.

Available Tools

Read Tools

ToolDescription
billy_list_chargesList recent charges. Filter by status (succeeded, failed, pending).
billy_get_chargeGet details for a specific charge by Stripe charge ID.
billy_list_customersList customers with pagination.
billy_get_customerGet details for a specific customer by Stripe customer ID.
billy_list_subscriptionsList subscriptions. Filter by status (active, past_due, canceled, trialing).
billy_list_invoicesList invoices. Filter by status (draft, open, paid, void, uncollectible).
billy_list_refundsList all refunds that have been issued.
billy_get_statsDashboard snapshot: MTD revenue, success rate, active subs, failed charges.
billy_searchSearch across customers, charges, subscriptions, and invoices by keyword.

Write Tools

ToolDescription
billy_create_refundIssue a full or partial refund for a charge.
billy_create_customerCreate a new Stripe customer.
billy_update_customerUpdate a customer's email, name, description, or metadata.
billy_cancel_subscriptionCancel a subscription (at period end or immediately).
billy_reactivate_subscriptionReactivate a canceled subscription that hasn't fully expired.
billy_send_invoiceSend an invoice to the customer via email.
billy_void_invoiceVoid an invoice so it can no longer be paid.
billy_create_couponCreate a discount coupon (percentage or fixed amount).
billy_delete_couponDelete a coupon so it can't be applied to new customers.

Role-Based Access

All permissions are enforced server-side. The API key inherits the role of the user who created it.

RoleReadRefundsManage SubsInvoicesCustomersCoupons
OwnerAllUnlimitedFullFullFullFull
Billing ManagerAllUp to $5,000FullFullFullFull
Billing ClerkAllUp to $100View onlyView onlyUpdate onlyNo
Read OnlyAllNoNoNoNoNo

Spending Limits

Refund limits are enforced per transaction, per role:

  • Owner: No limit
  • Billing Manager: $5,000 per refund
  • Billing Clerk: $100 per refund
  • Read Only: Cannot issue refunds

Attempting to exceed your limit returns a permission error. The action is logged in the audit trail.

CLI Options

agent-billy --api-url <url> --api-key <key>

Options:
  --api-url   Billy container API URL (or BILLY_API_URL env var)
  --api-key   API key (or BILLY_API_KEY env var)
  --token     JWT auth token, alternative to api-key (or BILLY_TOKEN env var)
  --help, -h  Show help

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Agent Billy MCP server for role-based Stripe billing access from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-agent-billy)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics