npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@shidhin/ticktick-mcpserver

v0.2.0

Published

A Model Context Protocol (MCP) server for TickTick task management application

Readme

TickTick MCP Server

A Model Context Protocol (MCP) server implementation for TickTick, the popular task management application. This server allows AI assistants to interact with TickTick through the TickTick Open API.

License: MIT Node.js Version TypeScript

🔋 Features

  • Get tasks from projects
  • Create new tasks with details like due dates, priorities, and descriptions
  • Update existing tasks
  • Mark tasks as complete
  • Delete tasks
  • Get list of projects
  • Create new projects with custom properties

🚀 Quick Start

Prerequisites

  • Node.js (v18 or higher)
  • TickTick Developer account
  • TickTick API Access Token

Installation

  1. Clone this repository:

    git clone https://github.com/shidhincr/ticktick-mcpserver.git
    cd ticktick-mcpserver
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build
  4. Set the environment variable with your access token:

    export TICKTICK_ACCESS_TOKEN=your_access_token_here
  5. Start the server:

    npm start

🔑 Authentication Setup

1. Register a TickTick Developer Account

  1. Visit TickTick Developer Center
  2. Create an account and register your application
  3. Get the client ID and client secret

2. Get Access Token

Follow the OAuth2 flow to obtain an access token:

  1. Redirect users to TickTick authorization page:

    https://ticktick.com/oauth/authorize?scope=tasks:read tasks:write&client_id=YOUR_CLIENT_ID&state=STATE&redirect_uri=YOUR_REDIRECT_URI&response_type=code
  2. Exchange the received code for an access token: Make a POST request to https://ticktick.com/oauth/token with:

    • Header: Basic authentication with your client_id and client_secret
    • Body (application/x-www-form-urlencoded):
      • code: the received authorization code
      • grant_type: authorization_code
      • scope: tasks:read tasks:write
      • redirect_uri: your redirect URI
  3. Store the received access token securely.

🛠️ Available Tools

The server implements the following tools for AI interaction:

Task Management

  1. ticktick_get_tasks - Get tasks from a specific project or all projects

    {
      project_id?: string; // Optional project ID
      limit?: number;      // Optional result limit (default: 10)
    }
  2. ticktick_create_task - Create a new task

    {
      title: string;        // Required: Task title
      content?: string;    // Optional: Task content
      desc?: string;        // Optional: Task description
      project_id: string;  // Required: Project ID
      due_date?: string;   // Optional: Due date (ISO format)
      priority?: number;   // Optional: Priority (0, 1, 3, 5)
      is_all_day?: boolean; // Optional: All-day task flag
    }
  3. ticktick_update_task - Update an existing task

    {
      project_id: string;  // Required: Project ID
      task_id: string;     // Required: Task ID
      title?: string;      // Optional: New title
      // ... other task properties
    }
  4. ticktick_complete_task - Mark a task as complete

    {
      project_id: string;  // Required: Project ID
      task_id: string;     // Required: Task ID
    }
  5. ticktick_delete_task - Delete a task

    {
      project_id: string;  // Required: Project ID
      task_id: string;     // Required: Task ID
    }

Project Management

  1. ticktick_get_projects - Get a list of all projects

  2. ticktick_create_project - Create a new project

    {
      name: string;        // Required: Project name
      color?: string;      // Optional: Color code (e.g. "#F18181")
      view_mode?: string;  // Optional: View mode ("list", "kanban", "timeline")
      kind?: string;       // Optional: Project kind ("TASK", "NOTE")
    }

📁 Project Structure

ticktick-mcpserver/
├── dist/                      # Compiled TypeScript (generated after building)
├── src/
│   └── index.ts               # Main server implementation
├── package.json               # Project dependencies and scripts
├── tsconfig.json              # TypeScript configuration
└── README.md                  # Documentation

👍 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📖 API Reference

This project uses the TickTick Open API. For detailed information about API endpoints and parameters, please refer to the official documentation.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🌏 Acknowledgements