The Most Advanced MCP Server for Godot Editor with execute_code, prompts/resources, project maps, runtime inspection, asset workflows, and safe AI automation.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
git clone https://github.com/FunplayAI/funplay-godot-mcpFUNPLAY_GODOT_MCP_URLMCP Servers overview
<p align="center">
<h1 align="center">Funplay MCP for Godot</h1>
<p align="center">
<strong>The Most Advanced MCP Server for Godot Editor</strong>
</p>
<p align="center">
<a href="#"><img src="https://img.shields.io/badge/Godot-4.2%2B-blue?logo=godotengine" alt="Godot 4.2+"></a>
<a href="#"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT"></a>
<a href="#"><img src="https://img.shields.io/badge/MCP-Compatible-green" alt="MCP Compatible"></a>
<a href="#"><img src="https://img.shields.io/badge/Platform-Editor%20Only-orange" alt="Editor Only"></a>
</p>
<p align="center">
<a href="./README_CN.md">中文</a> | English
</p>
<p align="center">
<img src="./icon.svg" alt="Funplay MCP for Godot" width="128">
</p>
</p>
> 💖 If you find this project useful, please consider giving it a Star. It helps more Godot developers discover it and supports ongoing development.
---
Funplay MCP for Godot is an MIT-licensed Godot Editor MCP server that lets AI assistants like Claude Code, Cursor, Windsurf, Codex, and VS Code Copilot operate directly inside your running Godot project.
The addon works in standard Godot `4.2+` projects and is also usable in **Godot .NET** projects. The current implementation is GDScript-based, and the exported script tools are language-aware: GDScript projects see GDScript workflows, .NET projects see C#/.NET workflows, and mixed projects expose both where useful.
Describe your game or tool in one sentence — your AI assistant builds it in Godot through Funplay MCP for Godot’s built-in tools for scene creation, script generation, UI authoring, play-mode validation, input simulation, animation setup, camera control, performance inspection, and editor automation.
> *"Build a top-down shooter HUD with health, ammo, pause menu, and hit flash feedback"*
>
> Your AI assistant handles it through Funplay MCP for Godot: creates the scene structure, generates scripts, builds the Control tree, wires signals, configures animations, and validates the workflow — all from a single prompt.
## Quick Start
If you just want to get connected fast, do these three things:
- Open the project or copy `addons/funplay_mcp` into your own Godot project
- Enable the plugin and start the MCP server
- Use the built-in one-click client configuration
### 1. Install the addon
You can either:
- download `Funplay.GodotMcp.vX.Y.Z.zip` from the latest GitHub Release and extract it into your project root,
- clone this repository and open it directly as a Godot project, or
- copy `addons/funplay_mcp` into your own Godot `res://addons/` directory
> 💡 Before you clone or install, a quick ⭐ on GitHub would be greatly appreciated.
### 2. Enable and start the MCP Server
In Godot:
- open **Project → Project Settings → Plugins**
- enable **Funplay MCP for Godot**
- use the **Funplay MCP** dock on the right side
The server starts on `http://127.0.0.1:8765/` by default.
If that port is already occupied, it automatically picks another free local port and saves it to `user://funplay_mcp_settings.cfg`.
Local MCP POST requests require the per-project auth token stored in `user://funplay_mcp_settings.cfg`; the dock writes it into generated stdio client configs automatically.
The dock also shows the installed addon version and includes a **Check Updates** action that opens the latest GitHub Release when a newer version is available.
### 3. Configure Your AI Client
Use the built-in **One-Click MCP Configuration** in the `Funplay MCP` dock first.
Select your target client, click **Configure**, and the addon writes the recommended MCP config entry for you.
Use **Configure + Skills** when you also want the addon to generate project-local skill files under `res://.funplay/skills/` and an `AGENTS.md` bridge for AI clients that read repository instructions.
If Godot had to pick a different port, use the endpoint shown in the dock.
If you prefer to edit config files manually, use the examples below as fallback references:
<details>
<summary>Claude Code / Claude Desktop</summary>
```json
{
"mcpServers": {
"funplay": {
"type": "stdio",
"command": "npx",
"args": ["-y", "funplay-godot-mcp@0.9.1"],
"env": {
"FUNPLAY_GODOT_MCP_URL": "http://127.0.0.1:8765/",
"FUNPLAY_GODOT_MCP_TOKEN": "<token from Funplay MCP dock>"
}
}
}
}
```
</details>
<details>
<summary>Cursor</summary>
```json
{
"mcpServers": {
"funplay": {
"command": "npx",
"args": ["-y", "funplay-godot-mcp@0.9.1"],
"env": {
"FUNPLAY_GODOT_MCP_URL": "http://127.0.0.1:8765/",
"FUNPLAY_GODOT_MCP_TOKEN": "<token from Funplay MCP dock>"
}
}
}
}
```
</details>
<details>
<summary>VS Code</summary>
```json
{
"servers": {
"funplay": {
"type": "stdio",
"command": "npx",
"args": ["-y", "funplay-godot-mcp@0.9.1"],
"env": {
"FUNPLAY_GODOT_MCP_URL": "http://127.0.0.1:8765/",
"FUNPLAY_GODOT_MCP_TOKEN": "<token from Funplay MCP dock>"
}
}
}
}
```
</details>
<details>
<summary>Codex</summary>
```toml
[mcp_servers.funplay]
url = "http://127.0.0.1:8765/"
```
</details>
### Optional stdio wrapper
Most clients can connect directly to the addon over HTTP. For clients or registries that prefer stdio packages, this repository also includes an npm-ready wrapper under `stdio-wrapper/`.
```bash
cd stdio-wrapper
npm link
FUNPLAY_GODOT_MCP_URL=http://127.0.0.1:8765/ funplay-godot-mcp
```
After the wrapper is published to npm, replace `npm link` with `npm install -g funplay-godot-mcp`.
Example MCP client entry:
```json
{
"mcpServers": {
"funplay": {
"command": "funplay-godot-mcp",
"env": {
"FUNPLAY_GODOT_MCP_URL": "http://127.0.0.1:8765/"
}
}
}
}
```
### 4. Verify the Connection
Open your AI client and try a few safe requests first:
- "Call `get_scene_info` and tell me what scene is open."
- "Read `godot://project/context` and summarize the current editor state."
- "Use `execute_code` to return the active scene name."
If those work, the MCP server, resources, and primary execution tool are connected correctly.
### 5. Start Building
Open your AI client and try: *"Create a 2D HUD with health bar, score label, and pause button"*
## Before You Start
- This addon is **Editor-only**. It does not add runtime components to your exported game.
- The MCP server starts on `http://127.0.0.1:8765/` by default. If the same project already owns that port, the dock attaches to it; otherwise it falls back to another free local port.
- Local MCP server settings are stored in `user://funplay_mcp_settings.cfg`.
- The addon defaults to the `core` MCP tool profile to reduce tool-list noise for AI clients. Switch to `full` in the dock if you want the complete tool surface.
- The dock includes a Tool Exposure panel for disabling individual tools within the active profile, plus optional debug logging and `execute_code` safety toggles.
- `execute_code` safety checks are on by default for common process, filesystem, and project-setting mutations. A reviewed call can pass `safety_checks=false`.
- The dock can check GitHub Releases for newer addon versions.
- Focused MCP tools run directly. There is no extra approval toggle inside the addon.
- The built-in dock can copy or write recommended MCP config entries for Codex, Claude Code, Cursor, and VS Code.
## Why This Project
- **`execute_code` First** — The addon is optimized around one high-flexibility GDScript execution tool for rich editor/runtime orchestration, now with default-on safety checks for risky snippets
- **Tool Exposure Control** — Toggle individual tools from the Godot dock without editing addon code or restarting the project
- **Project Skills** — Generate project-local AI guidance files that capture the current endpoint, tool profile, project context, and recommended Funplay workflow
- **Tool Catalog & Help** — Query grouped tool catalogs, capability gates, workflow coverage, and task-specific guidance from MCP
- **Project Map & Templates** — Inspect scenes, scripts, functions, signals, usage links, a searchable browser graph, and dry-run script refactor plans
- **Runtime Bridge** — Optionally install a lightweight autoload that writes play-mode heartbeat and scene-tree snapshots for AI-driven runtime validation
- **Play Mode Automation** — Enter play mode, simulate input, inspect logs, capture editor views, and validate behavior from the same MCP session
- **Project Context Built In** — Exposes live resources for project state, active scene, selection, play state, script errors, logs, and MCP interaction history
- **Focused by Default, Full When Needed** — `core` exposes a compact high-signal toolset; `full` exposes a broader editor automation surface
- **Single Godot Addon** — No extra approval UI, no external Python daemon required for the Godot-side plugin itself
- **Extensible** — Add more Godot-specific tools, resources, prompts, and workflow helpers as the repo evolves
## Highlights
- **124 Built-in Tools** — Scene editing, PackedScene workflows, language-aware script tools, project maps, script refactor planning, project settings, asset import plans, input map, autoloads, runtime bridge, undo/redo, workflow guidance, files, project skills, play mode control, UI controls, animation, camera, performance, resources, prompts, and editor automation
- **Resources & Prompts** — Live project context, JSON and HTML project maps, release readiness, runtime scene-tree snapshots, scene/selection/error resources, language-aware script diagnostics, `.NET` project resources when applicable, template resources, and reusable workflow prompts
- **Structured Results** — JSON tool outputs and tool errors are mirrored into MCP `structuredContent`, and node/resource summaries include session `instance_id` values for follow-up calls
- **Input Simulation + View Capture** — Drive play mode with actionWhat people ask about funplay-godot-mcp
What is FunplayAI/funplay-godot-mcp?
+
FunplayAI/funplay-godot-mcp is mcp servers for the Claude AI ecosystem. The Most Advanced MCP Server for Godot Editor with execute_code, prompts/resources, project maps, runtime inspection, asset workflows, and safe AI automation. It has 14 GitHub stars and was last updated today.
How do I install funplay-godot-mcp?
+
You can install funplay-godot-mcp by cloning the repository (https://github.com/FunplayAI/funplay-godot-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is FunplayAI/funplay-godot-mcp safe to use?
+
Our security agent has analyzed FunplayAI/funplay-godot-mcp and assigned a Trust Score of 79/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains FunplayAI/funplay-godot-mcp?
+
FunplayAI/funplay-godot-mcp is maintained by FunplayAI. The last recorded GitHub activity is from today, with 1 open issues.
Are there alternatives to funplay-godot-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy funplay-godot-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/funplayai-funplay-godot-mcp)<a href="https://claudewave.com/repo/funplayai-funplay-godot-mcp"><img src="https://claudewave.com/api/badge/funplayai-funplay-godot-mcp" alt="Featured on ClaudeWave: FunplayAI/funplay-godot-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。