Get the FREE Ultimate OpenClaw Setup Guide →

godot4-runtime

一个为 Godot 4 + C# 项目打造的 Model Context Protocol (MCP) 服务器, 让 AI 助手能够实时访问、调试、控制游戏运行时。 ✨ 支持场景树查询、信号监听、日志分析、属性修改等 48 种工具。 🚀 一键集成 VSCode Copilot,构建智能化的 Godot 开发体验。

How to use

The godot4-runtime MCP server is designed specifically for Godot 4 projects utilizing C#, enabling seamless integration of AI assistants for real-time access, debugging, and control of your game's runtime environment. With capabilities such as scene tree queries, signal listening, log analysis, and property modification, you can enhance your development workflow and streamline game management. This tool empowers developers to leverage intelligent features, improving efficiency and creativity in their Godot projects.

Once connected to the godot4-runtime MCP server, you can interact with a variety of tools to enhance your development process. For example, you can perform scene tree queries to inspect nodes, listen for signals to react to game events, and modify properties on the fly. The server supports 48 different tools, making it easy to command and control your game environment effectively. Utilize queries or commands that leverage these tools for optimal results, enabling a more dynamic and responsive development experience.

How to install

To install the godot4-runtime MCP server, ensure you have the following prerequisites:

  • Node.js (version 14 or higher)
  • Python (version 3.7 or higher)

Option A: Quick start with npx

If you prefer a quick start without installing globally, use the following command:

npx -y godot4-runtime

Option B: Global install alternative

To install the MCP server globally, use this command:

npm install -g godot4-runtime

This allows you to run the server from anywhere on your system.

Additional notes

When configuring the godot4-runtime MCP server, consider setting environment variables to customize its behavior. For example, you may want to adjust logging levels or specify the host and port for the server. A common gotcha is ensuring that your firewall settings allow traffic on the specified port, as this can prevent successful connections to the server. Always refer to the official GitHub repository for additional configuration options and updates.

Related MCP Servers

Sponsor this space

Reach thousands of developers