remove-board-member
Remove a specific member from a Miro board by providing the board ID and member ID. Manage team access efficiently with this Miro MCP server tool.
Instructions
Remove a specific member from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | ID of the board | |
| memberId | Yes | ID of the board member to remove |
Implementation Reference
- src/tools/removeBoardMember.ts:13-30 (handler)The handler function that implements the core logic for the 'remove-board-member' tool, validating inputs and calling the MiroClient API to remove the specified member from the board.fn: async ({ boardId, memberId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!memberId) { return ServerResponse.error("Member ID is required"); } const result = await MiroClient.getApi().removeBoardMember(boardId, memberId); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { process.stderr.write(`Error removing board member: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/removeBoardMember.ts:6-12 (schema)The schema definition for the tool, including name, description, and Zod-validated input arguments (boardId and memberId).const removeBoardMemberTool: ToolSchema = { name: "remove-board-member", description: "Remove a specific member from a Miro board", args: { boardId: z.string().describe("ID of the board"), memberId: z.string().describe("ID of the board member to remove") },
- src/index.ts:175-175 (registration)Registers the removeBoardMemberTool with the ToolBootstrapper instance in the main server setup..register(removeBoardMemberTool)