Polar.sh MCP for AI. Manage SaaS billing, subscriptions, and orders from your agent.
Works with every AI agent you already use
…and any MCP-compatible client








Connect to your AI in seconds.
Polar.sh manages open-source monetization, SaaS billing, and digital product delivery. Connect it to your agent to list products, track customer orders, generate invoices, and manage subscriptions—all from natural language.
It's a centralized system for running the business side of your code.
What your AI can do
Confirm checkout client
Confirms a specific checkout session from the client side.
Create benefit
Creates and defines a new benefit for customers.
Create checkout
Starts a new billing session to capture customer intent and details.
Create new digital products or update existing ones using create_product and update_product.
List all customer orders (list_orders), check specific order details (get_order), or generate an invoice record (generate_invoice).
Create free subscriptions for community members (create_subscription) or immediately terminate access using revoke_subscription.
Review the checkout funnel by listing recent sessions with list_checkouts and getting details with get_checkout.
Get a full overview of any customer's active subscriptions, benefits, and account status using get_customer_state.
Ask an AI about this
Waiting for input…
Polar.sh: 28 Tools for Billing and Monetization
These tools let you programmatically create, modify, and retrieve all core components of a billing system—from products to invoices.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Polar.sh on VinkiusConfirm Checkout Client
Confirms a specific checkout session from the client side.
Create Benefit
Creates and defines a new benefit for customers.
Create Checkout
Starts a new billing session to capture customer intent and details.
Create Customer Session
Generates a secure token needed to initiate a customer billing session.
Create Customer
Creates a brand-new customer record in the system.
Create Product
Defines and adds a new product to the store catalog.
Create Subscription
Sets up a free subscription for a user account (limited to products).
Create Webhook Endpoint
Creates an external URL endpoint that will receive data updates from Polar.
Delete Benefit
Removes a benefit and revokes all associated user grants immediately.
Generate Invoice
Creates a formal invoice record for a specific order ID.
Get Benefit
Retrieves the detailed definition of a single product benefit.
Get Checkout
Fetches all details about a specific, ongoing checkout session.
Get Customer State
Retrieves a complete profile showing the customer's current subscriptions and benefits.
Get Invoice
Fetches the stored data of an invoice that was previously generated.
Get Order
Retrieves all historical details for a single customer order ID.
Get Portal Me
Gets the basic profile information of the currently authenticated user.
Get Product
Retrieves all details for a specific product ID or SKU.
Get Subscription
Fetches the current status and renewal dates of an active subscription.
List Benefits
Lists all benefits that have been defined in the system.
List Checkouts
Retrieves a list of recent, completed, or abandoned checkout sessions.
List Customers
Lists all customer accounts in the system, often filtered by criteria.
List Orders
Retrieves a paginated list of multiple historical order records.
List Portal Benefit Grants
Shows which benefits have been granted to specific customers by the portal.
List Portal License Keys
Lists all license keys assigned to customer accounts.
List Portal Orders
Shows a list of orders associated with the developer portal account.
List Portal Subscriptions
Lists all subscriptions tied to a specific developer portal customer.
List Products
Filters and lists available products, allowing filtering by recurrence or...
List Subscriptions
Provides a list of all active subscriptions across the platform.
List Webhook Deliveries
Lists and monitors the delivery status of webhooks.
Revoke Subscription
Immediately cancels or revokes a customer's active subscription access.
Update Checkout
Modifies the details of an existing, in-progress checkout session.
Update Order
Updates non-billing data on a historical order record (e.g., billing address).
Update Product Benefits
Changes which benefits a specific product grants to its users.
Update Product
Modifies the details of an existing product in the catalog.
Update Subscription
Updates details for an existing subscription, such as billing cycles or plan names.
Validate Portal License Key
Checks if a given license key is active and valid against the customer account.
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Polar.sh, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,100+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Polar.sh. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This connection provides 36 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.
Tracking customer payments shouldn't require jumping between five different dashboards.
Right now, if a customer calls about their billing cycle, you have to open the CRM dashboard to check their status. Then you jump to the billing portal to see what benefits they were granted, and finally, maybe export an invoice from a spreadsheet tool just to send it over. It’s three different logins, five tabs, and at least 15 minutes of copy-pasting.
With this MCP server, you ask your agent: 'What's the status for user X?' The agent runs `get_customer_state`. It pulls all that information—subscriptions, benefits, order history—into one coherent data block. You get the answer directly in chat.
Polar.sh MCP Server: Manage your entire developer monetization stack.
Manual processes include tracking down a specific invoice, which requires knowing the exact order ID and then navigating to the billing section. You also have to manually send follow-up emails when subscriptions lapse or need renewal.
Now, you tell your agent: 'Generate an invoice for order ABC.' The server runs `generate_invoice` and returns the data immediately. Your workflow stays contained within your editor; nothing gets lost in a dashboard queue.
What your AI can actually do with this
Connect Polar.sh to any AI client to handle all aspects of open-source monetization and SaaS billing using plain English.
What You Can Do
- Product Catalog: List, create, or update digital goods and physical products. Manage benefits and recurring pricing models with
list_productsandcreate_product. - Billing & Orders: Check sales history, retrieve specific order details using
get_order, and generate professional invoices viagenerate_invoice. - Access Control (Subscriptions): List active users, grant free subscriptions for community members, or immediately revoke access when needed with
revoke_subscription. - Checkout Funnel: Inspect checkout sessions to understand where customers drop off using
list_checkouts.
How It Works
- Subscribe to the Polar server and enter your Polar Personal Access Token.
- Your AI agent connects this token to the service.
- You manage your entire developer business—from billing inquiries to product updates—directly through your preferred client (Claude, Cursor, etc.).
019ea5ff-61ed-7284-bcc7-da5f2f6352f4 Here's how it actually works
The bottom line is you manage complex billing tasks without leaving your terminal or editor.
Subscribe to the server and provide your Polar Personal Access Token.
Your AI client authenticates with the server using that token.
You issue commands in natural language (e.g., 'Show me all active subscriptions for user X') which map directly to specific tools.
Who is this actually for?
This server is built for the people who handle the money and the access rights. If you’re an open-source maintainer constantly juggling payments, a SaaS founder needing to monitor MRR on the fly, or a Product Manager granting community benefits, this cuts out the manual dashboard jumping.
Manages sponsorships and digital product sales by listing products (list_products) or generating invoices for donations.
Quickly checks Monthly Recurring Revenue (MRR) status, lists new orders (list_orders), and handles subscription support directly via the AI client.
Grants product benefits or free subscriptions to community contributors instantly using create_subscription without needing internal admin tools.
What Changes When You Connect
Automate access control: Instead of emailing manual revocation notices, call revoke_subscription to immediately terminate user access when payment fails. This is a critical workflow step.
Full financial oversight: Get the complete picture by running get_customer_state. It pulls together active subscriptions and benefits into one readable report for customer support.
Handle billing history: Need to know why an invoice was generated? Use get_order or list_orders to pull up every detail, including item costs and dates. No more guessing games.
Build the catalog dynamically: When you launch a new digital good, use create_product. This tool makes sure your agent knows exactly what products are available for purchase right away.
Inspect conversion paths: Before writing code to fix a payment issue, run list_checkouts and get_checkout. You can pinpoint if the failure happened on step 1 or step 3 of the checkout process.
See it in action
Handling an Abandoned Subscription
A community member tries to upgrade but quits halfway through. The agent runs list_checkouts to find the session ID, then uses get_checkout to see exactly where they got stuck (e.g., tax calculation failure). This data tells you precisely how to adjust your product or billing flow.
Generating Quarterly Reports
The finance team needs a report on all paid users last quarter. You ask the agent to run list_orders and filter by date range, then use get_invoice for the top 10 largest orders to manually compile key data points.
Onboarding a New Partner
A new partner needs access to a premium feature benefit. Instead of emailing a manual grant, you instruct your agent to run create_benefit first (if needed), and then use create_subscription to instantly activate that benefit for their account.
Auditing Product Changes
Product pricing changed, but the billing system needs updating. You instruct your agent to run get_product first to confirm old details, then use update_product and finally list_products to verify the change went live correctly.
The honest tradeoffs
Assuming Instant State Updates
Running update_order to correct a customer's billing address, then immediately calling get_customer_state and expecting the new data. The state might be stale.
After an update (like update_order), always confirm by fetching related details specifically using get_order first. Treat read operations as separate actions that require time to sync.
Trying to Create an Invoice Without a Session
Simply calling generate_invoice('random_id'). The tool needs context and won't know which order or customer you mean, resulting in a failure.
Always start by confirming the transaction details. Use get_order to pull up the correct historical record ID first. Then pass that verified ID into generate_invoice.
Overwriting Products Without Benefits
Calling update_product and changing pricing, but forgetting to update which benefits are attached. This breaks user access.
If you modify a product that grants access, always follow up with the appropriate calls: use get_product first, then use update_product_benefits before making any price changes.
When It Fits, When It Doesn't
Use this server if your pain point is managing financial or access control workflows for open-source projects or SaaS products. You need to move from manual dashboards and CSV exports to direct, programmatic interaction with core billing logic.
Don't use it if you just need general customer communication (use a dedicated messaging tool) or if you are only tracking non-monetary data (like user activity logs). If your requirement is purely about fetching static product descriptions without any billing context, get_product works. But if the action involves money—creating an order, changing access, or issuing an invoice—you need this server's full lifecycle tools.
Questions you might have
How do I check if a user can afford to use Polar.sh with the list_orders tool? +
The list_orders tool only pulls historical order data. If you need current payment status, you must first run get_customer_state to see active subscriptions and benefits.
Can I use Polar.sh to cancel a subscription using the revoke_subscription tool? +
Yep. revoke_subscription immediately cancels access for a specified user ID. It's the quickest way to terminate service after a billing issue.
What if I need to update an order but don't know the ID? Can Polar.sh help with get_order? +
No, get_order requires a precise Order ID. If you don't have it, start by running list_orders, then locate the record and use that specific ID.
How do I manage product benefits with Polar.sh? +
You can define them using create_benefit or update existing ones via update_product_benefits. The best practice is to check the current state first by running list_benefits.
Can I cancel a user's subscription through the AI? +
Yes, you can use the revoke_subscription tool by providing the specific Subscription ID to terminate access immediately.
How do I generate an invoice for a specific order? +
Simply use the generate_invoice tool with the Order ID. The agent will trigger the invoice generation process on Polar.sh.
Is it possible to update the benefits of an existing product? +
Yes, the update_product_benefits tool allows you to modify the array of benefit IDs associated with any of your products.
We've already built the connector for Polar.sh. Just plug in your AI agents and start using Vinkius.
No hosting. No infrastructure. No complex setup.
All 36 tools are live and waiting.
You're up and running in seconds.
Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.
Built, hosted, and secured by Vinkius. You just connect and go.