@arhend/godot-mcp
v1.0.1
Published
MCP server for Godot 4 — docs lookup and project file analysis
Downloads
49
Readme
godot-mcp
https://github.com/Arhend/godot-mcp
I wanted a simple MCP server for Godot 4 to help with development — mainly searching the class reference docs and reading project files without having to manually paste things into the chat.
What it does
Docs & API lookup — pulls from the Godot engine's XML class reference on GitHub and caches it locally:
search_godot_class— look up any class (Node, CharacterBody2D, etc.) and get its methods, properties, and signalsget_class_method— full details on a specific methodget_class_property— full details on a specific propertylist_godot_classes— browse all ~570 classes, filter by name prefix or parent classsearch_godot_docs— free-text search across all class descriptions, method names, and more
Project file analysis — reads your local Godot project files directly:
read_scene— parses a.tscnfile into a node treeread_resource— parses a.tresresource fileread_script— reads a.gdscriptget_project_info— readsproject.godotfor name, main scene, autoloadsfind_project_files— find files by extension in your project directory
Setup
git clone https://github.com/Arhend/godot-mcp
cd godot-mcp
npm install
npm run buildAdd to Claude Code as an MCP server:
claude mcp add godot -- npx github:Arhend/godot-mcpThe first time you use a docs tool, it fetches and caches the Godot class reference from GitHub (~30 seconds). After that it loads from the local cache in cache/ and is instant. The cache refreshes automatically after 7 days.
