Godot Docs MCP Server
by jcappele
README.md
# Godot Docs MCP Server
MCP (Model Context Protocol) server on Cloudflare Workers to search and read Godot documentation in Markdown format.
> **Credits & Acknowledgments**
> This project is a fork / adaptation of the original project [godot-docs-mcp](https://github.com/james2doyle/godot-docs-mcp) created by [James Doyle](https://github.com/james2doyle).
> Distributed under the same open-source license (MIT License) as the original repository.
**Prerequisites:** Node.js, Git
## Tools
* **`search_docs`**: Searches for a term and returns matching URLs.
* **`get_docs_page_for_term`**: Fetches the first matching page and converts it to Markdown.
## Dependencies & Indexing
Generate index files locally before the initial run.
### 1. Download Indexes (Git Bash)
```bash
for v in stable latest 4.7 4.6 4.5 4.4 4.3; do
mkdir -p "src/indexes/$v"
curl -o "src/indexes/$v/searchindex.js" "https://docs.godotengine.org/en/$v/searchindex.js"
done
```
### 2. Convert Indexes to JSON
```bash
node convert.js
```
### 3. Run MCP Server
```bash
npm install
npm run dev # Run locally (http://localhost:8787/mcp)
npm run deploy # Deploy to Cloudflare Workers
```
## License
This project is licensed under the MIT License. Original code copyright (c) James Doyle. See the `LICENSE` file for details.This server cannot be deployed
Maintenance
ActivitySlowing
ResponsivenessNo issues