Skip to main content
Glama

Flashback MCP

Your Minecraft replays. Your AI assistant. One creative workflow.

Control replay playback, compose camera shots, edit keyframes and export videos from your favorite local MCP-compatible AI client.

Version Node.js License: All Rights Reserved Modrinth

English · Italiano

Download the server · Get the mod · Installation · Report an issue

Flashback MCP connects an AI assistant to Flashback, the Minecraft replay editor. Describe the shot you want, inspect the timeline together, preview frames and turn a replay into a finished video using 22 tools exposed through the Model Context Protocol.

This repository contains the Node.js MCP server. Install the companion Flashback MCP Fabric mod in Minecraft to connect it to the game. The server has no npm dependencies and needs no provider API key of its own; your AI client manages its model and account.

What you can do

Area

Features

Replays

List, open and close recordings; play, pause, seek and change playback speed.

Camera

Position the camera, adjust its rotation and FOV, and locate nearby entities.

Timeline

Read scenes and tracks; create, rename or remove tracks; edit keyframes and undo/redo changes.

Cinematic effects

Animate camera paths, orbits, FOV, speed, time of day, freezes and camera shake.

Visuals

Adjust HUD visibility, rendering options, weather and other Flashback visual settings.

Preview & export

Return PNG screenshots to the assistant, set export ranges, render videos and monitor progress.

Recording

Start, pause, resume, finish or cancel a recording while playing.

Examples to ask your assistant after connecting:

“Show my available replays and open the newest one.”

“Create a smooth camera move between these two positions and preview the first and last frames.”

“Hide the HUD, set the export range to the camera path and export the scene as a video.”

The assistant uses the tools; Minecraft and Flashback perform the editing and rendering. Tool and image availability depends on the client and model you use.

Related MCP server: popcorn

Requirements

Component

Version / requirement

Minecraft

Any version Flashback is published for: see Supported versions

Java

21+ for Minecraft 1.21.x, 25+ for Minecraft 26.x

Fabric Loader

0.15.10+ for Minecraft 1.21.x, 0.19.0+ for Minecraft 26.x

Flashback

The version listed for your Minecraft below; install its required dependencies, including Fabric API

Flashback MCP mod

1.0.0, the JAR for your Minecraft version, from Modrinth

Node.js

18+; use a maintained release from nodejs.org

AI client

A local client that can launch an MCP server over stdio

Run Minecraft and the MCP process on the same computer, under the same operating-system user. WSL, containers and remote executors do not automatically share the Windows game's home directory and connection.

Supported versions

Each Minecraft version has its own mod JAR. The server is the same for all of them.

Minecraft

Mod JAR

Flashback

Java

1.21 – 1.21.1

flashback-mcp-1.0.0+mc1.21.1.jar

0.39.10 or newer

21

1.21.4

flashback-mcp-1.0.0+mc1.21.4.jar

0.39.10 or newer

21

1.21.5

flashback-mcp-1.0.0+mc1.21.5.jar

0.39.10 or newer

21

1.21.6 – 1.21.8

flashback-mcp-1.0.0+mc1.21.8.jar

0.39.10 or newer

21

1.21.9 – 1.21.10

flashback-mcp-1.0.0+mc1.21.10.jar

0.39.10 or newer

21

1.21.11

flashback-mcp-1.0.0+mc1.21.11.jar

0.39.10 or newer

21

26.1 – 26.1.2

flashback-mcp-1.0.0+mc26.1.2.jar

0.43.3 or newer

25

26.2

flashback-mcp-1.0.0+mc26.2.jar

0.43.3 or newer

25

26.3

flashback-mcp-1.0.0+mc26.3.jar

0.43.4 or newer

25

The same 22 tools exist on every version. Flashback 0.39 (Minecraft 1.21.x) has no ORTHOGRAPHIC, CUBE_MAP or EQUIRECTANGULAR projection, EXR sequences or depth maps: asking for them there returns a clear error.

Installation

1. Install the Minecraft mod

  1. Open the mods folder of the Minecraft profile you actually use.

  2. Install Fabric, Flashback and the dependencies listed on their download pages for your Minecraft version.

  3. Download Flashback MCP 1.0.0 for your Minecraft version from Modrinth and put the JAR from the table above in that profile's mods folder. Replace any older Flashback MCP JAR to avoid loading duplicates.

The .jar belongs in Minecraft's mods folder. The .mjs server below belongs in a separate permanent folder on your computer.

2. Download the MCP server

Install Node.js and check it from a terminal:

node --version

Download flashback-mcp-server.mjs and save it somewhere permanent, for example C:\Tools\FlashbackMCP\ on Windows or ~/Tools/FlashbackMCP/ on macOS/Linux. The release page also offers a ZIP with both guides and SHA-256 checksums.

The standalone file includes the tool catalog: no npm install, Python or build step is needed to use it. Keep the .mjs extension when saving the file.

3. Generate your client configuration

On Windows PowerShell, replace the example path with the location where you saved the file:

node "C:\Tools\FlashbackMCP\flashback-mcp-server.mjs" --print-config codex

On macOS/Linux:

node "$HOME/Tools/FlashbackMCP/flashback-mcp-server.mjs" --print-config codex

Replace codex with the value for your client in the table below. The command prints configuration with the actual absolute paths to Node.js and the server; it does not change any settings. Merge the flashback entry into the indicated file, preserving your existing settings and other MCP servers.

Client

Value

Where to put the generated configuration

Codex CLI / app / IDE

codex

~/.codex/config.toml — TOML

Claude Code

claude

Project .mcp.json, or use the CLI shortcut below

Claude Desktop

claude

claude_desktop_config.json, accessible through Settings → Developer

Cursor

cursor

~/.cursor/mcp.json or project .cursor/mcp.json

Gemini CLI

gemini

~/.gemini/settings.json

VS Code / GitHub Copilot

vscode

Project .vscode/mcp.json, or MCP: Open User Configuration

Other local MCP clients

generic

Adapt the generated mcpServers JSON to the client's format

~ means your operating-system home directory, such as C:\Users\YourName on Windows. In JSON, merge into an existing mcpServers or servers object instead of adding a second object with the same name. In TOML, use a single [mcp_servers.flashback] section.

Do not put --print-config in the saved launch arguments. The AI client should run only Node.js plus the full path to the .mjs file. It starts and stops the server for you.

CLI shortcuts

If you prefer command-line registration, use your real absolute path:

codex mcp add flashback -- node "/absolute/path/to/flashback-mcp-server.mjs"
codex mcp get flashback
claude mcp add --transport stdio --scope user flashback -- node "/absolute/path/to/flashback-mcp-server.mjs"

For Codex, the generated TOML also sets tool_timeout_sec = 1200; add this to the registered entry for long replay loads or exports. Gemini's generated configuration sets the same 20-minute timeout in milliseconds. If PowerShell blocks an npm CLI's .ps1 launcher, use its .cmd launcher, such as codex.cmd.

4. Enable the bridge and verify the connection

  1. Launch the Minecraft profile containing Flashback and Flashback MCP.

  2. From the title screen or pause menu, choose MCP → Enable MCP server.

  3. Restart or reconnect your AI client and enable/trust the MCP server when the client asks.

  4. Ask: “Call flashback_status and tell me whether Minecraft is connected.”

A successful call reports the game state, for example menu, in_world, replay or exporting. Open a replay before using timeline and camera-editing tools. For screenshots and video export, switch Minecraft to windowed mode with F11.

How it connects

flowchart LR
    A[Local AI client] -->|MCP over stdio| B[Node.js server]
    B -->|Authenticated localhost HTTP| C[Flashback MCP mod]
    C --> D[Minecraft + Flashback]

The mod writes connection details to ~/.flashback-mcp/bridge.json. The server discovers them automatically and connects to 127.0.0.1; you do not need to configure a port or paste a token. Keep that discovery file private. FLASHBACK_MCP_BRIDGE_FILE can select a different local discovery file for advanced setups.

This release provides a local stdio server, not a public HTTP MCP endpoint. Browser-only/cloud clients and clients that accept only HTTP MCP require a separate compatible local integration. Requests and screenshots are passed to your chosen AI client, whose model and data policies apply.

Troubleshooting

Problem

What to check

node is not recognized

Install Node.js and reopen the terminal/client. The configuration generator uses its absolute executable path.

The server is missing or exits immediately

Check the .mjs path and extension. Remove --print-config from launch arguments. If using the source version, keep tools.json beside server.mjs.

“Minecraft is not running” or “MCP is disabled”

Launch the correct profile, enable the in-game MCP switch and run the client under the same OS user.

Token rejected after restarting Minecraft

Retry the tool call; the server reads the current discovery file on each call.

A request asks you to remove remote settings

Remove FLASHBACK_MCP_URL and FLASHBACK_MCP_TOKEN; connection discovery is automatic.

Screenshot or export fails in fullscreen

Press F11 to enter windowed mode.

A long operation times out

Increase the client's tool timeout if supported. For export, use wait: false and poll flashback_status until rendering finishes.

Running node server.mjs seems to do nothing

With no arguments it waits for MCP messages on stdin. This is normal; the AI client normally launches it.

