Skip to content

Create checklist #31

@cyberbobjr

Description

@cyberbobjr

Hello,
Thanks you so much for your MCP, it's very usefull !
I have a request : do you think it will be possible to implement the "create checklist" function please ?

The official REST API doc of Trello expose this endpoint :

https://developer.atlassian.com/cloud/trello/rest/api-group-checklists/#api-checklists-post

I made something like that in the trello-client.ts but not sure how to test it :)

  async createChecklist(name:string, cardId?: string): Promise<boolean> {
    if (!cardId) {
      throw new McpError(ErrorCode.InvalidParams, 'No card ID provided and no active card set');
    }
    const response = await this.axiosInstance.post<TrelloChecklist[]>(`/cards/${cardId}/checklists`, {name});
    return response.data[0] !== undefined;
  }

Thanks,
Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions