Skip to main content
Glama

get_mindmanager_version

Retrieve the current version of the MindManager application using the MCP server, enabling compatibility checks and version-specific operations without manual verification.

Instructions

Gets the version of the MindManager application. Returns: Union[str, Dict[str, str]]: The version of the MindManager application or error dictionary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary handler function for the get_mindmanager_version tool. Decorated with @mcp.tool() which handles both implementation and registration in FastMCP. Retrieves MindManager version via mm.Mindmanager().get_version() and returns it or an error dict.
    @mcp.tool() async def get_mindmanager_version( ) -> Union[str, Dict[str, str]]: """ Gets the version of the MindManager application. Returns: Union[str, Dict[str, str]]: The version of the MindManager application or error dictionary. """ try: version = mm.Mindmanager().get_version() print(f"get_mindmanager_version() returned: {version}", file=sys.stderr) return version except Exception as e: return _handle_mindmanager_error("get_mindmanager_version", e)
  • Helper function called in the tool's exception handler to standardize error responses for MindManager operations.
    def _handle_mindmanager_error(func_name: str, e: Exception) -> Dict[str, str]: """Formats MindManager errors for MCP response.""" error_message = f"Error during MindManager operation '{func_name}': {e}" print(f"ERROR: {error_message}", file=sys.stderr) # Check for specific known errors from mindm.mindmanager if possible if "No document found" in str(e): return {"error": "MindManager Error", "message": "No document found or MindManager not running."} # Add more specific error checks here based on mindm library return {"error": "MindManager Error", "message": f"An error occurred: {e}"}

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

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