Skip to main content
Glama
README.md
<div align="center">

![GameDev MCP Server: one MCP server between AI agents and the Unity, Godot and Unreal editor plugins](https://raw.githubusercontent.com/IvanMurzak/GameDev-MCP-Server/main/docs/img/hero.svg)

[![NuGet](https://img.shields.io/nuget/v/com.IvanMurzak.GameDev.MCP.Server?label=NuGet&color=2F6F9F&logo=nuget&style=for-the-badge&labelColor=0F172A&logoColor=white)](https://www.nuget.org/packages/com.IvanMurzak.GameDev.MCP.Server/) [![Docker](https://img.shields.io/docker/v/aigamedeveloper/mcp-server?sort=semver&label=Docker&color=2F6F9F&logo=docker&style=for-the-badge&labelColor=0F172A&logoColor=white)](https://hub.docker.com/r/aigamedeveloper/mcp-server) [![.NET 10](https://img.shields.io/badge/-10.0-0E7490?logo=dotnet&style=for-the-badge&labelColor=0F172A&logoColor=white)](https://dotnet.microsoft.com/download/dotnet/10.0) [![Tests](https://img.shields.io/github/actions/workflow/status/IvanMurzak/GameDev-MCP-Server/test_pull_request.yml?branch=main&label=Tests&color=15803D&logo=github&style=for-the-badge&labelColor=0F172A&logoColor=white)](https://github.com/IvanMurzak/GameDev-MCP-Server/actions/workflows/test_pull_request.yml)<br>[![License](https://img.shields.io/github/license/IvanMurzak/GameDev-MCP-Server?label=License&color=047857&style=for-the-badge&labelColor=0F172A&logoColor=white)](https://github.com/IvanMurzak/GameDev-MCP-Server/blob/main/LICENSE) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&style=for-the-badge&labelColor=0F172A&logoColor=white)](https://discord.gg/cfbdMZX99G) [![Stand with Ukraine](https://raw.githubusercontent.com/IvanMurzak/IvanMurzak/main/images/ukraine/flag-badge.svg)](https://stand-with-ukraine.pp.ua)

</div>

**GameDev MCP Server** is the one [Model Context Protocol](https://modelcontextprotocol.io/) server behind the [Unity-MCP](https://github.com/IvanMurzak/Unity-MCP), [Godot-MCP](https://github.com/IvanMurzak/Godot-MCP) and [Unreal-MCP](https://github.com/IvanMurzak/Unreal-MCP) plugins. It sits between your AI agent and the game editor: the agent speaks MCP to the server, the engine plugin connects to it over SignalR, and every tool, prompt and resource comes from the plugin. There is no engine-specific code here — it is a thin ASP.NET Core host over the NuGet packages [`com.IvanMurzak.McpPlugin.Server`](https://www.nuget.org/packages/com.IvanMurzak.McpPlugin.Server) and [`com.IvanMurzak.ReflectorNet`](https://www.nuget.org/packages/com.IvanMurzak.ReflectorNet).

![An AI agent talks MCP over stdio or streamable HTTP to gamedev-mcp-server, which forwards each call over SignalR to the Unity-MCP, Godot-MCP or Unreal-MCP plugin](https://raw.githubusercontent.com/IvanMurzak/GameDev-MCP-Server/main/docs/img/architecture.svg)

> You usually do not install this yourself: each engine plugin downloads and starts the matching server version. Install it directly to run it in Docker, on a server, or from your own scripts.
>
> Not to be confused with [AI-Game-Dev-Server](https://ai-game.dev), the cloud service. This project is the local MCP host.

## Features

✅ **One server, three engines** — Unity, Godot and Unreal plugins share one binary<br>✅ **Two transports** — `stdio` for spawned servers, `streamableHttp` for URL clients<br>✅ **Auth modes** — `none` locally, a shared `token`, or `oauth` for signed-in use<br>✅ **Agent setup** — `configure --agent <id>` writes a pinned, URL-only client config<br>✅ **Survives restarts** — with `REDIS_URL`, HTTP sessions outlive a server restart<br>✅ **Runs anywhere** — executables for 7 platforms, Docker image, .NET global tool

## Install

- **Executable** — `gamedev-mcp-server-<rid>.zip` from [Releases](https://github.com/IvanMurzak/GameDev-MCP-Server/releases) for Windows, Linux and macOS
- **Docker** — `docker pull aigamedeveloper/mcp-server` (`linux/amd64`, `linux/arm64`)
- **.NET tool** — `dotnet tool install --global com.IvanMurzak.GameDev.MCP.Server` (needs the .NET 10 runtime)

## Quick start

![A terminal session: the server starts on port 8080 with the streamable HTTP transport, then configure writes a pinned Claude Code config](https://raw.githubusercontent.com/IvanMurzak/GameDev-MCP-Server/main/docs/img/terminal.svg)

**Run it.** The default is `stdio` on port `8080`; the engine plugin connects to that port.

```bash
gamedev-mcp-server --port 8080 --client-transport stdio
```

**Let an agent spawn it** (stdio MCP client config):

```json
{
  "mcpServers": {
    "GameDev-MCP": {
      "command": "path/to/gamedev-mcp-server",
      "args": ["--port=8080", "--client-transport=stdio"]
    }
  }
}
```

**Or configure an agent for this project in one command:**

```bash
gamedev-mcp-server configure --agent claude-code   # configure --help lists every agent
```

**Docker.** Inside a container the server must listen on all interfaces (`MCP_BIND=any`), or the port mapping cannot reach it:

```bash
docker run --rm -p 127.0.0.1:8080:8080 \
  -e MCP_PLUGIN_CLIENT_TRANSPORT=streamableHttp -e MCP_BIND=any \
  aigamedeveloper/mcp-server
```

## Configuration

Every option is an environment variable or a CLI argument (arguments win). The ones you will reach for:

| CLI argument | Environment variable | Default | Meaning |
| --- | --- | --- | --- |
| `--port` | `MCP_PLUGIN_PORT` | `8080` | Port for AI clients and the engine plugin |
| `--client-transport` | `MCP_PLUGIN_CLIENT_TRANSPORT` | `stdio` | `stdio` or `streamableHttp` |
| `--tool-timeout` | `MCP_PLUGIN_TOOL_TIMEOUT` | `300000` | Max time for one tool call (ms) |
| `--auth` | `MCP_AUTH` | by transport | `none`, `token` or `oauth` |
| `--bind` | `MCP_BIND` | `loopback` | `loopback`, `any` or an IP |

More options, logging and the `configure` command: [docs/configuration.md](https://github.com/IvanMurzak/GameDev-MCP-Server/blob/main/docs/configuration.md).

## Documentation

- [Configuration](https://github.com/IvanMurzak/GameDev-MCP-Server/blob/main/docs/configuration.md) — every option, logs, `configure --agent`
- [Hosting and authentication](https://github.com/IvanMurzak/GameDev-MCP-Server/blob/main/docs/hosting.md) — `none` / `token` / `oauth`, bind and Origin rules, Docker, sessions and Redis
- [Compatibility](https://github.com/IvanMurzak/GameDev-MCP-Server/blob/main/docs/compatibility.md) — server ↔ McpPlugin ↔ ReflectorNet versions and plugin-dependent behavior

Each [release](https://github.com/IvanMurzak/GameDev-MCP-Server/releases) entry lists its exact McpPlugin and ReflectorNet pins.

## Build from source

```bash
dotnet build com.IvanMurzak.GameDev.MCP.Server.csproj
dotnet run --project com.IvanMurzak.GameDev.MCP.Server.csproj -- --client-transport stdio --port 8080
dotnet test tests/GameDev.MCP.Server.Tests/GameDev.MCP.Server.Tests.csproj
```

Self-contained executables for all 7 platforms: `python build/build_all.py` (Python 3.9+, any OS; pass RIDs to build only some). Output lands in `publish/<rid>/` and is zipped as `gamedev-mcp-server-<rid>.zip`.

## Related

- Engine plugins: [Unity-MCP](https://github.com/IvanMurzak/Unity-MCP) · [Godot-MCP](https://github.com/IvanMurzak/Godot-MCP) · [Unreal-MCP](https://github.com/IvanMurzak/Unreal-MCP)
- Server core: [MCP-Plugin-dotnet](https://github.com/IvanMurzak/MCP-Plugin-dotnet) · [ReflectorNet](https://github.com/IvanMurzak/ReflectorNet)
- Community: [Discord](https://discord.gg/cfbdMZX99G)

## License

[Apache-2.0](https://github.com/IvanMurzak/GameDev-MCP-Server/blob/main/LICENSE) — Copyright © 2026 Ivan Murzak