Skip to main content
Glama

get-connectors

Retrieve all connectors from a Miro board to access connection data between board elements for analysis or integration purposes.

Instructions

Retrieve all connectors on a specific Miro board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board whose connectors you want to retrieve
limitNoMaximum number of connectors to return (default: 50)
cursorNoCursor for pagination

Implementation Reference

  • The handler function that implements the logic for the 'get-connectors' tool. It validates the boardId, prepares query parameters, calls the MiroClient API to retrieve connectors, and returns the result or error.
    fn: async ({ boardId, limit, cursor }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } const queryParams: { limit?: string; cursor?: string } = {}; if (limit) queryParams.limit = limit.toString(); if (cursor) queryParams.cursor = cursor; const connectorsData = await MiroClient.getApi().getConnectors(boardId, queryParams); return ServerResponse.text(JSON.stringify(connectorsData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • The schema definition for the 'get-connectors' tool, including name, description, and Zod-based input schema for parameters.
    const getConnectorsTool: ToolSchema = { name: "get-connectors", description: "Retrieve all connectors on a specific Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board whose connectors you want to retrieve"), limit: z.number().optional().nullish().describe("Maximum number of connectors to return (default: 50)"), cursor: z.string().optional().nullish().describe("Cursor for pagination") },
  • src/index.ts:130-130 (registration)
    Registration of the 'get-connectors' tool via ToolBootstrapper's register method in the main index file.
    .register(getConnectorsTool)
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