Skip to main content
Glama
wwwzhouhui

Mermaid MCP Server

by wwwzhouhui

get_supported_options

Retrieve a list of supported themes and output formats for diagram customization in Mermaid MCP Server, enabling tailored visualizations for AI clients.

Instructions

获取转换器支持的选项,如图表主题和输出格式。 返回: 一个包含支持的主题和格式列表的字典。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_supported_options' tool, decorated with @mcp.tool() for automatic registration in FastMCP. It logs a message and returns a dictionary listing the supported themes and output formats for Mermaid diagram conversion.
    @mcp.tool() def get_supported_options() -> Dict[str, Any]: """ 获取转换器支持的选项,如图表主题和输出格式。 返回: 一个包含支持的主题和格式列表的字典。 """ logger.info("Providing list of supported options.") return { "themes": ["default", "dark", "neutral", "forest"], "formats": ["png", "jpg", "svg", "pdf"] }
  • The @mcp.tool() decorator registers the get_supported_options function as an MCP tool.
    @mcp.tool()

Other Tools

Related Tools

Latest Blog Posts

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/wwwzhouhui/mermaid_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server