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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Related MCP server: unity-kb-mcp
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 deployed
Maintenance
Related MCP Connectors
MCP server for querying Forkast documentation
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
An MCP server for search and retrieval over a local LanceDB database
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP Server that provides Retrieval-Augmented Generation (RAG) capabilities to surface the latest Unity API documentation (currently v6.x).1MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes one or more documentation folders (Markdown, MDX, TXT) to AI agents, enabling listing, reading, and searching of documentation files.-
- AlicenseAqualityBmaintenanceA local MCP server that fetches official library documentation (llms.txt-first), caches it to disk, and serves relevant sections to coding agents offline with deterministic retrieval.312 npmMIT