Use Vast with AI agents

Let Claude Code and other AI tools draft your giveaways with an API key.

An API key lets an AI agent, like Claude Code, draft and manage your giveaways for you. It's on every plan. On the free plan, confirm your email on the Developer tab first. Your agent then works within the free plan's limits, and each new giveaway takes its first 500 people.

Create a key

  1. Open Settings, then Developer, and choose to create a key.
  2. Pick what the key can do and when it expires.
  3. Copy the key. We only show it once.

Open Developer settings

Claude Code plugin (recommended)

claude plugin marketplace add https://vast.gg/plugins/claude/marketplace.json
claude plugin install agentic-giveaway@vast

The plugin adds Vast's MCP server and a skill that walks your agent through a giveaway from draft to launch. Then, in Claude Code, run /plugin configure agentic-giveaway@vast and paste your key when it asks. Claude Code keeps it in secure storage. For Cursor, Codex and other agents, add the skill with: npx skills add https://vast.gg. The skill teaches your agent the steps but doesn't connect to Vast by itself, so add the MCP server too.

Claude Code, without the plugin

claude mcp add --transport http vast https://general.vast.gg/mcp --header "Authorization: Bearer <your key>"

Claude Code can also read the key from an environment variable called VAST_API_KEY. Add the server to a project .mcp.json:

.mcp.json

{
  "mcpServers": {
    "vast": {
      "type": "http",
      "url": "https://general.vast.gg/mcp",
      "headers": { "Authorization": "Bearer ${VAST_API_KEY}" }
    }
  }
}

Codex

codex mcp add vast --url https://general.vast.gg/mcp --bearer-token-env-var VAST_API_KEY

Codex reads the key from VAST_API_KEY. Other MCP clients use the same address and Authorization header, each in its own config format.

Test your key

curl -H "Authorization: Bearer $VAST_API_KEY" https://general.vast.gg/agent/v1/me

What agents can do

Cover images from your agent

On the free plan, each upload must send a Content-Length header, or it won't go through, and your keys can upload 30 images a day together.

Limits by plan

Drafts count toward your monthly giveaways.

Keep your keys secret. If one leaks, revoke it in Developer settings. If a paid plan ends, your keys keep working within the free plan's limits once your email is confirmed.