Skip to main content
Glama
sjalq

todoist-mcp-lite

by sjalq

@sjalq/todoist-mcp-lite

Minimal Todoist MCP server with direct API passthrough. Built with pure functional principles and minimal code.

Features

  • โœจ Single tool with direct Todoist REST API v2 passthrough

  • ๐Ÿš€ Supports all HTTP methods (GET, POST, PUT, PATCH, DELETE)

  • ๐Ÿ”’ CLI --token flag or environment variable authentication

  • ๐Ÿ“ฆ NPX-ready - no installation required

  • ๐Ÿงช Comprehensive test suite (property-based + integration + MCP protocol tests)

  • ๐ŸŽฏ Pure functional JavaScript - minimal dependencies

  • ๐Ÿ’ก Token-efficient tool descriptions

Related MCP server: mcp-todoist

Getting Your Todoist API Token

  1. Log in to Todoist

  2. Go to Settings โ†’ Integrations โ†’ Developer

  3. Copy your API token from the "API token" section

Usage

npx @sjalq/todoist-mcp-lite --token YOUR_TODOIST_TOKEN

Or with environment variable:

export TODOIST_API_TOKEN=YOUR_TODOIST_TOKEN
npx @sjalq/todoist-mcp-lite

In Claude Desktop config

Add to your ~/.claude.json:

{
  "mcpServers": {
    "todoist": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sjalq/todoist-mcp-lite"],
      "env": {
        "TODOIST_API_TOKEN": "your_token_here"
      }
    }
  }
}

Or with --token flag:

{
  "mcpServers": {
    "todoist": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sjalq/todoist-mcp-lite", "--token", "your_token_here"]
    }
  }
}

Tool

The server exposes a single tool: todoist_api

Parameters

  • endpoint (string, required): API endpoint (e.g., /tasks, /projects/123)

  • method (string, required): HTTP method (GET, POST, PUT, PATCH, DELETE)

  • body (object, optional): Request body for POST/PUT/PATCH requests

Response

Returns JSON with:

  • status: HTTP status code

  • ok: boolean indicating success

  • data: Response data from Todoist API (or error object)

Example

{
  "endpoint": "/tasks",
  "method": "POST",
  "body": {
    "content": "Buy milk",
    "due_string": "tomorrow"
  }
}

API Documentation

Full Todoist REST API v2 docs: https://developer.todoist.com/rest/v2

Development

Clone and Install

git clone https://github.com/sjalq/todoist-mcp-lite.git
cd todoist-mcp-lite
npm install

Running Tests

Property-based tests run without API token:

npm test

Integration and MCP protocol tests require a token:

export TODOIST_API_TOKEN=your_token
npm test

Test suite includes:

  • 4 property-based tests (pure function validation)

  • 6 integration tests (real API calls)

  • 4 MCP protocol tests (full server/client interaction)

Local Testing with MCP Inspector

npx @modelcontextprotocol/inspector node index.js --token YOUR_TOKEN

Then open http://localhost:6274 to interactively test the server.

Architecture

Pure functional design with three core functions:

  • getToken(args) - Extract token from CLI args or environment

  • callTodoist(token) - Curried API caller returning async function

  • createServer(apiCall) - MCP server factory with tool registration

Zero mocks, zero state, just functions.

License

ISC - see LICENSE file for details.

Contributing

Issues and PRs welcome at https://github.com/sjalq/todoist-mcp-lite

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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

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