VibePlayDocs

Docs › Developers

Connect your coding agent (MCP)

Connect Claude Code, Cursor or another MCP client to VibePlay to build, check and publish games and read analytics.

Updated November 17, 2026

The VibePlay MCP server lets your coding agent read the game rules, save games into your studio, run the automatic checks in a real browser, publish, and read analytics.

How do I connect?

  1. In the studio, open API & MCP in the sidebar and create a key. For building and publishing, tick Save projects and Publish (and Read projects to run checks). Or use Create a key for my agent on the Developer & MCP tab of your account, which makes a key with all four permissions that expires in 90 days.
  2. Copy the key. It is shown only once.
  3. Add the server to your client.

Claude Code:

claude mcp add --transport http vibeplay https://api.vibeplay.gg/mcp --header "Authorization: Bearer vp_live_YOUR_KEY"

Cursor, Windsurf and other clients (mcp.json):

{ "mcpServers": { "vibeplay": { "url": "https://api.vibeplay.gg/mcp",
  "headers": { "Authorization": "Bearer vp_live_YOUR_KEY" } } } }

The server uses Streamable HTTP with JSON responses at https://api.vibeplay.gg/mcp.

Which tools does the agent get?

ToolWhat it doesPermission
get_game_rulesGame format, rules, the window.VP SDK and allowed open data APIs. Call it first.none
list_projects, get_projectYour studio projects and the full HTML of onegames:read
save_projectCreate or update a project with a complete HTML file; it appears in the studio right awaygames:write
check_projectThe automatic checks in a real browser, about 20 secondsgames:read
publish_projectPublish to the Arcade, about 30 secondspublish
list_games, get_stats_overview, get_daily_stats, get_traffic_sources, get_retention, get_reviews, get_errorsAnalyticsstats:read

The agent only sees the tools its key allows.

What happens when the agent publishes?

publish_project runs the checks first if the current version has not passed them, then fills the store page if the project has none: three screenshots from the check, a subtitle, a description and tags. On Free the first screenshot becomes the icon; on Starter and up an AI icon is drawn a few minutes after publishing. The game then goes through the same review as a studio publish. Agent-published games are closed to remixes unless allow_remix is set to true.

How many publishes do I get?

Publishes through MCP and the API: Free 3 a month and 1 a day, Starter 15 a month, Builder 50 a month, Pro and Studio unlimited. Publishing from the studio is not counted.

What are the limits?

120 requests a minute per key, then HTTP 429 with Retry-After. At most 10 messages in one JSON-RPC batch.

What is a good first prompt?

"Make a VibePlay game where a paper boat dodges rocks. Follow get_game_rules, save it, run check_project and fix what fails, then show me the studio link."

Still stuck?

Open Support in the studio or the Arcade to send us a ticket, or email hello@vibeplay.gg.

Was this helpful?