manage_billing
Access the Stripe billing portal to manage your subscription, update payment methods, or cancel services. Provides a secure URL for browser access when you have an active Pro subscription.
Instructions
Open the Stripe billing portal to manage your subscription, update payment method, or cancel. Returns a portal URL — tell the user to open it in their browser. Only works if you have an active Pro subscription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- packages/mcp/src/tools.ts:732-739 (handler)The handler for the 'manage_billing' tool, which performs an API request to /api/stripe/portal to get the Stripe billing portal URL.
manage_billing: { description: "Open the Stripe billing portal to manage your subscription, update payment method, or cancel. Returns a portal URL — tell the user to open it in their browser. Only works if you have an active Pro subscription.", inputSchema: z.object({}), handler: async () => { return apiRequest("/api/stripe/portal", { method: "POST" }); }, },