EvonX
Make complete, playable browser games from a prompt: create a game, follow the build, get a play link, ask for changes and publish it.
Tài liệu
EvonX Game Creator MCP Server
Build and publish real playable 2D and 3D browser games from Claude, ChatGPT, Cursor, Claude Code, Windsurf, VS Code, Cline, Gemini CLI or any Model Context Protocol client.
EvonX is an AI game maker and AI game generator: describe a game ("a bubble shooter in a candy world", "a 3D runner with power-ups", "a cozy merge game about a bakery") and its agent builds a real, tested HTML5 game (Phaser or Three.js) with art, levels and a menu. Connect this server once and the AI you already use can start a game, follow the build, get a link to play it, ask for changes and publish it to a public URL: match-3, bubble shooter, runner, merge, tower defense, idle, racing, puzzle and 3D games.
Tools
| Tool | What it does |
|---|---|
evonx_create_game | Start a new game from a text prompt (optionally from a template). Returns a gameId. |
evonx_get_game_status | Build state (building, complete…), the build checklist, the agent's last reply and the play URLs. |
evonx_get_play_url | The link to play: the published address if there is one, else the live preview. |
evonx_list_templates | The game kinds EvonX ships as tested templates (match-3, bubble shooter, runner, merge, tower defense, 3D…). |
evonx_list_games | Your games, newest first. |
evonx_send_message | Ask for a change to a game ("add 20 levels", "make it night time"). |
evonx_get_messages | Read a game's chat: what was asked and what the agent answered. |
evonx_publish_game | Publish a game to its permanent public address. |
evonx_whoami | Your workspace, plan and credits left. |
Hosted server (nothing to install)
EvonX runs this server at https://mcp.evonx.ai/mcp (Streamable HTTP), for clients that take a server
address instead of a command.
-
Claude: open Customize → Connectors, choose Add custom connector and enter the address. Claude sends you to EvonX to sign in and allow the connection. No key is needed, and you can disconnect it in EvonX under Settings → API keys → Connected apps.
-
ChatGPT: open Plugins, choose Add → Add custom MCP server, enter the address with OAuth as the authentication, confirm the notice and choose Create as a plugin, then Connect EvonX and allow it on EvonX. Type @EvonX in a chat to use it; ChatGPT asks before every tool that changes something.
-
Claude Code:
claude mcp add --transport http evonx https://mcp.evonx.ai/mcp --header "Authorization: Bearer evx_your_key" -
Cursor (
~/.cursor/mcp.json):{ "mcpServers": { "evonx": { "url": "https://mcp.evonx.ai/mcp", "headers": { "Authorization": "Bearer evx_your_key" } } } } -
Any other client that speaks Streamable HTTP: the same address, either signing in with your EvonX account (OAuth 2.1 with PKCE, discovered from the server) or sending
Authorization: Bearer evx_your_key.
The hosted server and the local one below are the same code and the same nine tools. Both act as you and use your normal EvonX credits and plan limits.
Setup (run it on your computer)
- Sign up at evonx.ai and create an API key in
Settings → API keys (direct link). Keys start with
evx_. - Add the server to your client with the key in
EVONX_API_KEY.
Builds use your normal EvonX credits and plan limits, exactly as if you typed the prompt in the EvonX console. The games appear in your EvonX workspace, where you can keep editing them.
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"evonx": {
"command": "npx",
"args": ["-y", "@evonx/mcp"],
"env": { "EVONX_API_KEY": "evx_your_key" }
}
}
}
Claude Code
claude mcp add evonx --env EVONX_API_KEY=evx_your_key -- npx -y @evonx/mcp
Cursor
~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"evonx": {
"command": "npx",
"args": ["-y", "@evonx/mcp"],
"env": { "EVONX_API_KEY": "evx_your_key" }
}
}
}
VS Code
{
"servers": {
"evonx": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@evonx/mcp"],
"env": { "EVONX_API_KEY": "evx_your_key" }
}
}
}
Windsurf, Cline, Zed and others
Any client that runs stdio servers works with the same command: npx -y @evonx/mcp and the
EVONX_API_KEY environment variable.
Example
You: Make me a match-3 game about a pirate ship and give me a link when it's ready.
Assistant: (calls
evonx_create_game, thenevonx_get_game_statusuntil it is complete) Your game "Pirate Match" is ready. Play it here: https://….preview.evonx.ai/ . Want more levels or a boss fight?
Configuration
| Variable | Required | Default | |
|---|---|---|---|
EVONX_API_KEY | yes | Your EvonX API key (evx_…). | |
EVONX_API_URL | no | https://api.evonx.ai | The API base, for staging or self-hosted setups. |
Running it over HTTP
The same server speaks Streamable HTTP for hosts that cannot run a local command:
npx -y @evonx/mcp --http # POST http://127.0.0.1:8096/mcp
It keeps no session and no key of its own. Every request carries its credential as
Authorization: Bearer evx_your_key, is checked against the EvonX API, and acts as that key only.
| Variable | Default | |
|---|---|---|
PORT, HOST | 8096, 127.0.0.1 | Where to listen (also --port, --host). |
EVONX_MCP_PUBLIC_URL | How clients reach the server, for example https://mcp.example.com. | |
EVONX_OAUTH_ISSUER | The EvonX authorization server, to advertise sign-in beside API keys. | |
EVONX_MCP_ALLOWED_HOSTS | any | Host names to answer to, comma separated. |
EVONX_MCP_TRUST_PROXY | off | 1 behind your own proxy, to read the caller's address from its headers. |
The REST API
The server is a thin wrapper over the EvonX public API, which you can call directly:
curl -X POST https://api.evonx.ai/api/v1/public/games \
-H "Authorization: Bearer $EVONX_API_KEY" -H "Content-Type: application/json" \
-d '{"prompt":"A tower defense game in a snowy forest"}'
Endpoints: GET /me, GET /templates, GET /games, POST /games, GET /games/{id}, GET /games/{id}/play-url,
GET|POST /games/{id}/messages, POST /games/{id}/publish, all under https://api.evonx.ai/api/v1/public: 60
requests a minute per key, and per workspace 10 new games and 30 change messages an hour. See the docs.
Development
npm install
npm run build
npm test
EVONX_API_KEY=evx_… npx @modelcontextprotocol/inspector node dist/cli.js
node dist/cli.js --http # then point a client at http://127.0.0.1:8096/mcp
License
MIT © EvonX