to-do-app-mcp-server

MustakAhmedcse/to-do-app-mcp-server

3.1

If you are the rightful owner of to-do-app-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Task Manager MCP Server is a robust system designed to efficiently manage tasks using AI and external tools.

Task Manager MCP Server

Overview

This project is a Task Manager MCP Server designed to manage tasks efficiently using tools connected to a database. It provides APIs for adding, viewing, completing, and deleting tasks, and integrates with LangChain for AI-driven task management.

Features

  • Task Management: Add, list, complete, and remove tasks.
  • Streamlit Integration: A user-friendly interface for interacting with the task manager.
  • AI Assistance: Uses LangChain to provide intelligent responses and manage tasks.
  • Tool Integration: Connects to external tools for enhanced functionality.

Project Structure

ā”œā”€ā”€ agent.py          # Handles AI interactions and tool calls.
ā”œā”€ā”€ client.py         # Connects to the server using SSE.
ā”œā”€ā”€ config.py         # Configuration settings for models and server.
ā”œā”€ā”€ logger.py         # Logging utility for debugging.
ā”œā”€ā”€ models.py         # Creates and configures language models.
ā”œā”€ā”€ server.py         # Implements the MCP server and task management tools.
ā”œā”€ā”€ streamlit.py      # Streamlit-based UI for task management.
ā”œā”€ā”€ task.py           # Defines the Task model using Pydantic.
ā”œā”€ā”€ task_manager.py   # Manages the task list and operations.
ā”œā”€ā”€ tools.py          # Handles tool loading and execution.
ā”œā”€ā”€ requirements.txt  # Lists project dependencies.
ā”œā”€ā”€ .gitignore        # Specifies files to ignore in version control.
ā”œā”€ā”€ .vscode/          # VS Code configuration for debugging.
└── README.md         # Project documentation.

Installation

  1. Clone the repository:
    git clone <repository-url>
    cd <repository-folder>
    
  2. Install dependencies:
    pip install -r requirements.txt
    

Usage

Running the Server

Start the MCP server:

python server.py

Running the Streamlit UI

Launch the Streamlit interface:

streamlit run streamlit.py

Debugging

Use the VS Code debugger configurations in .vscode/launch.json.

Key Components

Server

The server () provides tools for task management:

  • list_tasks: Lists all tasks.
  • add_task: Adds a new task.
  • remove_task: Removes a task by ID.
  • mark_complete: Marks a task as complete.

Streamlit UI

The Streamlit interface () allows users to interact with the task manager visually.

AI Agent

The AI agent () uses LangChain to process user queries and interact with tools.

Dependencies

See for a complete list of dependencies.