Skip to main content

MCP server for Godot documentation

Project description

Godot MCP Documentation Server

Docker Godot MCP License

A Model Context Protocol (MCP) server that provides AI assistants with access to the complete Godot Engine documentation, helping developers with Godot development by serving documentation directly to LLMs.

Purpose

This server bridges the gap between AI assistants and Godot documentation, allowing developers to get instant, accurate answers about Godot classes, tutorials, and features without leaving their AI chat interface.

Deployment

  1. Clone the repository:

    git clone https://github.com/Nihilantropy/godot-mcp-docs.git
    cd godot-mcp-docs
    
  2. Build the Docker image:

    docker build -f deploy/Dockerfile -t godot-mcp-docs:local .
    
  3. Configure your MCP client (Claude Desktop example):

    {
      "mcpServers": {
        "godot-mcp-docs": {
          "command": "docker",
          "args": [
            "run",
            "--rm",
            "-i",
            "godot-mcp-docs:local"
          ]
        }
      }
    }
    

Documentation Structure

The server provides access to the complete official Godot documentation with this structure:

docs/
├── _styleguides
├── _tools
│   └── redirects
├── about
├── classes
├── community
│   └── asset_library
├── contributing
│   ├── development
│   │   ├── compiling
│   │   ├── configuring_an_ide
│   │   ├── core_and_modules
│   │   ├── debugging
│   │   │   └── vulkan
│   │   ├── editor
│   │   └── file_formats
│   ├── documentation
│   └── workflow
├── getting_started
│   ├── first_2d_game
│   ├── first_3d_game
│   ├── introduction
│   └── step_by_step
├── img
└── tutorials
    ├── 2d
    ├── 3d
    │   ├── global_illumination
    │   ├── particles
    │   └── procedural_geometry
    ├── animation
    ├── assets_pipeline
    │   ├── escn_exporter
    │   └── importing_3d_scenes
    ├── audio
    ├── best_practices
    ├── editor
    ├── export
    ├── i18n
    ├── inputs
    ├── io
    ├── math
    ├── migrating
    ├── navigation
    ├── networking
    ├── performance
    │   └── vertex_animation
    ├── physics
    │   └── interpolation
    ├── platform
    │   ├── android
    │   ├── ios
    │   └── web
    ├── plugins
    │   └── editor
    ├── rendering
    ├── scripting
    │   ├── c_sharp
    │   │   └── diagnostics
    │   ├── cpp
    │   ├── debug
    │   ├── gdextension
    │   └── gdscript
    ├── shaders
    │   ├── shader_reference
    │   └── your_first_shader
    ├── ui
    └── xr

Available Tools

  • get_documentation_tree() - Get a tree-style overview of the entire documentation structure
  • get_documentation_file(file_path: str) - Retrieve the content of specific documentation files

Sample Usage

Explore documentation structure:

What documentation is available for Godot?

Get specific class documentation:

Show me the documentation for CharacterBody2D

Learn about tutorials:

What tutorials are available for 2D game development?

Get specific tutorial content:

Show me the first 2D game tutorial

Compare classes:

What's the difference between Node2D and CharacterBody2D?

Recommended System Prompt

For optimal results when working with Godot, use this system prompt:

"When working with Godot game development questions, always search for the latest available documentation using the godot-mcp-docs tools. Start with get_documentation_tree() to understand the documentation structure, then use get_documentation_file() to retrieve specific information about classes, tutorials, or features. Prioritize official Godot documentation over general knowledge when providing Godot-related assistance."

Screenshots

MCP Integration in Claude Desktop

Claude Desktop Integration

Documentation Access Example

Documentation Query Example

Updating Documentation

To update to a newer version of Godot documentation:

Option 1: Rebuild the image

docker build -f deploy/Dockerfile -t godot-mcp-docs:local . --no-cache

Option 2: Update manually inside container

docker run -it --entrypoint /bin/bash godot-mcp-docs:local
# Inside container:
python docs_converter/godot_docs_converter.py
tree docs/. > docs/docs_tree.txt

License

This project is licensed under the MIT License - see the LICENSE file for details.

The Godot documentation content follows the original Godot documentation licensing:

  • Documentation content (excluding classes/ folder): CC BY 3.0
  • Class reference files (classes/ folder): MIT License
  • Attribution: "Juan Linietsky, Ariel Manzur and the Godot community"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_nihilantropy_godot_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_nihilantropy_godot_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_nihilantropy_godot_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eef3c9e4e2eb6238ddca3d82fb9af1bb0759b12e68d7940c07e2a7d4cd94b5e0
MD5 c9e3a4097392fa1dc88116d4456392e6
BLAKE2b-256 4a61d06a4850bf103f4230caa08bcb179c6398cc3ab49226400e1a1bbba588ac

See more details on using hashes here.

File details

Details for the file iflow_mcp_nihilantropy_godot_mcp_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_nihilantropy_godot_mcp_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_nihilantropy_godot_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d1aa7aa359eac20fc4657e969b9a75dcd9d5a42b69abb137608b411ccec3c0e
MD5 415463b85c942d0606d01189985ec945
BLAKE2b-256 9eeaf6d070f8570546a3b8dc7d390db05d77f06b6203a154ada7a6c6763b9cd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page