Skip to main content
Glama
robertZaufall

MindManager MCP Server

get_versions

Retrieve version information for MindManager Automation MCP Server components to verify compatibility and track updates.

Instructions

Get the versions of the MindManager Automation MCP Server components.

Returns:
    Dict[str, str]: A dictionary containing the versions of the components.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_versions' tool, decorated with @mcp.tool() which also serves as its registration in the FastMCP server. It returns a dictionary with versions of 'mindm-mcp' (__version__) and 'mindm' libraries.
    @mcp.tool()
    async def get_versions() -> Dict[str, str]:
        """
        Get the versions of the MindManager Automation MCP Server components.
    
        Returns:
            Dict[str, str]: A dictionary containing the versions of the components.
        """
        result = {}
        result["mindm-mcp"] = __version__
        result["mindm"] = mindm.__version__
        return result
  • The @mcp.tool() decorator registers the get_versions function with the FastMCP server instance 'mcp'.
    @mcp.tool()
  • Defines __version__ for the mindm_mcp package, used by get_versions tool.
    try:
        from importlib.metadata import version as _version
        __version__ = _version("mindm_mcp")
    except ImportError:
        __version__ = "unknown"

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/robertZaufall/mindm-mcp'

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