Capybara Version 2 is available. We recommend all new users start on Version 2 — Version 1 support will be deprecated over time.

Visit Version 2 →

Capybara

Docs

2026

# Capybara 2.5D Engine

The entire public engine interface lives in a single file: src/Game.ts. This gives your agent a stable, predictable surface to learn and call without getting lost in a massive codebase.

## Quick Start

Clone the engine, add the Capybara MCP to your coding agent, then start building. Grab an API key at developer.capybara.build.

01 · Clone the engine

$ git clone https://github.com/d-liya/capybara_2d_engine.git
$ cd capybara_2d_engine

02 · Add the MCP

Same setup as the API console. Replace YOUR_API_KEY with your key, then run the command for your agent:

Run this in your terminal.

claude mcp add capybara-mcp -e CAPYBARA_API_KEY=YOUR_API_KEY -- npx -y capybara-mcp@latest

03 · Use your coding agent

Open the cloned repo in Claude Code, Codex, Cursor, or another MCP client. Ask the agent to build a scene — it can generate maps, characters, props, and HUD art through the MCP, then wire them into src/Game.ts.

### Assets look wrong?

Check the original file in src/data before regenerating. Generated art is usually fine — coding agents often wire it in with the wrong aspect ratio.

Get an API key →View the engine →