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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mindm_mcp/server.py:424-436 (handler)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
- mindm_mcp/server.py:424-424 (registration)The @mcp.tool() decorator registers the get_versions function with the FastMCP server instance 'mcp'.@mcp.tool()
- mindm_mcp/server.py:23-27 (helper)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"