Skip to main content
Glama

create-board

Create a new Miro board with custom name, description, sharing permissions, and team assignment.

Instructions

Create a new Miro board with specified name and sharing policies

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the board to create
descriptionNoDescription of the board
sharingPolicyNoSharing policy for the board
teamIdNoTeam ID to assign the board to

Implementation Reference

  • The asynchronous handler function that executes the core logic of the 'create-board' tool. It validates the board name, constructs board changes including sharing policy, calls MiroClient.getApi().createBoard(), and returns the board data or an error response.
    fn: async ({ name, description, sharingPolicy, teamId }) => { try { if (!name) { return ServerResponse.error("Board name is required"); } const boardChanges = { name, description, sharingPolicy: { access: sharingPolicy || 'private' }, teamId }; const boardData = await MiroClient.getApi().createBoard(boardChanges); return ServerResponse.text(JSON.stringify(boardData, null, 2)); } catch (error) { process.stderr.write(`Error creating Miro board: ${error}\n`); return ServerResponse.error(error); } }
  • The ToolSchema definition including the tool name, description, and Zod-based input schema for parameters: name (required string), description (optional), sharingPolicy (optional enum), teamId (optional).
    const createBoardTool: ToolSchema = { name: "create-board", description: "Create a new Miro board with specified name and sharing policies", args: { name: z.string().describe("Name of the board to create"), description: z.string().optional().nullish().describe("Description of the board"), sharingPolicy: z.enum(['private', 'view', 'comment', 'edit']).optional().nullish().describe("Sharing policy for the board"), teamId: z.string().optional().nullish().describe("Team ID to assign the board to") },
  • src/index.ts:112-112 (registration)
    Registers the createBoardTool with the ToolBootstrapper instance in the main server entry point.
    .register(createBoardTool)
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