Generate a game asset in Cursor with Gessa
Gessa is a browser AI game engine whose MCP surface generates game-ready assets. This recipe connects Cursor to it, generates an asset from one prompt, and shows where the result lands.
What you need
A Gessa workspace API key (mcpkey_…), minted in the Studio at create.gessa.ai under workspace settings, and Cursor itself. Agent self-provisioning, where Cursor mints its own key in one call, no human signup, is specced and forthcoming; until it ships, the Studio key is the path.
Connect Cursor to Gessa
Add the server to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project. ${env:GESSA_API_KEY} is Cursor's own environment-variable interpolation syntax:
{
"mcpServers": {
"gessa": {
"url": "https://api.gessa.ai/mcp/rpc",
"headers": { "Authorization": "Bearer ${env:GESSA_API_KEY}" }
}
}
}Generate the asset
Ask Cursor for what you need in plain language, "generate a low-poly wooden barrel for my dock scene", and let it drive Gessa's generation tools: generation_list_capabilities to discover the model, texture, and audio pipelines, generation_quote_job to price the job in credits, generation_create_job to start it, and generation_get_job to poll to completion. Textures and images generate in seconds; a 3D model takes a minute or two.
Where the asset lands
The finished asset is a real engine asset in the workspace library (asset_library_search finds it), not a loose file, models arrive as game-ready glTF binaries (.glb) that can be placed into a running, editable, multiplayer world in the same engine. That is the difference between Gessa and a bare asset API. At launch of self-provisioning, generation responses will also carry a claim link so a human can attach the workspace, and everything generated in it, to their account.
Step by step
- 1Get a key
Mint a workspace API key (mcpkey_…) in the Gessa Studio at create.gessa.ai under workspace settings.
- 2Connect Cursor
Add Gessa's MCP endpoint (https://api.gessa.ai/mcp/rpc) to Cursor with the key as a bearer token.
- 3Prompt the asset
Describe the asset in plain language and let Cursor run Gessa's generation loop: list capabilities, quote, create, poll.
- 4Use it
The asset lands in the workspace library, game-ready, and can be placed into a running world in the same engine.
Frequently asked questions
- Is generating game assets from Cursor free?
- Gessa is free to start: a workspace key from the free Studio plan works today with starter generation credits. The specced agent free tier, 25 generations a month for a self-provisioned workspace, 100 a month once a human claims it, takes effect at launch of agent self-provisioning; it is forthcoming, not current enforcement.
- Does a human need to sign up first?
- Today, yes: the API key comes from a Studio workspace a human created. Agent self-provisioning (one call, no email, no OAuth redirect) is specced and forthcoming, the agent quickstart at /assets/for-agents/ states the live status.
- What can Gessa generate?
- Game-ready 3D models (glTF binary), textures and images, and audio, on the same pipeline that generated the engine's own asset library. Models arrive placeable in a live world, not as loose downloads.
- Can I use the asset outside Gessa?
- Assets you generate in your workspace are yours; models are standard .glb files you can export and reuse. The showcase library's pre-generated assets carry their own per-asset licenses, check each item's license before reusing those.