Skip to main content
Glama

Doxygen MCP Server

A comprehensive Model Context Protocol (MCP) server that provides full access to Doxygen's documentation generation capabilities. This server enables AI assistants like Claude to generate, configure, and manage documentation for any supported programming language through a clean, powerful interface.

Overview

The Doxygen MCP Server automates the generation of documentation from source code comments, parsing information about classes, functions, and variables to produce output in formats like HTML and PDF. By simplifying and standardizing the documentation process, it enhances collaboration and maintenance across diverse programming languages and project scales.

Related MCP server: MCP Documentation Server

Features

🚀 Core Capabilities

  • Project Management: Initialize and configure Doxygen projects with intelligent defaults

  • Multi-Language Support: Full support for C/C++, Python, PHP, Java, C#, JavaScript, and more

  • Documentation Generation: Generate comprehensive documentation in multiple formats

  • Validation & Analysis: Check documentation coverage and identify missing documentation

  • Diagram Generation: Create UML diagrams, inheritance graphs, and call graphs

  • Configuration Management: Advanced Doxyfile creation and management

📋 Supported Languages

Primary Support:

  • C, C++, Python, PHP

Extended Support:

  • Java, C#, JavaScript, Objective-C, Fortran, VHDL, IDL

Additional Support (via extension mapping):

  • Batch, PowerShell, Bash, Perl, Go, and more

📄 Output Formats

  • HTML (with interactive navigation)

  • LaTeX and PDF

  • XML (for further processing)

  • RTF (Rich Text Format)

  • Man pages

  • DocBook

Prerequisites

Quick Start

1. Install Doxygen

# Ubuntu/Debian
sudo apt-get install doxygen

# macOS
brew install doxygen

# Windows
# Download from https://www.doxygen.nl/download.html

2. Install Dependencies

# Clone repository
git clone <repository-url>
cd doxygen-mcp

# Install with uv
uv sync

3. Configure Claude Desktop

Edit your Claude Desktop configuration file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Add Doxygen MCP to mcpServers:

{
  "mcpServers": {
    "doxygen-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/doxygen-mcp",
        "run",
        "doxygen-mcp"
      ],
      "env": {}
    }
  }
}

Windows Example:

{
  "mcpServers": {
    "doxygen-mcp": {
      "command": "C:\\Users\\YourName\\.local\\bin\\uv.exe",
      "args": [
        "--directory",
        "D:\\dev\\doxygen-mcp",
        "run",
        "doxygen-mcp"
      ],
      "env": {}
    }
  }
}

4. Restart Claude Desktop

Close and reopen Claude Desktop to load the new MCP server.

5. Verify Installation

In Claude, try:

What MCP tools do you have available?

You should see Doxygen MCP tools listed.

6. Basic Usage Example

Create a Doxygen project for my C++ codebase at /path/to/project

Claude will initialize a Doxygen project with appropriate configuration.

Detailed Documentation

For comprehensive documentation, see:

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

This project is licensed under the GNU General Public License version 3 (GPLv3). See COPYING.md for the full license text.

Support

For bug reports and troubleshooting, see BUGS.md.

Roadmap

Planned Features

  • Real-time documentation preview

  • Integration with popular IDEs

  • Custom theme support

  • Advanced search capabilities

  • Multi-repository documentation

  • CI/CD integration helpers

  • Performance analytics

  • Documentation quality scoring

Version History

  • v1.0.0: Initial release with full MCP support for all features of Doxygen up to and including version 1.14.0.


For more information about Doxygen itself, visit doxygen.nl.

Available Tools

7 tools
check_doxygen_installC

Verify Doxygen installation and capabilities

Inputs: detailed, check_dot, check_latex. Returns: result

create_doxyfileC

Generate a Doxyfile configuration with specified settings

Inputs: output_path (required), template, project_settings, language_optimizations. Returns: result

create_doxygen_projectC

Initialize a new Doxygen documentation project with configuration

Inputs: project_name (required), project_path (required), language, extract_private, +1 more. Returns: result

generate_documentationC

Generate documentation from source code using Doxygen

Inputs: project_path (required), verbose, clean_output, output_format. Returns: result

scan_projectC

Analyze project structure and identify documentation opportunities

Inputs: project_path (required). Returns: result

suggest_file_patternsC

Suggest appropriate file patterns for a project

Inputs: project_path (required), include_tests, include_examples, primary_language. Returns: result

validate_documentationC

Check for documentation warnings, missing docs, and coverage analysis

Inputs: project_path (required), output_format, check_coverage, warn_undocumented. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a distinct purpose: checking installation, creating config, initializing project, generating docs, scanning project, suggesting patterns, and validating. No ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (e.g., check_doxygen_install, create_doxyfile, generate_documentation), using lowercase snake_case throughout.

    Tool Count5/5

    With 7 tools, the server is well-scoped for its purpose of Doxygen documentation management. Each tool is necessary and balanced.

    Completeness5/5

    The tool set covers the full lifecycle from installation verification to documentation generation and validation, with additional analysis and suggestion tools. No obvious gaps.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers