How to run a giveaway with an AI agent
Updated · By the Vast team
Key takeaways
- Let your connected agent draft and preview the giveaway. Review the prize, entry steps and rules yourself before approving publication.
- Related guide: Run a giveaway with your team.
- Browse live giveaways to see entry steps and official rules in practice.
An AI agent such as Claude Code, Claude, Cursor or Codex can draft a Vast giveaway for you, add the entry actions, check it's ready, and report entries once it's live. It connects to Vast's MCP server with an API key you create, and it can only do what that key allows. The agent drafts. You decide when the giveaway goes public.
API keys work on every plan. On the free plan, you confirm your email first, and the agent works within the free plan's limits.
Vast is our product, so weigh that. Setup steps for other tools come from their own docs, checked on November 10, 2026. Vast details come from our help center, our public plugin repo and the code behind the agent API.
What MCP is
MCP, the Model Context Protocol, is an open standard for connecting AI apps to outside tools and data. The MCP docs compare it to "a USB-C port for AI applications." A service runs an MCP server that offers tools, such as "create a giveaway draft," and your agent app is the client that calls them when you ask. Vast's server lives at https://general.vast.gg/mcp and speaks Streamable HTTP. Every request carries your API key, so the server knows whose giveaways the agent can touch and what it's allowed to do.
Before you start
You need two things: a Vast account, with a confirmed email if you're on the free plan, and an API key. Our plans guide compares the plans, and the plans page has current prices.
To create a key, open Settings, then Developer. Give the key a name, choose what it can do under Access, and choose when it expires: 7, 30, 90 or 365 days. Copy the key when it appears, because Vast only shows it once.
| Access option | What the agent can do | When you need it |
|---|---|---|
| Read giveaways | See your plan limits, your giveaways and the entry action types | To check limits and drafts (on by default) |
| Create and edit drafts | Create drafts, add entry actions, change drafts | To build a giveaway (on by default) |
| Publish giveaways | Publish a draft when you ask | Only if you want the agent to take it live |
| Entry stats | Read views, entrants, entries and completions per action | To report results |
| Winners | Read winners after the draw, as rank and masked username | To report winners, together with Entry stats |
Keep the key in an environment variable called VAST_API_KEY, and never paste it into a chat.
Run this on its own, then paste your key and press Enter (nothing shows as you paste):
read -rs VAST_API_KEY && export VAST_API_KEYSet up your agent
Pick the path that matches your tool. All of them end up talking to the same server.
Claude Code: the plugin (recommended)
claude plugin marketplace add https://vast.gg/plugins/claude/marketplace.json
claude plugin install agentic-giveaway@vastThe plugin adds Vast's MCP server and a skill that walks the agent from draft to launch. Then, inside Claude Code, run /plugin configure agentic-giveaway@vast and paste your API key when it asks. Claude Code keeps it in secure storage, not in your settings or an environment variable. Anthropic's plugin docs cover install scopes and how to update or remove a plugin.
Cursor, Codex and other agents: the skill
npx skills add https://vast.ggThis uses skills, an open-source command-line tool from Vercel. skills.sh lists Claude Code, Cursor, Codex, GitHub Copilot, Windsurf and Gemini among the agents it supports. The skill teaches your agent the steps and the rules. It doesn't connect to Vast by itself, so add the server too, as below.
The raw MCP config
For Claude Code without the plugin, one command adds the server:
claude mcp add --transport http vast https://general.vast.gg/mcp --header "Authorization: Bearer $VAST_API_KEY"Your shell fills in the key when you run it, so Claude Code saves the key in its own settings. To keep the key out of every file, use a project .mcp.json instead. Claude Code's MCP docs say it expands environment variables such as ${VAST_API_KEY} in that file:
{
"mcpServers": {
"vast": {
"type": "http",
"url": "https://general.vast.gg/mcp",
"headers": { "Authorization": "Bearer ${VAST_API_KEY}" }
}
}
}Cursor. Put the server in .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project. Cursor's MCP docs use ${env:NAME} for environment variables:
{
"mcpServers": {
"vast": {
"url": "https://general.vast.gg/mcp",
"headers": { "Authorization": "Bearer ${env:VAST_API_KEY}" }
}
}
}Codex. One command adds the server and reads the key from VAST_API_KEY:
codex mcp add vast --url https://general.vast.gg/mcp --bearer-token-env-var VAST_API_KEYIt writes this to ~/.codex/config.toml, which you can also edit by hand. The Codex MCP docs say bearer_token_env_var names the variable that holds the token, and that the Codex CLI and IDE extension share this file:
[mcp_servers.vast]
url = "https://general.vast.gg/mcp"
bearer_token_env_var = "VAST_API_KEY"Claude (web and desktop). Add a custom connector with the server address, then, if your account shows Request headers, add an Authorization header with the value Bearer and your key. Anthropic's connector guide says that field takes "fixed credentials such as API keys," and its developer docs list request headers as a beta that Anthropic turns on per organization, so not every account shows them. Here Claude stores the key, not an environment variable. On Team and Enterprise, an owner adds the connector, and the header holds one key shared by everyone in the organization.
Any other MCP client that supports Streamable HTTP uses the same address and the same Authorization header.
To check that the key works before you involve an agent:
curl -H "Authorization: Bearer $VAST_API_KEY" https://general.vast.gg/agent/v1/meAn example prompt
"Draft a one-week giveaway for a $50 Steam gift card, two winners, starting Monday at 9:00 New York time. To enter, people follow @yourstudio on X, follow yourstudio on Twitch, and wishlist our game on Steam. Don't publish it yet."
Give the agent the prize and its value, the number of winners, the dates with a time zone, and the actions. If something is missing, the skill tells the agent to ask rather than make it up.
What the agent does, step by step
- Checks your plan with get_my_plan_limits: giveaways left this month, the prize and winner limits, how many people each giveaway takes (500 on the free plan), and the key's access and expiry.
- Looks for duplicates with list_my_giveaways, so it doesn't draft a giveaway you already have.
- Reads the action list with list_action_types. It returns the entry actions a key can add, their fields, and the kinds you have to set up in the web editor. In the example, the X and Twitch follows are allowed and the Steam wishlist isn't.
- Creates the draft with create_giveaway_draft. It sends an idempotency key, so a retry returns the same draft instead of a second one. Drafts count toward your giveaways for the month.
- Adds and fixes with add_entry_actions, up to 10 actions per call, and update_giveaway_draft. Vast rewrites the official rules to match each change.
- Previews with preview_giveaway, fixes the problems it lists, and shows you a summary: title, prize, dates, actions, and links to the draft and the editor.
- Stops and waits. It publishes only when you say so, and only if the key has the Publish giveaways access.
- Reports results later with `get_entry_stats`: page views (including repeat openings), unique entrants with valid actions, entries from those actions, and completions per action. Amp bonuses and qualified referrals are separate when available. Winners access also lists winners after the draw.
Improve a live giveaway without changing its rules
Use the same giveaway ID to take a baseline and follow-up snapshot with `get_entry_stats`. Compare equal-length intervals and note when you changed promotion. Page views show volume, not people or proof that one channel caused entries. Per-action completions are not a drop-off funnel, and qualified Amp referrals can already be counted among unique entrants.
Try one promotion change at a time: a sponsor placement, a clear prize-focused post with the entry link in its first reply, or a reminder to eligible entrants about the referral option already in the rules. Have the agent propose the change and draft the copy; approve it before publishing. Don’t change tasks, odds, or the prize on a live giveaway as an experiment.
The skill ends every session with a short action plan of what's done and what only you can do. For the example prompt, it would look something like this:
- Done: draft "Win a $50 Steam gift card" is ready, with a link to preview it.
- Add the Steam wishlist action in the web editor, with a link to the editor.
- Add a cover image if the agent couldn't. A giveaway needs one before it can go live.
- Tell the agent "publish it" when you're happy, or publish from the editor.
What stays with you
- Publishing. The agent publishes only when you ask, with the Publish giveaways access and an explicit confirmation. Publishing makes the giveaway public, and the agent can't undo it. Leave that access off the key if you want to press the button yourself.
- Paying. The agent never pays for anything. Plan upgrades are yours, and if going live needs a payment, the agent gives you a checkout link to finish.
- Actions the web editor handles. A key can add a Discord join action when you give it the invite link. It can't add Steam wishlist, Telegram, Reddit, Patreon or Twitch channel points actions, email newsletter sign-ups, secret codes, surveys, custom actions or loyalty bonuses. The agent lists them for you to add in the editor and shouldn't swap in a different action.
- Changes after launch. Agents can only edit drafts. Once a giveaway is live, edit it in the web editor.
- Rules and prizes. Vast writes official rules from the giveaway's details. Read them before you publish, and add anything your platforms require, such as Twitch's disclaimer. Our rules guide lists what official rules need. You deliver the prizes.
Safety
- Scope the key. The defaults, Read giveaways and Create and edit drafts, let an agent build drafts and nothing more. Add other access only when you need it.
- Team access. Manage team lets an agent create your team, invite people by email or Vast username, change what they can do and remove them, each time only when you ask. Vast emails each invite, and its link works only for the person invited. Leave it off unless you want your agent to run your team.
- Keep it short-lived. Pick the shortest expiry that fits. If a paid plan ends, keys keep working at the free plan's limits once your email is confirmed.
- Revoke or rotate. In Settings, then Developer, Revoke stops a key at once, and Rotate replaces it, so the old key stops working. Both also revoke any keys that key created. You can have up to 10 active keys on a paid plan, or 2 on the free plan.
- Keep the key out of chats and code. Use VAST_API_KEY, a secret manager, or your tool's credential field.
- Entrant privacy. Agents can't see entrants' email addresses. Winners come back as a rank and a masked username.
- Text from other people. Titles, descriptions and key names come back marked as user-written content, and the skill tells the agent to treat them as data, not instructions.
- Trust the server. Anthropic's connector guide says to connect Claude only to servers "built and hosted by organizations and applications you trust." That goes for any agent.
Limits
| Limit | Today |
|---|---|
| Plan | Any plan; on the free plan, confirm your email first |
| Active keys | 2 on the free plan, 10 on paid plans |
| Requests | Free plan: 60 a minute across your keys. Paid plans: 120 a minute per key, 300 across your keys |
| Actions an agent can add | Log in to Vast, Visit a page, Follow on X, Repost on X, Visit a YouTube channel, Visit an Instagram profile, Visit a Facebook page, Follow on TikTok, Twitch, Kick or Bluesky, and Bonus |
| Actions per call | Up to 10 |
| Editing | Drafts only |
| Publishing | Up to 10 publishes an hour per account |
| Requests | 120 a minute per key, 300 a minute per account, and 30 changes a minute per key |
| Keys | Up to 10 active, each expiring after 7 to 365 days |
| Monthly giveaways | Drafts count, the same as in the web editor |
Checks work the same as in the web editor. Vast checks Twitch follows against the player's connected Twitch account. It doesn't check X, Discord or Kick actions automatically today, so look over winners before you announce them.
FAQ
Do I need a paid plan? No. Free accounts with a confirmed email can create 2 keys, and the agent works within the free plan's limits. Paid plans raise them.
Can the agent publish without asking me? Publishing needs the Publish giveaways access and an explicit confirmation, and the skill tells the agent to publish only when you ask. To be certain, create the key without that access.
Can the agent add a Steam wishlist or Discord join action? It can add a Discord join action if you give it the invite link. A Steam wishlist action still needs the web editor, as does Telegram. The agent adds the actions a key supports and lists the rest for you to finish there.
Which agents work? Claude Code, Claude, Cursor and Codex, plus any MCP client that supports Streamable HTTP and lets you set an Authorization header.
Can the agent see who entered? It sees counts per action, not entrants' emails. With the Winners access, it sees winners as a rank and a masked username. You see winners' emails in Vast, so you can deliver prizes.
Create an API key and connect your agent in a few minutes. Read the setup steps
Sources
- What is the Model Context Protocol (MCP)? — definition and the USB-C comparison, checked 2026-11-10
- Claude Code: Install and manage plugins — marketplace add and plugin install commands, checked 2026-11-10
- Claude Code: MCP — HTTP servers with headers, .mcp.json and variable expansion, checked 2026-11-10
- Cursor: Model Context Protocol — config file locations, headers and ${env:NAME}, checked 2026-11-10
- Codex: Model Context Protocol — config.toml, url and bearer_token_env_var, checked 2026-11-10
- Claude: custom connectors using remote MCP — Request headers, plans and the trusted-servers warning, checked 2026-11-10
- skills.sh — the skills tool and the agents it lists, checked 2026-11-10
- Claude Code: Host and maintain a marketplace — adding a marketplace from a hosted marketplace.json URL, checked 2026-11-11
- Claude: authentication for connectors — request headers are a beta for some organizations, checked 2026-11-11
- Vast llms.txt — server address, flow and install commands, checked 2026-11-10
- Vast help center (Use Vast with AI agents) and the agent API code (tools, scopes, action list, limits) — Vast facts, checked 2026-11-10
Write the launch post
After reviewing your giveaway, ask your agent to call `get_launch_post` with the giveaway ID. Choose `long` for the full entry checklist, closing time, eligibility and winner claim window, or `short` for copy that fits 280 X characters. The default is Long in the host's voice; `voice: "cohost"` uses a teamed-up introduction when the host's X handle is available. The tool needs `giveaways:read` and returns editable copy under `host_content.launch_post`. It does not post to X.
You can also open Post it on X on your host dashboard, edit either draft, and copy it. Post on X opens the Short draft and copies the Long draft when Long is selected. Long posts need X Premium.
More guides
- Game publisher giveaway and Steam wishlist playbook: Learn how game studios and publishers run verified Steam wishlist giveaways, Next Fest demos, creator co-hosts, Amp referrals, and Vast Shop key drops.
- Host your game keys in the Vast Shop reward catalog: Put your Steam keys, DLC, and studio bundles in front of daily Vast earners without cutting your storefront price. Learn how Vast Shop drops work.
- How to run a Steam Next Fest giveaway for wishlists: Plan a Steam Next Fest giveaway with Upcoming countdowns, verified Steam demo and wishlist steps, streamer secret codes, and Amp referral velocity on Vast.
- How Vast Selects Featured Giveaways for the Homepage: Learn how Feature Boost puts giveaways on the Front Page and Browse lists, how monthly Feature Spots work, and how Calendar lists other giveaways.
- Why game publishers choose Vast for PC game launches: See how game publishers turn giveaways into verified Steam wishlists, demo sessions, qualified Amp referrals, live geo insights, and Vast Shop key drops.
- How to Enter a Vast Giveaway by Email Without a Login: Learn when a Vast giveaway accepts guest entries, how to verify your email for one free entry, and where hosts and admins manage availability.
- "Launch an upcoming giveaway with a countdown page": Schedule a giveaway to open later, publish it with a public countdown page, share it, and let people ask for a reminder before entries open on the start date.
- Best Giveaway Tools: Free Plans & Actions Compared: Compare Gleam, KingSumo, ViralSweep, RafflePress, ShortStack, SweepWidget and Vast: free plans, prices, entry actions, and which tool fits your giveaway.
- Discord Giveaway Bot vs Platform: Which Should I Use?: GiveawayBot, Carl-bot, MEE6 and Dyno run quick giveaways inside Discord. What a bot does well, what a giveaway platform adds, and which one to use when.
- Easypromos vs Vast: Pricing, Draws and Entry Checks: Easypromos vs Vast: Easypromos's $29 to $399 plans, comment draws and fraud controls against Vast's free plan, checked Twitch and Steam entries and AI agents.
- Free Giveaway Ideas for Streamers on Twitch and Kick: Giveaway ideas for Twitch and Kick streamers: follower and sub goals, raid thank-yous, weekly draws, code words and Discord growth, in line with platform rules.
- Free Giveaway Rules Template: Official Rules Guide: A free giveaway rules template plus a checklist of what official rules need: no purchase necessary, free entry, prize value, odds, and US, Canada and UK rules.
- Free Giveaway Tool: Create a Giveaway Without a Card: Vast's free giveaway tool: no card, one giveaway a month for up to 500 people, Steam, Twitch and X actions, official rules, and when an upgrade is worth it.
- Game Giveaway Ideas for Indie Developers and Studios: Giveaway ideas for indie game developers: wishlist pushes, Steam key drops, playtest access, Discord growth and creator collabs, all within Valve's rules.
- Giveaway Rules Generator: Official Rules Checklist: What a giveaway rules generator has to produce, clause by clause, how Vast's built-in rules work, what you still add yourself, and where it is not legal advice.
- Gleam vs Vast: free plans, prices and checked actions: Gleam vs Vast head to head: free plans, prices, Steam, Discord, Twitch and X actions, fraud checks, winner draw, rules and AI agents. Where each one wins.
- Grow an Email List with a Giveaway: Consent and Tips: Grow an email list with a giveaway: GDPR and CAN-SPAM consent basics, Mailchimp and MailerLite on Vast, a welcome sequence, junk sign-ups and what to measure.
- How Long Should a Giveaway Run? Set the Entry Window: How long to run a giveaway for a game launch, email list, Discord growth or a stream event, what dates Vast lets you set, and how to time it around a launch.
- How Sharing With the Amp Adds Bonus Giveaway Entries: Learn how the Amp adds giveaway entries for eligible friends, where to set the sharing bonus, what counts, and why a shared link alone earns no entries.
- How to Announce a Giveaway Winner: Sample Templates: Announce a giveaway winner the right way: check them first, post where people entered, protect their details. Templates for X, Discord, Twitch and email.
- How to Confirm Your X Giveaway Steps and Get Entries: Follow, repost, like, reply or post about a Vast giveaway on X, then return to confirm the step. Learn what is counted and how personal share links work.
- How to Get Steam Wishlists Before Launch: Indie Guide: Use a Steam wishlist checklist before launch: plan your Coming Soon page, demos, Next Fest, press outreach and giveaways that follow Steam’s rules.
- How to Grow Your Discord Server with Free Giveaways: Use a giveaway to grow a Discord server: set a goal, pick a prize that fits, use a join-server action, announce it, keep new members and measure what worked.
- How to Pick a Giveaway Winner Fairly and Keep Proof: Pick a giveaway winner fairly: random or weighted draws, removing bots and duplicate entries, keeping proof, backup winners, and announcing the result openly.
- How to Run a Giveaway on X, Discord, Twitch or Kick: Use setup checklists and platform rules to run a giveaway on X (Twitter), Discord, Twitch or Kick. Avoid common mistakes and plan your entry steps.
- How to Run a Steam Key Giveaway and Deliver the Keys: How game studios and creators give away Steam keys safely: Valve's key rules, bots and resellers, region locks, wishlist entries, key delivery and the rules.
- How to Run an X Giveaway: Entry Steps and Draw Rules: Run a follow-and-repost giveaway on X (Twitter): what X's rules allow, picking a prize, writing the post, no purchase necessary, fair draws and bot entrants.
- How to Stop Giveaway Bots, Fake and Duplicate Entries: Stop giveaway bots and fake entries: spot duplicate accounts and bot entrants, set location and age rules, what Vast checks for you and what you check by hand.
- Kick Giveaways for Streamers: Rules and Winner Draws: Run a Kick giveaway: what Kick's guidelines say about buy-ins and bots, follow and sub entries, drawing on stream, and why Vast doesn't check Kick follows.
- KingSumo vs Vast: Free Plans, Entry Steps and Email: Looking for a KingSumo alternative? Vast vs KingSumo on the $49 AppSumo lifetime deal, free plans, Twitch and Steam entries, email lists and AI agents.
- Rafflecopter Alternatives for Giveaway Hosts in 2026: Rafflecopter shut down on October 1, 2025. What it offered, how Vast compares on free plans, prices, entry options, rules and email lists, and how to switch.
- Run a Giveaway with Your Team: Seats and Permissions: Invite the people who help run your giveaways, choose what each person can edit, publish or see, and understand how team seats and access work on your plan.
- Shopify giveaway guide: give away a product, embed it: Run a giveaway for one product from your Shopify store: pick the prize, choose entry steps, embed it with Custom Liquid, ask for emails the right way, measure.
- SweepWidget vs Vast: Compare Plans and Entry Checks: Looking for a SweepWidget alternative? Vast vs SweepWidget on free plans, prices, Steam, Twitch and Discord checks, anti-cheat tools and AI agents.
- Telegram Giveaways: Channel Joins, Rules and Draws: Run a Telegram giveaway: Telegram's Giveaway feature and its terms, join-to-enter rules, checking joins with your own bot, fair draws and fake accounts.
- Twitch Giveaways for Streamers: Rules and Entry Steps: Run a Twitch giveaway: follow and sub entries, Twitch's promotion rules and disclaimer, drawing on stream or off, and when a chat bot or a giveaway page fits.
- Vast Plans Compared: Free, Paid and Giveaway Add-ons: Vast's Free, Basic, Pro, Business and Enterprise plans side by side: giveaways, winners, prizes, features and prices, plus the Boost and Done for you add-ons.
- ViralSweep vs Vast: Free Plans and Entry Verification: Looking for a ViralSweep alternative with a free plan? Vast vs ViralSweep on prices, trials, entry actions, Twitch and Steam, bot protection and AI agents.
- Woobox vs Vast: Giveaway Plans, Draws and AI Setup: Woobox vs Vast: Woobox's AI-built giveaways and $29 to $499 plans against Vast's free plan, checked Twitch and Steam entries, official rules and AI agents.
- X Giveaway Playbook: One Post and Clear Entry Steps: Run a follow, repost, like and reply giveaway on X: the host steps, one announcement post, the Amp, a weekly posting rhythm and how to read Top sharers.
- YouTube Giveaways: Contest Rules and Comment Entries: Run a YouTube giveaway: what YouTube's contest policies require, comment and subscribe entries, secret codes, fair draws, and what Vast checks.