Skip to main content
Glama
yokan-board
by yokan-board

create_board

Create a new Kanban board with custom columns to organize tasks and workflows in Yokan Board MCP.

Instructions

Creates a new Kanban board with an optional list of initial column names.

Args: name (str): The name of the new board. auth (AuthContext): The authentication context containing user ID and token. columns (List[str], optional): A list of names for initial columns. Defaults to an empty list.

Returns: int: The ID of the newly created board.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
authYes
columnsNo

Implementation Reference

  • The handler implementation for the 'create_board' tool, registered using @app_instance.tool and @error_handler.
    async def create_board(
        name: str,
        auth: AuthContext,
        columns: List[str] = [],
    ) -> int:
        """Creates a new Kanban board with an optional list of initial column names.
    
        Args:
            name (str): The name of the new board.
            auth (AuthContext): The authentication context containing user ID and token.
            columns (List[str], optional): A list of names for initial columns. Defaults to an empty list.
    
        Returns:
            int: The ID of the newly created board.
        """
        data = (
            {
                "columns": {col: {"id": col, "title": col, "tasks": []} for col in columns},
                "columnOrder": columns,
            }
            if columns
            else {}
        )
        return await yokan_client.create_board(
            user_id=auth.user_id, name=name, data=data, token=auth.token
        )

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/yokan-board/yokan-board-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server