Skip to main content
Glama

get_my_cards

Retrieve all Trello cards assigned to the current user, enabling efficient task management and organization within MCP Server Trello.

Instructions

Fetch all cards assigned to the current user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'get_my_cards': calls trelloClient.getMyCards() and returns JSON stringified response.
    case 'get_my_cards': { const cards = await this.trelloClient.getMyCards(); return { content: [{ type: 'text', text: JSON.stringify(cards, null, 2) }], }; }
  • src/index.ts:206-214 (registration)
    Registers the 'get_my_cards' tool in the MCP server with description and empty input schema.
    { name: 'get_my_cards', description: 'Fetch all cards assigned to the current user', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • TrelloClient method that implements the core logic: fetches current user's cards via Trello API endpoint '/members/me/cards'.
    async getMyCards(): Promise<TrelloCard[]> { return this.handleRequest(async () => { const response = await this.axiosInstance.get('/members/me/cards'); return response.data; }); }

Other Tools

Related Tools

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

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