Skip to main content
Glama

get-mindmap-nodes

Retrieve mind map nodes from a Miro board to analyze content structure and extract hierarchical information for integration or analysis purposes.

Instructions

Retrieve a list of mind map nodes on a Miro board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board from which you want to retrieve mind map nodes
limitNoMaximum number of results to return (default: 50)
cursorNoCursor for pagination

Implementation Reference

  • The handler function that implements the tool logic: fetches mind map nodes from a specified Miro board using the MiroClient API, handles pagination parameters, and returns the response as JSON.
    fn: async ({ boardId, limit, cursor }) => { try { // Prepare query parameters const query: any = {}; if (limit) query.limit = limit.toString(); if (cursor) query.cursor = cursor; const response = await MiroClient.getApi().getMindmapNodesExperimental(boardId, query); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving Miro mind map nodes: ${error}\n`); return ServerResponse.error(error); } }
  • Defines the tool schema including name, description, and Zod-validated input parameters for boardId, optional limit, and cursor.
    const getMindmapNodesTool: ToolSchema = { name: "get-mindmap-nodes", description: "Retrieve a list of mind map nodes on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board from which you want to retrieve mind map nodes"), limit: z.number().optional().nullish().describe("Maximum number of results to return (default: 50)"), cursor: z.string().optional().nullish().describe("Cursor for pagination") },
  • src/index.ts:188-188 (registration)
    Registers the getMindmapNodesTool with the central ToolBootstrapper instance.
    .register(getMindmapNodesTool)
Install Server

Other 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/k-jarzyna/mcp-miro'

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