DealCraft MCP server

Connect Claude, Cursor or any MCP client to your DealCraft business and set up games by asking. Your assistant writes the prizes and their chances, dresses the game in your brand colours, publishes it and puts it on your site.

Server address

Every client uses this one address. Sign each request with a secret key from Integrations in your dashboard. A key starting with sk_test_ reads everything and changes nothing, so it is the safe way to try the server first.

Connect your client

Put your own key in place of sk_live_YOUR_SECRET_KEY. Keep the key out of shared files and out of git.

Run this once in your terminal.

Claude Code
claude mcp add --transport http dealcraft https://dealcraft.io/api/mcp \  --header "Authorization: Bearer sk_live_YOUR_SECRET_KEY"

What it can do

Thirteen tools. Each one acts only on the business your key belongs to.

  • get_business

    Reads your business name, languages, currency and the game types you can use.

  • create_game

    Creates a draft wheel, scratch card or mystery box with starter prizes and limits.

  • update_game

    Changes the wording in each language, the budget, winner limits, schedule, link and pop-up timing.

  • set_rewards

    Sets the prize list and each prize's chance to win.

  • set_theme

    Sets brand colours, light or dark mode, your logo, the glass card and seasonal decorations.

  • publish_game

    Puts the game live, or lists exactly what to fix first.

  • install_guide

    Gives the steps and code for your website, React, Shopify, WooCommerce, your own checkout, or a link and QR code.

  • set_popup

    Turns the website pop-up on or off.

  • list_games

    Lists your games with their status and link.

  • get_game

    Reads one game in full: wording, limits, colours, prizes with chances, and links.

  • game_stats

    Reports plays, wins, codes used, order value and budget spent.

  • pause_game

    Stops new plays. Codes already won keep working.

  • resume_game

    Lets a paused game take plays again.

Things to ask

Talk to your assistant the way you would brief a colleague.

  • Make a spin the wheel game for our Black Friday sale with 10%, 15% and 25% off, a $500 budget and at most 200 winners.

  • Use our brand colours #1F2A44 and #F2B705, dark mode, glass card, and our logo from https://ourshop.com/logo.svg.

  • Publish it and add the pop-up to our Next.js site.

  • How did the wheel do this week, and how much of the budget is left?

Guards built in

  • Test keys change nothing

    A key starting with sk_test_ reads every game and every number, and refuses every change. Use one to try the server before you hand it a live key.

  • A live game stays valid

    A change to a game players can reach is saved only when the game would still pass publish. Otherwise nothing is written and you get the list of what would break.

  • Going live needs a confirmed owner

    A game goes live only after the business owner has confirmed their email address, the same rule as the dashboard.

  • The key stays off the browser

    The server refuses any request sent from a web page, so a key copied into front end code cannot be used. Keep it in your client's config on your own machine.