MCP.so
登录

Todo App using MCP Server

@theatulanand

基本信息

分类

生产力

传输方式

stdio

作者

theatulanand

关于 Todo App using MCP Server

Todo app using mcp server

Todo App using MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "todo-mcp": {
      "type": "http",
      "url": "http://localhost:3000/sse"
    }
  }
}

Todo App using MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,直接连接服务器端点实时获取工具列表。

概览

What is Todo App using MCP Server?

A simple Todo application enhanced with natural language processing using the Google Gemini API, MongoDB for persistence, and MCP (Model Context Protocol) for real-time updates via Server-Sent Events (SSE). Built with a modular MVC architecture using Express.js, it is intended for developers who want to manage todos through plain‑language commands and receive live updates.

How to use Todo App using MCP Server?

Clone the repository, install dependencies, and create a .env file with PORT, MONGO_URI, and GEMINI_API_KEY. Start the server with npm start. Send POST requests to /api/command with a JSON body containing a "command" field (e.g., {"command": "Add a task to buy milk"}). Supported commands include adding, listing, completing, and deleting todos. Connect to /sse for real‑time updates (requires an MCP‑compatible client).

Key features of Todo App using MCP Server

  • Add todos using natural language (e.g., “buy milk”)
  • List todos, optionally including completed ones
  • Mark todos as complete by MongoDB ID
  • Delete todos by MongoDB ID
  • Real‑time updates via SSE with MCP integration

Use cases of Todo App using MCP Server

  • Quickly capture tasks by speaking or typing natural commands
  • Manage a shared todo list that updates live across clients
  • Experiment with MCP and SSE in a minimal Express.js application
  • Prototype a voice‑friendly task manager backed by a cloud database

常见问题

1

How does the server interpret natural language?

The server sends the command text to the Google Gemini API, which extracts the intent and parameters (e.g., “add”, “list”, “complete”).

2

What database does it use?

Todos are stored in a MongoDB Atlas (cloud) cluster using Mongoose as the ODM.

3

How do I receive real‑time updates?

Connect to the `/sse` endpoint with an MCP‑compatible client. The server pushes SSE events when todos change.

4

What runtime and dependencies are required?

Node.js v18 or higher, a MongoDB Atlas cluster, and a Google Gemini API key (available from Google AI Studio).

5

How do I configure the application?

Set `PORT`, `MONGO_URI`, and `GEMINI_API_KEY` in a `.env` file in the project root. The server reads these on startup.

评论

生产力 分类下的更多 MCP 服务器