FastMCP Todo-сервер
Todo-сервер на базе FastMCP для проекта Swarmonomicon . Этот сервер получает todo-запросы через FastMCP и сохраняет их в MongoDB для обработки todo-воркером Swarmonomicon.
Функции
Сервер FastMCP для приема todo-запросов
Интеграция MongoDB для хранения задач
Совместимо с Swarmonomicon todo worker
Реализация на основе Python
Установка
Клонируйте репозиторий:
git clone https://github.com/DanEdens/Omnispindle.git cd OmnispindleУстановить uv (если еще не установлен):
curl -LsSf https://astral.sh/uv/install.sh | shСоздайте и активируйте виртуальную среду с помощью uv:
uv venv source .venv/bin/activate # On Unix/macOS # or .venv\Scripts\activate # On WindowsУстановите зависимости с помощью uv:
uv pip install -r requirements.txtДля разработки установите дополнительные зависимости:
uv pip install -r requirements-dev.txtСоздайте файл
.envс вашей конфигурацией:MONGODB_URI=mongodb://localhost:27017 MONGODB_DB=swarmonomicon MONGODB_COLLECTION=todos
Использование
Запуск сервера
Запустите сервер FastMCP:
python -m src.Omnispindle
Добавление задач
Добавлять задачи с помощью FastMCP можно несколькими способами:
Использование клиента FastMCP Python:
from fastmcp import FastMCPClient client = FastMCPClient() response = await client.call_tool("add_todo", { "description": "Example todo", "priority": "high", # optional, defaults to "medium" "target_agent": "user" # optional, defaults to "user" })Использование MQTT напрямую:
mosquitto_pub -t "mcp/todo/new" -m '{ "description": "Example todo", "priority": "high", "target_agent": "user" }'
Разработка
Проведите тесты:
pytest tests/Запустите тесты с покрытием:
pytest --cov=src tests/Запустите определенный тестовый файл:
pytest tests/test_todo_handler.py -v
Интеграция с Swarmonomicon
Этот сервер является частью более крупного проекта Swarmonomicon , который предоставляет:
Управление задачами и распределение
Обработка задач на основе агентов
Обновления в реальном времени через MQTT
Интеграция с различными моделями ИИ
Более подробную информацию о проекте Swarmonomicon и его возможностях можно найти в основной документации проекта .
Лицензия
Лицензия Массачусетского технологического института
Внося вклад
Форк репозитория
Создать ветку функций
Внесите изменения
Добавить тесты для новых функций
Отправить запрос на извлечение
Дополнительную информацию об участии в проекте Swarmonomicon см. в основных правилах участия в проекте .
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Сервер управления задачами, который получает запросы через FastMCP и сохраняет их в MongoDB для обработки обработчиком задач Swarmonomicon.
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA Model Context Protocol (MCP) server that provides tools for managing todo items, including creation, updating, completion, deletion, searching, and summarizing tasks.Last updated -31MIT License
- -security-license-qualityAn MCP server that provides tools and resources for managing a coding project's todo list, allowing users to view, add, update, and delete todo items with details like priority, status, and tags.Last updated -1
- -security-license-qualityA server that receives todo requests via FastMCP and stores them in MongoDB for processing by the Swarmonomicon todo worker.Last updated -6
- Asecurity-licenseAqualityA server implementation that enables LLMs to programmatically manage tasks in Todo.txt files using the Model Context Protocol (MCP), supporting operations like adding, completing, deleting, listing, searching, and filtering tasks.Last updated -1118