# Polar MCP for AI Agents AI Agent Connect

> Polar lets you handle your entire digital storefront from a single chat. You can create checkout links, track active subscriptions, and manage discount codes without leaving your workspace. It connects your commerce backend to your AI agent so you can audit products, find customers by email, or check order statuses instantly.

## Overview
- **Category:** ecommerce
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6Lj8RmUwCZb6fJyvbA7PZv7rzedMSBKRMRGlU8Vh/ai-agent-connect
- **Tags:** creator-economy, digital-products, subscription-billing, checkout-flow, revenue-tracking, monetization

## Description

Managing a digital storefront usually feels like a chore of constant context switching. You have to leave your code or your docs to log into a dashboard, find a specific customer email, and check if their subscription actually went through. It's a series of clicks that breaks your flow and wastes time. Polar changes that by letting your AI agent handle the heavy lifting of your commerce operations. Instead of manually digging through customer lists or checking if a subscription is still active, you can just ask your agent to do it for you. You'll get a clear picture of your revenue, manage your product catalog, and handle customer inquiries without the usual friction. It's like having a commerce engineer who knows your entire store by heart. By connecting Polar to Vinkius, you're putting these capabilities into your daily workflow, making it way easier to scale your products while staying on top of the details. Whether you're an indie dev launching a new tool or a marketing lead running a sale, this setup lets you stay focused on building rather than clicking through a dashboard. You can audit your product listings, create promotional codes, and monitor your webhooks in one place.

## Tools

### create_checkout
Generates a unique checkout URL for a specific product. It can optionally link to a customer or apply a discount.

### list_customers
Retrieves a list of all customers in your store. You can also filter this list by a specific email address.

### list_discounts
Shows all active and inactive discount codes. Use this to audit your promotional offers and their current status.

### list_orders
Pulls a list of completed orders including payment status, currency, and customer info. Great for tracking revenue.

### list_products
Lists every product in your store, including names, types, and pricing. Use this to audit your entire catalog.

### list_subscriptions
Shows all active, canceled, and past_due subscriptions. It includes period dates and customer info for every entry.

### list_webhooks
Shows all configured webhook endpoints and their subscribed events. Use this to audit your event integrations.

### create_discount
Creates a new discount code with specific rules like percentage off or fixed amounts. You can also set the duration.

### get_product
Fetches the full details, pricing, and metadata for a specific product. Use this when you need deep info on one item.

### list_checkouts
Displays all current checkout sessions. It shows the status like open, expired, or confirmed for better tracking.

## Prompt Examples

**Prompt:** 
```
List all my products and tell me which ones are subscriptions.
```

**Response:** 
```
I've pulled your product catalog. Here are your current offerings:

| Product Name | Type | Price |
| :--- | :--- | :--- |
| **Pro Plan** | Subscription | $29/mo |
| **Starter Kit** | One-time | $49 |
| **Free Guide** | Free | $0 |

Your **Pro Plan** is your only active subscription product.
```

**Prompt:** 
```
Create a 15% discount code called SPRING15 for one-time use.
```

**Response:** 
```
Done! I've created the discount code **SPRING15**. 

* **Type:** 15% off
* **Duration:** Once
* **Status:** Active

Customers can now apply this code during checkout to get their discount.
```

**Prompt:** 
```
Find the customer with the email support@example.com and show me their last order.
```

**Response:** 
```
I found a customer matching that email:

* **Name:** Jane Doe
* **Last Order:** #ORD-99283
* **Amount:** $99.00
* **Status:** Paid

Would you like me to pull the full order details or check their subscription status?
```

## Capabilities

### Create payment links
Generate unique checkout URLs for your products with specific customer associations.

### Generate discount codes
Build promotional codes with percentage or fixed amounts and specific duration rules.

### Audit product listings
Review your entire catalog of one-time, subscription, and free products.

