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
create_card.py•1.18 KiB
from pydantic import BaseModel
class CreateCardPayload(BaseModel):
"""
Payload for creating a card.
Attributes:
name (str): The name of the card.
desc (str): The description of the card.
closed (bool): Whether the card is closed or not.
idMembers (str): Comma-separated list of member IDs for the card.
idList (str): The ID of the list the card is in.
idLabels (str): Comma-separated list of label IDs for the card.
idBoard (str): The ID of the board the card is in.
pos (str | int): The position of the card.
due (str): The due date of the card in ISO 8601 format.
start (str): The start date of the card in ISO 8601 format.
dueComplete (bool): Whether the card is due complete or not.
subscribed (bool): Whether the card is subscribed or not.
"""
name: str
desc: str | None = None
closed: bool | None = None
idMembers: str | None = None
idList: str
idLabels: str | None = None
idBoard: str | None = None
pos: str | None = None
due: str | None = None
start: str | None = None
dueComplete: bool | None = None
subscribed: bool | None = None