Cover image
Try Now
2025-03-11

3 years

Works with Finder

1

Github Watches

8

Github Forks

6

Github Stars

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Khalid kalib
  • Write professional emails

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

    Reviews

    2 (1)
    Avatar
    user_bNznux0N
    2025-04-15

    As a loyal user of MCP-Community by deepinsightsx-hari, I couldn't be happier with its functionality and ease of use. This tool has transformed how I engage with my community, providing deep insights and fostering stronger connections. The seamless integration and user-friendly interface make it accessible for everyone. Highly recommend checking it out! Discover more here: https://mcp.so/server/MCP-Community/deepinsightsx-hari