When reporting an issue, include game/mod/Node versions, the client name and the error message. Do not include the contents of bridge.json or private client credentials.

Source

flashback-mcp-server.mjs  Ready-to-use standalone server
mcp-server/server.mjs    Source server
mcp-server/tools.json    Full catalog and schemas for all 22 tools
scripts/                 Standalone build script
README.md                English guide
README.it.md             Guida in italiano

To work on the server:

git clone https://github.com/Jepez00/FlashbackMCP.git
cd FlashbackMCP
npm run build

No dependency installation is required. The source entry point is mcp-server/server.mjs, with tools.json next to it; it accepts the same --print-config options as the standalone file.

MCP revisions supported by this release: 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25. Newer clients need to negotiate a supported revision.

Credits and documentation

Created by Jepez. Server code and documentation are All Rights Reserved (see LICENSE). Flashback is created by Moulberry; Minecraft belongs to Mojang / Microsoft. This is an independent project. See third-party notices.

Client configuration references: Codex, Claude Code, Cursor, Gemini CLI, VS Code.

Available Tools

22 tools
flashback_add_trackA

Add a keyframe track to the current scene. Returns its index. (flashback_set_keyframes with track_type creates a missing track by itself.)

Inputs: type (required), name.

flashback_close_replayA

Exit the open replay and return to the title screen. The timeline is saved automatically.

Inputs: no named parameters.

flashback_export_videoA

Export the current scene to a video file, driven by the timeline keyframes. Unspecified options use the values last used in Flashback's export window. The range defaults to the scene export range, else the keyframed span, else the whole replay. Minecraft cannot do anything else while exporting: by default this returns as soon as the export has started, then poll flashback_status until state is no longer 'exporting' and check last_export. Not available in fullscreen.

Inputs: name, ssaa, wait, codec, +21 more.

flashback_get_timelineA

Read the editor timeline of the current scene: scenes, export range, markers, and every track with its keyframes in the same JSON shape that flashback_set_keyframes accepts.

Inputs: track, to_tick, from_tick, include_keyframes.

flashback_get_visualsA

Read the Visuals settings of the open replay: HUD elements (showChat, showHotbar, ...), what is rendered (renderBlocks, renderEntities, renderPlayers, renderParticles, renderSky, renderNametags), overrides (fog, fov, roll, time of day, weather, night vision), camera shake, and framing guides / aspect ratio.

Inputs: no named parameters.

flashback_historyA

