MCP Billing Gateway

Billing proxy for MCP servers. Adds Stripe and x402 crypto payments without writing billing code.

我該用這個嗎

品質與安全性

A
說明品質
84%
結構描述完整度
100%
命名品質
98%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'create_server' description lacks action verb在 create_server 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,340Token(工具定義)
~1.1 KB典型回應大小
中等的注意力影響(128k 上下文的 1.05%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "mcp-billing-gateway": {
      "command": "uvx",
      "args": [
        "mcp-billing-gateway"
      ]
    }
  }
}

可執行的套件

pypimcp-billing-gateway0.1.2stdio

遠端端點

https://mcp-billing-gateway-production.up.railway.app/mcp/streamable-http

它能做什麼

工具清單

工具(12)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪register_operator(email, name)

Register a new operator account with Stripe Connect onboarding

輸入結構描述

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Operator email address"
    },
    "name": {
      "type": "string",
      "description": "Operator or company name"
    }
  },
  "required": [
    "email",
    "name"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_operator_info(api_key)

Get current operator profile and status

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    }
  },
  "required": [
    "api_key"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_servers(api_key)

List all MCP servers registered by the operator

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    }
  },
  "required": [
    "api_key"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_server(api_key, name, upstream_url, proxy_slug, description, ...)

Register a new MCP server for billing

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "name": {
      "type": "string",
      "description": "Server display name"
    },
    "upstream_url": {
      "type": "string",
      "description": "Upstream MCP server URL"
    },
    "proxy_slug": {
      "type": "string",
      "description": "URL slug for the billing proxy endpoint"
    },
    "description": {
      "description": "Server description",
      "type": "string"
    },
    "auth_mode": {
      "description": "Auth mode: header (default) or query",
      "type": "string"
    },
    "transport": {
      "description": "Transport type: http (default) or stdio",
      "type": "string"
    },
    "is_public": {
      "description": "Whether to list in public server directory",
      "type": "boolean"
    }
  },
  "required": [
    "api_key",
    "name",
    "upstream_url",
    "proxy_slug"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_server(api_key, server_id)

Get server details including pricing plans

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "server_id": {
      "type": "string",
      "description": "Server ID"
    }
  },
  "required": [
    "api_key",
    "server_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡update_server(api_key, server_id, name, description, upstream_url, ...)

Update server settings (name, description, upstream_url, is_public, status)

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "server_id": {
      "type": "string",
      "description": "Server ID"
    },
    "name": {
      "description": "New server name",
      "type": "string"
    },
    "description": {
      "description": "New description",
      "type": "string"
    },
    "upstream_url": {
      "description": "New upstream URL",
      "type": "string"
    },
    "is_public": {
      "description": "Public listing toggle",
      "type": "boolean"
    },
    "status": {
      "description": "Server status (active/paused)",
      "type": "string"
    }
  },
  "required": [
    "api_key",
    "server_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴delete_server(api_key, server_id)

Soft-delete a server (can be restored)

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "server_id": {
      "type": "string",
      "description": "Server ID to delete"
    }
  },
  "required": [
    "api_key",
    "server_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_plan(api_key, server_id, name, billing_model, price_per_call_usd_micro, ...)

Create a pricing plan for a server

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "server_id": {
      "type": "string",
      "description": "Server ID"
    },
    "name": {
      "type": "string",
      "description": "Plan name"
    },
    "billing_model": {
      "type": "string",
      "enum": [
        "per_call",
        "subscription",
        "tiered"
      ],
      "description": "Billing model"
    },
    "price_per_call_usd_micro": {
      "description": "Price per call in USD micros (1/1,000,000)",
      "type": "number"
    },
    "free_calls_per_month": {
      "description": "Free calls per month",
      "type": "number"
    },
    "is_default": {
      "description": "Set as default plan for this server",
      "type": "boolean"
    },
    "subscription_price_usd_cents": {
      "description": "Monthly subscription price in cents",
      "type": "number"
    },
    "subscription_interval": {
      "description": "Subscription interval (month/year)",
      "type": "string"
    },
    "subscription_call_limit": {
      "description": "Max calls per subscription period",
      "type": "number"
    }
  },
  "required": [
    "api_key",
    "server_id",
    "name",
    "billing_model"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_plans(api_key, server_id)

List pricing plans for a server

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "server_id": {
      "type": "string",
      "description": "Server ID"
    }
  },
  "required": [
    "api_key",
    "server_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡update_plan(api_key, plan_id, name, price_per_call_usd_micro, free_calls_per_month, ...)

Update a pricing plan

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "plan_id": {
      "type": "string",
      "description": "Plan ID"
    },
    "name": {
      "description": "New plan name",
      "type": "string"
    },
    "price_per_call_usd_micro": {
      "description": "New price per call",
      "type": "number"
    },
    "free_calls_per_month": {
      "description": "New free call limit",
      "type": "number"
    },
    "is_default": {
      "description": "Set as default plan",
      "type": "boolean"
    },
    "is_active": {
      "description": "Activate or deactivate plan",
      "type": "boolean"
    }
  },
  "required": [
    "api_key",
    "plan_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_usage(api_key, server_id, from, to)

Get usage analytics for a server (calls, revenue, top callers)

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    },
    "server_id": {
      "type": "string",
      "description": "Server ID"
    },
    "from": {
      "description": "Start date (YYYY-MM-DD)",
      "type": "string"
    },
    "to": {
      "description": "End date (YYYY-MM-DD)",
      "type": "string"
    }
  },
  "required": [
    "api_key",
    "server_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_revenue(api_key)

Get revenue summary and payout history

輸入結構描述

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Operator API key"
    }
  },
  "required": [
    "api_key"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本12 個工具
已驗證未記錄版本12 個工具
已驗證未記錄版本12 個工具