- ACTIVE
- DATA
- LOG
- HUMAN
Short answer
How can I make discount codes using AI?
You tell your AI what kind of discount you want, like a 20% off code or a $10 fixed amount. The AI uses the Polar MCP to generate the code and set it up for you. You'll see the specific outcomes of your request below.
The results
Where your codes land
Depending on your command, your AI handles the heavy lifting and delivers these results.
ACTIVE
Live discount codes
The AI creates the code in your store. It's ready to use for customers immediately.
DATA
Code details
You get a confirmation of the code name, the type of discount, and the value applied.
LOG
Event tracking
The system logs the creation event so you can track which sales events triggered which codes.
HUMAN
Manual review
You decide if the code name or the discount amount is exactly what you wanted before finalizing.
The workflow
What your AI does when the command arrives.
The AI translates your plain English instructions into specific tool calls to update your store.
Interpret intent
Your AI reads your text to figure out if you want a percentage off or a fixed dollar amount.
create_discountFormat parameters
The AI extracts the specific value and the intended code name from your message.
create_discountExecute creation
The AI sends the command to Polar to register the new discount in your system.
create_discountConfirm success
The AI tells you the code is live and summarizes the discount rules it just set up.
create_discount
Try it
Copy these to start.
Paste these directly into your chat to see how it works.
Starting points
Swap out the bracketed info with your actual sale names or specific amounts.
Polar Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_6Lj8RmUwCZb6fJyvbA7PZv7rzedMSBKRMRGlU8Vh/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Polar capabilities are ready to use.
{
"mcpServers": {
"polar-mcp": {
"url": "https://edge.vinkius.com/vk_preview_6Lj8RmUwCZb6fJyvbA7PZv7rzedMSBKRMRGlU8Vh/mcp"
}
}
}Create a 15% discount code called SUMMER15
Make a fixed $20 discount code for our VIP customers named VIP20
Generate a 10% off code called FLASH20 for a quick sale
Set up a $5 discount code named WELCOME5
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Polar once, then ask.
Click the link to connect your account. Your credentials stay encrypted, and you can start using the tools in any compatible client immediately.
Connect Polar to your AIFAQ
How this task behaves
- 01
Can the AI delete existing discount codes?
No. This MCP only has the capability to create new codes. You must manage deletions manually in your store.
- 02
Does the AI decide the discount amount on its own?
No. The AI only uses the specific percentage or dollar amount you provide in your prompt.
- 03
Can I create codes for specific customer segments?
The AI creates the code itself, but you'll need to apply segment restrictions within your store's settings.
- 04
Will the AI automatically email my customers about the new code?
No. The AI only creates the code in the system. It does not send emails or marketing messages.
- 05
Can I change a code after it's been created?
No. This tool is for creation. If you need to change a code, you'll need to do that through your store's dashboard.
More questions about Polar? See everything the Polar Connector can do
Connect Polar to Claude, Cursor, ChatGPT & more
