unity-manual-mcp
Provides tools for searching and reading Unity's official documentation, including full-text search across manual and scripting reference, fetching individual pages as clean text, browsing manual chapters, and looking up API entries by C# name.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@unity-manual-mcpget the Unity Script Reference page for Rigidbody"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unity Manual MCP
Local MCP server (stdio) that serves a local Unity documentation install to your AI assistant.
The documentation folder is usually located in your Unity Editors install directory, under Data\Documentation\en.
Manual/— how-to articles, organized in chapters (~3.5k pages)ScriptReference/— full scripting API reference, one page per class / property / method (~42k pages)
On first start the server builds a SQLite full-text index of every page (Mozilla-Readability-style extraction of the article body, boilerplate stripped, code examples preserved) and caches it in the OS temp dir. Subsequent starts reuse it; it is rebuilt automatically if the docs file count changes.
Requirements
Python 3.10+ — declared in
pyproject.toml(required byfastmcp3.x). uv reuses any already-installed Python that meets this and only downloads a new one if no compatible interpreter exists.
Setup
Clone the repository
Open a terminal inside the cloned repository
Run
uv sync
Creates .venv and installs the dependencies from pyproject.toml.
Run
uv run server.py "C:\Program Files\Unity\Hub\Editor\<ver>\Editor\Data\Documentation\en"The en folder is auto-detected if you point at ...\Documentation or
...\Editor\Data instead.
Flags:
--selftest— build the index and run sample queries, then exit (no MCP server; good for verifying a fresh setup)--rebuild— force rebuilding the index--prune— drop stale cache entries (db file missing) from the manifestUNITY_DOCS_PATHenv var — alternative to the positional argument
ℹ Run the server manually once after a fresh install to pre-index the docs and avoid waiting during first use
uv run server.py --selftest "C:\Program Files\Unity\Hub\Editor\<ver>\Editor\Data\Documentation\en"
Adding the MCP Server
This is a stdio server, so any client that can launch a local process works. Each client runs the same command:
uv run --directory "<repo>" server.py "<docs path>"where <repo> is this repo's folder and <docs path> is your Unity docs
en folder (auto-detected if you point at ...\Documentation or
...\Editor\Data instead). uv run creates and syncs the .venv
environment automatically, so the client only needs uv on the PATH.
Claude Desktop
claude_desktop_config.json (substitute your own paths):
{
"mcpServers": {
"unity-manual": {
"command": "uv",
"args": ["run", "--directory", "<repo>", "server.py", "<docs path>"]
}
}
}Claude Code
claude mcp add unity-manual -- uv run --directory "<repo>" server.py "<docs path>"OpenCode
opencode.json in the project, or the global config
(~/.config/opencode/opencode.json):
{
"mcp": {
"unity-manual": {
"type": "local",
"command": ["uv", "run", "--directory", "<repo>", "server.py", "<docs path>"],
"enabled": true
}
}
}Codex
codex mcp add unity-manual -- uv run --directory "<repo>" server.py "<docs path>"Or edit ~/.codex/config.toml (shared with the ChatGPT desktop app and IDE
extension; a project-scoped .codex/config.toml works in trusted projects):
[mcp_servers.unity-manual]
command = "uv"
args = ["run", "--directory", "<repo>", "server.py", "<docs path>"]Tools
All read-only (readOnlyHint):
Tool | Purpose |
| Full-text search (all / manual / api) |
| Read one page as clean text (path from search results) |
| Browse manual chapters, or pages inside a chapter |
| Find a class / member API page by C# name |
Index cache
%TEMP%\unity-manual-mcp\ holds one db file per editor (e.g. <hash>.db)
plus a manifest.json mapping each docs path to its db file. Switching editors
reuses the cached index; it is validated by HTML file count. Delete a db file
(or use --rebuild) to force a rebuild. --selftest reports **stale** entries
(db file missing) and **orphaned** entries (docs folder gone, db still there);
--prune drops the stale ones.
Credits
Fully written by Qwen 3.8 27b 🙂
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
An MCP server that gives your AI access to the source code and docs of all public github repos
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Noctree/unity-manual-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server