Skip to main content
Glama
m0xai

Trello MCP Server with Python

by m0xai

get_card_checklists

Retrieve all checklists for a specific Trello card to manage tasks and track progress. Provide the card ID to access checklist details.

Instructions

Get all checklists for a specific card. Args: card_id (str): The ID of the card to get checklists for Returns: List[Dict]: List of checklists on the card

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
card_idYes

Implementation Reference

  • The handler function for the MCP tool 'get_card_checklists', which calls the ChecklistService to retrieve checklists for a given card.
    async def get_card_checklists(card_id: str) -> List[Dict]: """ Get all checklists for a specific card. Args: card_id (str): The ID of the card to get checklists for Returns: List[Dict]: List of checklists on the card """ return await service.get_card_checklists(card_id)
  • Registration of the 'get_card_checklists' tool in the MCP server.
    mcp.add_tool(checklist.get_card_checklists)
  • The ChecklistService method that performs the actual API call to Trello to fetch checklists for the specified card.
    async def get_card_checklists(self, card_id: str) -> List[Dict]: """ Get all checklists for a specific card. Args: card_id (str): The ID of the card to get checklists for Returns: List[Dict]: List of checklists on the card """ return await self.client.GET(f"/cards/{card_id}/checklists")

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/m0xai/trello-mcp-server'

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