moxygen
Allows AI assistants to read generated Doxygen XML documentation, with tools to list compounds and extract classes, structs, namespaces, files, directories, and pages by refid or name.
Click on "Deploy 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., "@moxygen show me the documentation for the NetworkManager class"
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.
moxygen
A simple MCP that allows AI to read Doxygen XML docs.
Setup
python -m venv venv
venv/bin/pip install -e '.[dev]' # installs mcp>=2.3,<3 (+ pytest)
venv/bin/pytest # tests run against tests/fixtures/xmlRelated MCP server: DoxygenMcpAccess
Usage
Generate Doxygen with GENERATE_XML = YES, then register the server in the project that owns the docs (.mcp.json at its root):
{
"mcpServers": {
"moxygen": {
"command": "/path/to/moxygen/venv/bin/python",
"args": ["/path/to/moxygen/main.py", "--xml-dir", "build/docs/xml"]
}
}
}Or: claude mcp add moxygen -- /path/to/moxygen/venv/bin/python /path/to/moxygen/main.py
The XML directory is resolved as --xml-dir, then $MOXYGEN_XML_DIR, then ./docs/xml in the
directory the server is launched from. Relative paths are relative to that directory.
Changes to index.xml are picked up without a restart.
Tools
get_compoundsextract_classextract_structextract_namespaceextract_file,extract_dirextract_page
Each one takes a refid or a name.
Available Tools
7 toolsextract_classC
Extract a Doxygen class (by refid or qualified name).
Inputs: ref (required).
extract_dirB
Extract a Doxygen directory (by refid or path such as 'src/db/til').
Inputs: ref (required).
extract_fileB
Extract a Doxygen file (by refid or file name). Source listing is omitted.
Inputs: ref (required).
extract_namespaceC
Extract a Doxygen namespace (by refid or qualified name).
Inputs: ref (required).
extract_pageB
Extract a Doxygen page (by refid or name, e.g. 'index', 'todo').
Inputs: ref (required).
extract_structC
Extract a Doxygen struct (by refid or qualified name).
Inputs: ref (required).
get_compoundsA
List Doxygen compounds as {"compounds": [{refid, kind, name}]}, optionally filtered by kind. Errors are returned as {"error": ...}.
Inputs: kind.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct Doxygen compound kind (class, struct, namespace, file, dir, page), so selection is largely unambiguous. The only mild overlap is extract_class vs extract_struct, since both accept refid or qualified name and are structurally similar compounds, but the kind distinction is clear enough.
All extraction tools follow the exact extract_<noun> snake_case pattern, and get_compounds uses a conventional list-style verb for a listing operation. The convention is predictable and readable throughout.
Seven tools is well-scoped: one listing tool plus one extractor per supported compound kind. Each tool earns its place with no redundant entries.
The surface covers the major Doxygen entity kinds plus discovery via get_compounds, forming a usable browse-and-extract workflow. Minor gaps exist — no search tool by name, and no dedicated extraction for groups, examples, or individual member/function lookups, though these may be reachable through the compound extractors.
Related MCP Connectors
Find, write, publish and check pages and API references in your DeveloperHub docs from an AI client
Versioned documentation registry and semantic search for AI tools and coding assistants.
Docsy gives AI assistants current, version-specific documentation for libraries, frameworks and SDKs. Resolve library IDs and versions, then search and fetch focused official documentation with original source links using five read-only MCP tools. Hosted Streamable HTTP with OAuth 2.1 sign-in.
Search and read Rust documentation for the standard library and any crate on crates.io
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query Doxygen-generated XML documentation, including searching symbols, retrieving documentation, and listing class members for a specified library.1MIT
- FlicenseAqualityDmaintenanceEnables AI clients to search live documentation for popular developer libraries and return clean, source-cited summaries via a RAG pipeline.1-
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants to search for and retrieve authoritative C and C++ documentation from cppreference.com, returning sanitized, paginated Markdown content.46 npm3MIT