mcpField
M
Metroidvania Studio

Metroidvania Studio

Local
github.com/LBarimiMedia & Design2Updated 7w ago

About Metroidvania Studio

Metroidvania Studio is a free, open-source 2D level editor for metroidvania game creators, with room-based maps, tile painting, minimaps, and JSON export. Lua scripts, a headless CLI, and a local MCP server support automated editing alongside visual workflows.

Key features

  1. 01Build and connect map rooms
  2. 02Paint autotiled maps
  3. 03Design minimaps and preview gameplay
  4. 04Import and export shared JSON maps
  5. 05Automate edits with Lua and CLI
  6. 06Review scripted changes with dry runs

Use cases

  1. 01Lay out connected rooms for a metroidvania
  2. 02Paint and revise room tiles
  3. 03Export maps for supported game engines
  4. 04Automate repeated map edits

MCP support

A local MCP server lets AI agents work with the editor alongside Lua scripts and the headless CLI. Scripted changes support dry runs, atomic updates, and revision checks.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"lbarimi-metroidvania-studio": {
"command": "npx",
"args": [
"-y",
"metroidvania-studio"
]
}
}
}
Run commandnpx -y metroidvania-studio

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmetroidvania-studio1.3.2

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

README image Metroidvania Studio

Metroidvania Studio is a free, open-source 2D level editor for metroidvania games. Build connected rooms, paint autotiled maps, and design minimaps with JSON export for multiple game engines. The room-based map editor runs locally in your browser or the Windows program.

Website · Documentation · Downloads

Automate your workflow: Lua scripts, a headless CLI, and a local MCP server for AI agents.

Add Rooms & Paint Tiles

Add a second room, paint rock tiles, then pan back and connect the first room

Configure Tile Palettes

Import a grassland PNG into a color palette and update an existing room

Resize, Rotate & Connect Rooms

Resize, rotate, and connect three ice cavern rooms

Design Your Minimap

Explore a world of five terrain themes, double-click an ice cavern to edit it, then zoom out

Explore with Game Preview

Drag the game camera inside a room, inspect the live view, and maximize or collapse Game Preview

Get Started

Runs locally on Windows, macOS, and Linux. No game engine installation is required.

Download a ready-to-run package from GitHub Releases, extract it, and open the launch file at the top level. The prebuilt web package requires ASP.NET Core Runtime 10.

To build from source, install:

RequirementUsed for
Node.js 24+Building the web UI and running build scripts
.NET SDK 10Building the local server and command-line tools
GitValidating source files during the build

Then use the scripts for your platform:

PlatformBuildRun
Windowsplatform/win/web/build.batplatform/win/web/run.bat
macOSplatform/mac/build.commandplatform/mac/run.command
Linuxbash platform/linux/build.shbash platform/linux/run.sh

Run checks your local build against the current version and source files. It builds automatically when needed, then opens the studio in your browser. An up-to-date build starts immediately.

Maps and Textures are stored beside the launcher or at the source project root. Find them through File → Storage folders. Room JSON updates automatically in Maps/AutoExport; palette settings are managed in .studio/catalog.json. Keep Maps, Textures and .studio when updating the studio.

Try the Sample World

A new workspace opens a six-room world with a looping route, a vertical shaft, a side chamber, slopes, background tiles, and object markers. You can also open it through Help → Open sample world.

Paint a room, Ctrl-click two rooms to move them together, or switch to the minimap and double-click a room to jump back into editing. See the five-minute walkthrough or sample JSON.

Editing Basics

  • Paint: left-drag inside the active room. The first click on another room selects it.

  • Erase: right-drag inside the active room.

  • Pan and zoom: middle-drag to pan, mouse wheel to zoom, Ctrl + wheel to change brush size. Right-drag on empty space also pans.

  • Arrange rooms: right-click empty space to add a room, drag a room's title strip to move it, or drag its outer handles to resize. Rotation is available in the inspector.

  • Save and exchange maps: use File for saving and JSON import/export. Use Edit for Undo/Redo. Set PPU and resolution in the top toolbar (defaults: 16 and 320×180).

  • Preview: choose Game camera and drag its white frame. Game Preview follows immediately; expand, maximize, or collapse it as needed.

See Help → Shortcuts for the full control list. The interface follows your browser language and can be changed from the language picker.

Open Help → Documentation for searchable guides and the API reference, including offline access.

Engine Packages

EnginePackageInstallation
Unity.unitypackageGuide
GodotAddon ZIPGuide
Unreal Engine 4Plugin ZIPGuide
Unreal Engine 5Plugin ZIPGuide
SDL3C++ source ZIPGuide

Each engine folder includes translated installation guides. Maps use a shared JSON format; engine packages handle importing and rendering, while gameplay stays in your game project.

Scripts & Automation

Use File → Scripts to generate rooms or repeat editing tasks. Run the same operations headlessly through the CLI, or connect an AI agent through the local MCP server. Dry runs, atomic updates, and revision checks keep scripted edits reviewable.

Install the CLI and MCP tools with Node.js 24+ and the .NET 10 runtime:

npm install --global metroidvania-studio

Using a program download? Run metroidvania-studio-cli.cmd help on Windows, or bash metroidvania-studio-cli.sh help on macOS/Linux. See headless from a download.

Start with the documentation, API reference, Lua examples, or MCP setup.

License

Project-owned code and assets use the MIT License. See Third-party notices for external components and their terms.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.