get_boards
Retrieve all Kanban boards for authenticated users to manage projects and workflows through the Yokan Board MCP server.
Instructions
Retrieves all Kanban boards for the authenticated user.
Args: auth (AuthContext): The authentication context containing user ID and token.
Returns: List[yokan_models.Board]: A list of Kanban boards.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes |
Implementation Reference
- src/main.py:87-100 (handler)The handler function `get_boards` implements the MCP tool, decorated with `@app_instance.tool` and `@error_handler`. It calls `yokan_client.list_boards` to fetch the boards.
@app_instance.tool @error_handler async def get_boards( auth: AuthContext, ) -> List[yokan_models.Board]: """Retrieves all Kanban boards for the authenticated user. Args: auth (AuthContext): The authentication context containing user ID and token. Returns: List[yokan_models.Board]: A list of Kanban boards. """ return await yokan_client.list_boards(user_id=auth.user_id, token=auth.token)