check_doxygen_install
Check Doxygen installation and verify availability of Graphviz DOT and LaTeX capabilities. Use to ensure documentation toolchain is complete and ready.
Instructions
Verify Doxygen installation and capabilities
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_dot | No | ||
| check_latex | No | ||
| detailed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/doxygen_mcp/server.py:402-417 (handler)The main tool handler for check_doxygen_install. Decorated with @mcp.tool(), it runs 'doxygen --version' via subprocess and returns a success/error message based on the result.
@mcp.tool() async def check_doxygen_install( check_dot: bool = True, check_latex: bool = True, detailed: bool = False, ) -> str: """Verify Doxygen installation and capabilities""" try: result = subprocess.run(["doxygen", "--version"], capture_output=True, text=True) if result.returncode == 0: version = result.stdout.strip() return f"✅ Doxygen {version} is installed and working!" else: return "❌ Doxygen is not working properly" except FileNotFoundError: return "❌ Doxygen is not installed" - src/doxygen_mcp/server.py:402-402 (registration)The tool is registered via the @mcp.tool() decorator on the async function, which registers it with the FastMCP server instance named 'mcp'.
@mcp.tool() - src/doxygen_mcp/server.py:47-47 (helper)The FastMCP server instance ('mcp') used for tool registration; the @mcp.tool() decorator registers check_doxygen_install as an MCP tool.
mcp = FastMCP("Doxygen") - src/doxygen_mcp/server.py:403-407 (schema)The function signature defines the input schema: check_dot (bool, default True), check_latex (bool, default True), and detailed (bool, default False). Returns a str.
async def check_doxygen_install( check_dot: bool = True, check_latex: bool = True, detailed: bool = False, ) -> str: