ebitengine-mcp
Ebitengine MCP server for Cursor
Documentation
MCP Server For Ebitengine
Download this package.
go get github.com/sedyh/ebitengine-mcp@v1.1.0Wrap 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"
}
}
}Other editors
VS Code
~/.vscode/mcp.json
{
"servers": {
"ebitengine-mcp": {
"type": "stdio",
"command": "go",
"args": ["run", "github.com/sedyh/ebitengine-mcp/cmd/server@v1.1.0"]
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ebitengine-mcp": {
"command": "go",
"args": ["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.
Frequently asked questions
What is ebitengine-mcp?
ebitengine-mcp is Ebitengine MCP server for Cursor
How do I install ebitengine-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is ebitengine-mcp open source?
Yes — it is hosted on GitHub at https://github.com/sedyh/ebitengine-mcp and has 11 stars.
Related MCP tools
MCP server for Grafana Go-based implementation. Trusted by 1700+ developers. Trusted by 1700+ developers. Trusted by 1700+ developers.
Flux Operator is a Kubernetes controller for managing the lifecycle of Flux CD for the Model Context Protocol. Enhance AI assistants with powerful integrations.
MCP server connecting to Kubernetes Go-based implementation.
Lunar.dev: Ground Control for 3rd Party APIs for the Model Context Protocol. Enhance AI assistants with powerful integrations. Go-based implementation.
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-gra...
MCP Toolbox for Databases is an open source MCP server for databases. Go-based implementation. Trusted by 10900+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP