TODO MCP Server
TODO MCP CLI и сервер
В этом репозитории содержится минимальная реализация протокола контекста модели (MCP) для приложения списка дел, включая:
Сервер FastAPI (
server/): предоставляет конечную точку/toolsдля обнаружения инструментов и конечную точку/rpcдля вызовов JSON-RPC для выполнения операций над задачами.CLI-клиент (
client/cli.py): интерфейс командной строки Python, который взаимодействует с LLM (через OpenAI) и сервером MCP для создания, перечисления и выполнения задач с помощью вызовов функций.
Функции
Добавьте задачи с названием, содержанием и, по желанию, датой выполнения.
Список всех задач
Отметить задачи как выполненные
Генерация идентификатора задачи на стороне сервера
Соответствие JSON-RPC 2.0 для вызова инструмента
Предпосылки
Питон 3.10+
pipenv или
venvдля виртуальных средAPI-ключ OpenAI
Установка
Клонируйте репозиторий:
git clone https://github.com/oseni99/todo-mcp cd todo-mcpСоздайте и активируйте виртуальную среду:
python3 -m venv .venv source .venv/bin/activateУстановите зависимости:
pip install -r requirements.txtСоздайте
.envв корне проекта:OPENAI_API_KEY=sk-... MCP_SERVER=http://127.0.0.1:8000
Структура каталога
todoMCP/
├── client/ # CLI client code
│ └── cli.py # Main entrypoint for the MCP-CLI
├── server/ # FastAPI server code
│ ├── handlers.py # Business logic for add, list, complete
│ ├── tools.py # JSON-Schema tool manifest
│ └── main.py # FastAPI app with /tools and /rpc
├── .env # Environment variables (not committed)
├── requirements.txt # Python dependencies
└── README.md # This fileЗапуск сервера
fastapi dev server/main.pyПосетите http://127.0.0.1:8000/docs для получения интерактивной документации по API.
Запуск CLI
Из корня проекта:
python -m client.cliВведите в командной строке команды на естественном языке, например:
> Create a task titled "Write blog post" with content "Outline first draft" due 2025-05-20
> List my tasks
> Mark the first task as done
> Thanks!
> exitCLI выведет вызовы инструментов и ответы LLM.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with Notion's API to manage personal todo lists, allowing users to view, add, and update tasks directly from Claude.31MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides tools for managing todo items, including creation, updating, completion, deletion, searching, and summarizing tasks.1744MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server providing comprehensive task management capabilities with support for project organization, task tracking, and automatic PRD parsing into actionable items.37MIT
- -licenseAqualityNot gradedmaintenanceA task management Model Context Protocol server that helps break down user requests into manageable tasks with subtasks, dependencies, and notes, while enforcing a structured workflow with user approval steps.173510
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/oseni99/todo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server