get-boards
Fetch and organize all Trello boards from the API. Simplify access to board data for users connected to the trello-mcp-server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/board-tool-handlers.ts:19-22 (handler)The handler function that executes the 'get_boards' tool logic by delegating to the BoardService.getBoards method.get_boards: async (args: any) => { const boardService = ServiceFactory.getInstance().getBoardService(); return boardService.getBoards(args); },
- src/tools/board-tools.ts:13-31 (schema)The tool definition including name, description, and input schema for 'get_boards'.{ name: "get_boards", description: "Retrieve a list of boards for the authenticated user. Use this tool to get an overview of available boards or to search for specific ones using filters.", inputSchema: { type: "object", properties: { filter: { type: "string", enum: ["all", "closed", "members", "open", "organization", "public", "starred", "unpinned"], description: "Filter boards by status or membership" }, fields: { type: "array", items: { type: "string" }, description: "Specific fields to include in the response (default: all fields)" } } } },
- src/tools/trello-tools.ts:18-20 (registration)Registration of boardTools (containing get_boards schema) into the aggregated trelloTools list used by the MCP server.export const trelloTools = [ ...boardTools, ...listTools,
- src/tools/trello-tool-handlers.ts:18-20 (registration)Registration of boardToolHandlers (containing get_boards handler) into the aggregated trelloToolHandlers object used by the MCP server.export const trelloToolHandlers = { ...boardToolHandlers, ...listToolHandlers,
- src/index.ts:92-96 (registration)MCP server registration for listing tools, which includes the get_boards tool schema via trelloTools.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: trelloTools }; });