Skip to main content

flutter3d_sim_mcp 1.0.0-rc.2 copy "flutter3d_sim_mcp: ^1.0.0-rc.2" to clipboard
flutter3d_sim_mcp: ^1.0.0-rc.2 copied to clipboard

A level of any game an agent can play blind, and why a frame of it is wrong: a debug view of normals and depth, the HDR value of one pixel, the passes the frame graph ran.

flutter3d_sim_mcp #

An MCP server, part of flutter3d: a shooter level an agent can play blind (ai-00 in doc/tooling-plan.md). The agent can open a level, step it forward with input, read positions and health back in words, capture a headless frame with no GPU, and hand over the run it made as a .f3drun that any other tool in this repository can open.

A claim about the run comes with its proof. run.expect steps until a predicate over the reading holds (near a point, inside a box, alive, health) and writes the .f3drun that got there. run.verify replays such a file in a world of its own and names the first checkpoint where it stops matching, if there is one. Claims about what touched what are not possible, because game events are not saved in a run.

Unlike flutter3d_mcp/editor.dart/flutter3d_mcp/model.dart, this server is genre-aware on purpose. It knows what a monster and a weapon are, because the question it answers ("what does the room look like from here, and is the player still alive") has no genre-agnostic version.

The package has no bin/: the server needs a game, and only the game's own program has one. That program constructs SimMcpServer with a SimSession for its game over whatever channel it picks: stdin and stdout through dart_mcp's stdioChannel for a host that starts it, or a socket it listens on. This repository's suite does the second, because flutter test rewrites everything a test writes to stdout with its own prefix, and a protocol tied to an exact line format does not survive that.

0
likes
150
points
397
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A level of any game an agent can play blind, and why a frame of it is wrong: a debug view of normals and depth, the HDR value of one pixel, the passes the frame graph ran.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#game-development #mcp #tooling #ai

License

MIT (license)

Dependencies

dart_mcp, flutter, flutter3d, flutter3d_app, flutter3d_cpu, flutter3d_foundation, flutter3d_mcp, flutter3d_physics, flutter3d_physics_native, flutter3d_plugin_api, flutter3d_sim, vector_math

More

Packages that depend on flutter3d_sim_mcp