### Track subscription status
Monitor active, canceled, and past_due subscriptions in real time.

### Find customers by email
Locate specific user profiles and purchase histories using their email address.

### Review order history
Pull a list of completed transactions including payment status and currency.

### Monitor webhook events
Check your configured webhooks to ensure your integrations are receiving data.

## Use Cases

### The Flash Sale Launch
A marketing lead needs to create a 20% discount code for a weekend sale. They use `create_discount` to get it done in one go while staying in their chat.

### The Support Ticket
A developer gets an email from a user saying they can't access their pro features. They ask the agent to check the subscription status for that email using `list_subscriptions`.

### The Revenue Audit
A founder wants to see the total number of completed orders from the last month. They ask the agent to list orders and summarize the total revenue.

### The Product Migration
A team is moving to a new pricing model and needs to see every current product. They use `list_products` to get a full dump of the current catalog.

## Benefits

- Create custom discount codes instantly with `create_discount` without having to open your web browser. This lets you launch sales in seconds and keep your marketing momentum going without the friction of manual entry.
- Quickly audit your entire product catalog using `list_products` to ensure pricing is consistent across all tiers and types without clicking through multiple dashboard pages.
- Monitor active revenue streams by pulling subscription statuses with `list_subscriptions` for real-time reporting and a clear view of your recurring income.
- Find specific customer details by email using `list_customers` to handle support requests faster than ever by getting their history in a single prompt.
- Track failed or abandoned payments by reviewing open and expired sessions with `list_checkouts` to identify where customers might be dropping off in the funnel.
- Verify your integration health by auditing active endpoints with `list_webhooks` to ensure your data flows correctly to your external services.

## How It Works

The bottom line is you get a conversational interface for your entire Polar commerce backend.

1. Subscribe to the Polar MCP on Vinkius.
2. Enter your Polar Personal Access Token in your AI client settings.
3. Ask your agent to list products, create discounts, or check orders.

## Frequently Asked Questions

**Can the Polar MCP help me manage my subscriptions?**
Yes, it lets you see active, canceled, and past_due statuses for all your customers. You can quickly check if someone's payment failed or if they are currently on a trial.

**How do I create discount codes using the Polar MCP?**
You can ask your agent to create a code with specific percentages or fixed amounts. It can also set rules for how many times a code can be used or how long it stays active.

**Can I check my revenue with the Polar MCP?**
Yes, you can ask your agent to list all completed orders. It will pull the totals, currencies, and payment statuses so you can see your recent sales.

**Does the Polar MCP work with Cursor and Claude?**
Yes, it connects to any MCP-compatible client, including Claude, Cursor, and Windsurf, allowing you to manage your store from your favorite coding or chat environment.

**Can I find specific customers using the Polar MCP?**
You can search for customers by their email address or name. This makes it much faster to find a user's history when they reach out with a support request.

**How do I audit my webhooks with the Polar MCP?**
You can list all configured webhook endpoints and see exactly which events they are subscribed to. This helps you ensure your external tools are getting the data they need.

**How do I create a Polar Personal Access Token?**
Log in to the [**Polar Dashboard**](https://polar.sh), go to **Settings > Developer > Personal Access Tokens**, click **Create Token**, give it a name and copy the token immediately — it starts with `polar_pat_` and won't be shown again.

**Can I create discount codes via the agent?**
Yes! Use the `create_discount` tool with a name, code, type (percentage or fixed_amount) and amount. Optionally set the duration (once, forever, repeating). The discount will be available during checkout.

**Can I check my subscription revenue?**
Yes! Use `list_subscriptions` with status 'active' to see all active subscriptions, and `list_orders` to see completed orders with their amounts. Combine both to get a full picture of your recurring and one-time revenue.

**Can I create checkout links programmatically?**
Yes! Use `create_checkout` with a product_id and optionally a customer_id and discount_id. This creates a checkout session that returns a URL you can share with customers or embed in your app.