Skip to main content
Glama

get-projects

Retrieve all Todoist projects to view, organize, or manage your task lists and workflows.

Instructions

Get all the projects from Todoist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'todoist_get_projects' which fetches projects using TodoistClient and returns them as JSON string.
    case 'todoist_get_projects': const projects = await this.todoistClient.getProjects() return this.createResponse(requestId, { content: [ { type: 'text', text: JSON.stringify(projects, null, 2) } ] })
  • Tool schema definition for todoist_get_projects, including empty input schema.
    name: 'todoist_get_projects', description: 'Get projects from Todoist', inputSchema: { type: 'object', properties: {} } },
  • Tool visibility registration enabling todoist_get_projects.
    todoist_get_projects: true,
  • TodoistClient helper method that makes API call to fetch projects.
    async getProjects(): Promise<TodoistProject[]> { return this.makeRequest<TodoistProject[]>('GET', '/projects'); }
  • TypeScript interface defining the TodoistProject type returned by getProjects.
    export interface TodoistProject { id: string; name: string; comment_count: number; order: number; color: string; is_shared: boolean; is_favorite: boolean; is_inbox_project: boolean; is_team_inbox: boolean; view_style: string; url: string; parent_id: string | null; }

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/kentaroh7777/mcp-todoist'

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