Skip to main content
Glama

get_library_folder

Retrieve the MindManager library folder path to access stored mind maps and templates for editing or exporting.

Instructions

Gets the path to the MindManager library folder. Returns: Union[str, Dict[str, str]]: The library folder path or error dictionary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary handler for the 'get_library_folder' MCP tool. Registered via @mcp.tool() decorator. Calls internal helper to fetch the library folder path from MindManager and handles exceptions, providing schema via type hints and docstring.
    @mcp.tool() async def get_library_folder( ) -> Union[str, Dict[str, str]]: """ Gets the path to the MindManager library folder. Returns: Union[str, Dict[str, str]]: The library folder path or error dictionary. """ try: folder_path = _get_library_folder() print(f"get_library_folder() returned: {folder_path}", file=sys.stderr) return folder_path except Exception as e: return _handle_mindmanager_error("get_library_folder", e)
  • Internal helper function that instantiates Mindmanager object and retrieves the library folder path, containing the core logic delegated from the tool handler.
    def _get_library_folder(): mindmanager_obj = mm.Mindmanager() library_folder = mindmanager_obj.get_library_folder() return library_folder

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