Skip to main content
Glama

Miro MCP

by k-jarzyna
deleteMindmapNode.ts948 B
import MiroClient from '../client.js'; import { z } from 'zod'; import { ServerResponse } from '../server-response.js'; import { ToolSchema } from '../tool.js'; const deleteMindmapNodeTool: ToolSchema = { name: "delete-mindmap-node", description: "Delete a mind map node from a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board from which you want to delete the mind map node"), itemId: z.string().describe("Unique identifier (ID) of the mind map node that you want to delete") }, fn: async ({ boardId, itemId }) => { try { const response = await MiroClient.getApi().deleteMindmapNodeExperimental(boardId, itemId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error deleting Miro mind map node: ${error}\n`); return ServerResponse.error(error); } } }; export default deleteMindmapNodeTool;

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