Ebitengine MCP
A server for Ebitengine games that provides debugging and recording tools by capturing game state.
MCP Server For Ebitengine
Download this package.
go get github.com/sedyh/ebitengine-mcp@v1.1.0
Wrap your game to record its state.
examples/plain-record/main.go
import "github.com/sedyh/ebitengine-mcp/mcp"
func main() {
if err := ebiten.RunGame(mcp.Wrap(NewGame())); err != nil {
log.Fatal(err)
}
}
And add this config to your mcp servers.
~/.cursor/mcp.json
{
"mcpServers": {
"ebitengine-mcp": {
"command": "go run github.com/sedyh/ebitengine-mcp/cmd/server@v1.1.0"
}
}
}
Ask your agent to debug something in your game, you can use example/record as an example.
Available tools
All
- Capture build and launch logs.
- Capture app errors.
Record
- Capture N frames with M delay in milliseconds.
Special cases
- ✅ DrawFinalScreen
- ❌ LayoutF
Supported plugins and editors
Feature support matrix: check tools tab.
- ✅ Cursor
- ✅ Windsurf
- ✅ VS Code
- ✅ Claude Code
- ✅ Claude Desktop
- ✅ Cline
- ✅ Emacs MCP
- ✅ Neovim MCP
- ❓ Continue
- ❓ OpenSumi
- ❓ TheiaAI
- ❓ Roo Code
- ❌ Zed
- ❌ Trae
Architecture
Your llm-based editor runs a stdio mcp server that provides various tools for working with the game in your project. The editor specifies the settings and location for running the project, and the server assembles it and passes certain flags on startup, which are picked up by the decorator embedded in the game. The decorator listens for requests to run tools, executes them, and returns a response via a reverse connection to the server, after which it closes. The server supplements the response with application logs and adapts the response to the mcp context. The server remains running as long as editor wants.
Commands
test-server, test-client
Checking the operation of a message via a reverse connection based on long polling.
test-cli, test-bin
Testing a universal builder that can run a project from anywhere outside the working directory.
server, client
Testing the work via mcp together with the entire chain of message processing.
Related Servers
Tinyman MCP
An MCP server for the Tinyman protocol on the Algorand blockchain, offering tools for swaps, liquidity provision, and pool management.
Binalyze AIR MCP Server
Interact with Binalyze AIR's digital forensics and incident response capabilities using natural language.
302AI Sandbox MCP Server
A code sandbox for AI assistants to safely execute arbitrary code. Requires a 302AI API key for authentication.
MCP Development Server
Manage software development projects with full context awareness and Docker-based code execution.
MCP Datetime
A server for datetime formatting and file name generation, with support for various formats and timezones.
MCP Time Server
Provides tools for getting the current time and date, and formatting timestamps in various formats and timezones.
AWS CodePipeline MCP Server
Integrates with AWS CodePipeline to manage continuous integration and delivery pipelines.
MAVAE - IMAGE TOOLBOX
A creative toolkit for AI agents to generate, edit, and manage images, models, and collections using the MAVAE API.
Octopus Deploy Official MCP Server
The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.
TypeScript MCP
A TypeScript-specialized server providing advanced code manipulation and analysis capabilities.