Ludo.ai
Developers

MCP Server

Generate game assets from a conversation with your AI assistant.

Included with the Pro and Studio plans. See what a generation costs

Using a coding agent? Give it the Ludo CLI instead. It's the recommended way to connect agents to Ludo. It uses far fewer tokens, because the agent loads only the commands it needs, not the schema of every tool. And it handles files for you: local files go in by path and results are saved to disk, so the agent never has to push base64 through its context.

Set up in 3 steps

1

Subscribe to Pro or Studio

API and MCP access is included on the Pro and Studio plans.

2

Get Your API Key

Log in at app.ludo.ai, open API Keys from the sidebar or the user menu, name your key and click Create key. Copy it right away: it is shown only once.

3

Connect your client

Add the Ludo MCP server to your assistant with one of the setups below.

MCP (Model Context Protocol)

Connect Ludo.ai to AI assistants like Claude using the Model Context Protocol. Generate game assets, animate sprites, and create visuals directly through natural language conversations.

One-click install:Add to CursorAdd to VS Codethen paste your API key
https://mcp.ludo.ai/mcp
Use this URL to connect any MCP-compatible client.
Authorization: ApiKey YOUR_API_KEY

Run this command to add Ludo.ai as an MCP server:

claude mcp add ludo https://mcp.ludo.ai/mcp -t http -H "Authorization: ApiKey YOUR_API_KEY"
1Replace YOUR_API_KEY with your Ludo.ai API key.
2Run the command in your terminal to register the MCP server.

Add Ludo.ai to OpenAI Codex by editing ~/.codex/config.toml:

~/.codex/config.toml
[mcp_servers.ludo-ai]
url = "https://mcp.ludo.ai/mcp"

[mcp_servers.ludo-ai.http_headers]
Authorization = "ApiKey YOUR_API_KEY"

Replace YOUR_API_KEY with your Ludo.ai API key, then restart Codex so it reconnects with the new configuration.

Add Ludo.ai to Cursor using either the Settings UI or manual configuration:

Option 1: Cursor Settings UI

  1. Open Cursor Settings (Cmd+, on Mac or Ctrl+, on Windows/Linux)
  2. Go to Tools & MCP section and click New MCP Server
  3. Set Server Name to ludo-ai
  4. Set Transport Type to http
  5. Set URL to https://mcp.ludo.ai/mcp
  6. Add a header: Authorization with value ApiKey YOUR_API_KEY
  7. Save and restart Cursor

Option 2: Manual Configuration

Edit your Cursor MCP config file at ~/.cursor/mcp.json (or .cursor/mcp.json in your project):

~/.cursor/mcp.json
{
  "mcpServers": {
    "ludo-ai": {
      "url": "https://mcp.ludo.ai/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "ApiKey YOUR_API_KEY"
      }
    }
  }
}

Replace YOUR_API_KEY with your Ludo.ai API key, then restart Cursor.

Option 3: mcp-remote proxy (fallback)

If the direct HTTP connection above doesn't connect, use the mcp-remote proxy instead. It runs locally via npx and bridges to our server. Add this to ~/.cursor/mcp.json:

~/.cursor/mcp.json
{
  "mcpServers": {
    "ludo-ai": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://mcp.ludo.ai/mcp",
        "--transport",
        "http-only",
        "--header",
        "Authorization: ApiKey YOUR_API_KEY"
      ]
    }
  }
}

Replace YOUR_API_KEY with your Ludo.ai API key, then restart Cursor. Requires Node.js installed (for npx).

CLI or MCP?

For AI agents, use the CLI: it uses far fewer tokens, and files go in by path instead of base64. MCP is for chat assistants that can't run commands. Explore the CLI

Ludo CLIMCP server
Setupnpm install, then ludo login in the browserAdd the server and API key to each client
FilesPass local paths; results saved to diskURLs and base64; results expire after 7 days unless downloaded
Token useLow: reads only the commands it uses, and local files go in by pathHigh: loads every tool schema (30+) up front, and a local file has to be written out as base64 inside the tool call
Works inAny terminal, any agent that can run commands, scripts and CIMCP-enabled clients
Best forCoding agents (recommended), building a game in a repo, batch work, automationChat assistants that can't run commands

Build with Ludo from your assistant

Ask for sprites, animations, 3D and audio in plain words.

Need help with integration?Join our DiscordContact us