Undo or redo the last timeline edit of the current scene (the editor's own Ctrl+Z / Ctrl+Y history, shared with edits made by hand).

Inputs: action (required).

flashback_list_entitiesA

List entities currently loaded near the camera at the current replay tick, nearest first, with position and rotation. Use it to find players or mobs to frame or follow.

Inputs: limit, radius, players_only.

flashback_list_replaysB

List the replay files in the Flashback replay folder with name, length in ticks/seconds, size and date (newest first).

Inputs: no named parameters.

flashback_open_replayA

Open a replay in the Flashback editor. Blocks until it is loaded (can take a while) and returns the status. Any replay already open is closed first, with its timeline saved automatically. If the game is in a world or on a server, it leaves it.

Inputs: name, path.

flashback_playbackA

Play or pause the replay and/or set the playback speed. Returns the playback state. With no arguments it just reports it.

Inputs: speed, paused.

flashback_recordingA

Control Flashback recording while playing in a world or on a server (not while a replay is open): start, finish, pause, unpause or cancel (cancel discards the recording).

Inputs: action (required).

flashback_remove_keyframesA

Remove keyframes from one track (undoable). Select them with ticks, a from_tick/to_tick range, or all=true.

Inputs: all, ticks, track, to_tick, +2 more.

flashback_remove_trackA

Delete a track and all its keyframes (undoable). Indices of later tracks shift down by one.

Inputs: track (required).

flashback_sceneA

Manage editor scenes (each scene has its own tracks and export range): select one, add a new one, or rename one. Returns the scene list.

Inputs: action (required), name, index, select.

flashback_screenshotA

Render one frame of the replay from the current camera to a PNG and return it as an image, so you can see the shot. Optionally seek to a tick first (keyframes are applied, so this previews the camera path at that moment). Takes a couple of seconds. Not available in fullscreen.

Inputs: ssaa, tick, width, height, +4 more.

flashback_seekA

Jump the replay to a tick and wait until the world has caught up. By default keyframes are applied, so the camera moves to where the camera track puts it at that tick. Returns the tick and resulting camera.

Inputs: tick, seconds, apply_keyframes.

flashback_set_cameraA

Move the free (spectator) camera. Omitted values keep their current value. Coordinates are the camera entity position (the view point is 1.62 blocks above y; see eye_y in the result). Yaw: 0 = south (+Z), 90 = west (-X), 180 = north (-Z), -90 = east (+X). Pitch: -90 = straight up, 0 = horizon, 90 = straight down. Returns the resulting camera.

Inputs: x, y, z, fov, +4 more.

flashback_set_export_rangeB

Set the tick range the current scene exports (the in/out points on the timeline). Without a range, exports cover the span between the first and last keyframe, or the whole replay.

Inputs: clear, end_tick, start_tick.

flashback_set_keyframesA

Create or replace keyframes on one track, as a single undoable edit. A keyframe at an existing tick is replaced. Each keyframe needs "tick" (or "seconds") plus the fields for the track type:

  • CAMERA: {"tick":0,"position":[x,y,z],"yaw":0,"pitch":0,"roll":0} — or "look_at":[x,y,z] instead of yaw/pitch. Same conventions as flashback_set_camera.

  • FOV: {"tick":0,"fov":70}

  • SPEED: {"tick":0,"speed":0.5} (1 = real time)

  • TIME_OF_DAY: {"tick":0,"time":6000} (0-24000; 6000 = noon, 18000 = midnight)

  • FREEZE: {"tick":0,"freeze":true,"freezeDelay":0}

  • CAMERA_SHAKE: {"tick":0,"frequencyX":1,"amplitudeX":1,"frequencyY":1,"amplitudeY":1}

  • CAMERA_ORBIT: {"tick":0,"center":[x,y,z],"distance":10,"yaw":0,"pitch":20}

  • TIMELAPSE: {"tick":0,"ticks":0} — "ticks" is the output time at which this replay tick is reached; between two keyframes the replay is sped up to fit.

  • TRACK_ENTITY: copy the shape of an existing keyframe from flashback_get_timeline. Optional "interpolation" on any keyframe sets how the value moves towards the next keyframe: SMOOTH (spline, default), LINEAR, EASE_IN, EASE_OUT, EASE_IN_OUT, HOLD, HERMITE. A camera path needs at least two CAMERA keyframes; the camera is only driven between the first and last one. Preview with flashback_seek + flashback_screenshot.

Inputs: keyframes (required), track, track_type, clear_existing.

flashback_set_visualsA

Change Visuals settings. Pass only the settings to change, using the names and value types returned by flashback_get_visuals, e.g. {"values":{"showHotbar":false,"renderNametags":false,"overrideTimeOfDay":6000}}. overrideTimeOfDay -1 = off. overrideWeatherMode: NONE, CLEAR, OVERCAST, RAINING, SNOWING, THUNDERING. Returns all settings.

Inputs: values (required).

flashback_statusA

Current state of Minecraft and the Flashback replay editor: state (menu / in_world / replay / exporting), open replay (tick, total_ticks, paused, speed), camera (position, yaw, pitch, roll, fov, dimension), recording state, and export progress. Call this first, and poll it while an export is running.

Inputs: no named parameters.

flashback_update_trackA

Enable/disable a track or rename it. A disabled track is ignored during playback and export.

Inputs: track (required), name, enabled.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools target a distinct resource+action (seek, camera, visuals, export, recording, history), and descriptions clarify boundaries like the fact that set_keyframes can create a track. Minor overlaps remain: flashback_add_track vs flashback_set_keyframes (which creates missing tracks itself), and flashback_status vs flashback_playback both report playback state. Multi-action tools (flashback_scene for select/add/rename, flashback_recording for five actions) are overloaded but well documented.

    Naming Consistency4/5

    Everything is snake_case with a uniform flashback_ prefix, and most names are verb_noun (set_camera, list_entities, remove_keyframes). A handful are bare nouns (flashback_status, flashback_scene, flashback_playback, flashback_recording, flashback_screenshot, flashback_history), which is a small but noticeable deviation from the verb pattern.

    Tool Count4/5

    22 tools is on the heavy side, but the domain genuinely spans replay lifecycle, timeline/track/keyframe editing, camera, visuals, export, and recording, so most tools earn their place. Some consolidation is possible (add/update/remove_track vs set/remove_keyframes), but nothing looks purely redundant.

    Completeness4/5

    The surface covers the full replay workflow: open/close/list, playback and seek, camera and entity inspection, scene and export-range management, track/keyframe CRUD, visuals get/set, screenshot preview, video export, recording control, and undo/redo. Gaps are minor: get_timeline exposes markers but no tool sets them, and there is no way to delete or rename replay files on disk.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers