leonvanzyl
MCP Serverleonvanzylpublic

todo mcp server

Todo MCP Server 是一个基于 SQLite 的轻量级服务,用于管理待办事项,支持添加、列出和删除操作,适用于个人或团队任务跟踪。

Repository Info

6
Stars
10
Forks
6
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

Todo MCP Server 是一个基于 SQLite 的轻量级服务,用于管理待办事项,支持添加、列出和删除操作,适用于个人或团队任务跟踪。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Todo MCP Server

A simple MCP (Model Context Protocol) server for managing todo items with SQLite database storage.

Features

  • Add new todo items
  • List all todo items
  • Remove todo items by ID

Setup

  1. Install dependencies:

    npm install
    
  2. Configure database location (optional):

    Open src/database.ts and modify the DB_LOCATION variable to your preferred location:

    // Examples:
    // - Windows: "C:/todos"
    // - macOS: join(homedir(), "todos")
    // - Linux: "/home/username/todos" or join(homedir(), "todos")
    // - Current directory: join(process.cwd(), "data")
    const DB_LOCATION = "C:/todos";
    
  3. Build the project:

    npm run build
    

Database

The application uses SQLite for data storage. By default, the database file is created at C:/todos/todos.db. You can change this location by modifying the DB_LOCATION variable in src/database.ts.

The database and its directory will be automatically created if they don't exist.

Available Tools

add-todo

Adds a new todo item to the list.

Parameters:

  • text (string): The text content of the todo item

Example:

add-todo(text: "Buy groceries")

get-todos

Lists all todo items.

Example:

get-todos()

remove-todo

Removes a todo item by its ID.

Parameters:

  • id (number): The ID of the todo item to remove

Example:

remove-todo(id: 1)

Development

This project is built with:

  • TypeScript
  • better-sqlite3 for database operations
  • MCP SDK for the server implementation

Quick Start

1

Clone the repository

git clone https://github.com/leonvanzyl/todo-mcp-server
2

Install dependencies

cd todo-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerleonvanzyl
Repotodo-mcp-server
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation