FastMCP Todoサーバー
Swarmonomiconプロジェクト用のFastMCPベースのTodoサーバー。このサーバーはFastMCP経由でTodoリクエストを受信し、MongoDBに保存してSwarmonomicon Todoワーカーで処理します。
特徴
ToDoリクエストを受信するためのFastMCPサーバー
ToDo ストレージ用の MongoDB 統合
Swarmonomicon ToDoワーカーと互換性あり
Pythonベースの実装
インストール
リポジトリをクローンします。
git clone https://github.com/DanEdens/Omnispindle.git cd Omnispindleuv をインストールします (まだインストールされていない場合)。
curl -LsSf https://astral.sh/uv/install.sh | shuv を使用して仮想環境を作成し、アクティブ化します。
uv venv source .venv/bin/activate # On Unix/macOS # or .venv\Scripts\activate # On Windowsuv を使用して依存関係をインストールします。
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
ToDoの追加
FastMCP を使用して ToDo を追加するには、いくつかの方法があります。
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によるリアルタイム更新
さまざまなAIモデルとの統合
Swarmonomicon プロジェクトとその機能の詳細については、 メインのプロジェクト ドキュメントをご覧ください。
ライセンス
MITライセンス
貢献
リポジトリをフォークする
機能ブランチを作成する
変更を加える
新しい機能のテストを追加する
プルリクエストを送信する
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 経由でリクエストを受信し、Swarmonomicon todo ワーカーによる処理のために MongoDB に保存する todo 管理サーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA 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
- -securityFlicense-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
- -securityFlicense-qualityA server that receives todo requests via FastMCP and stores them in MongoDB for processing by the Swarmonomicon todo worker.Last updated -6
- AsecurityFlicenseAqualityA 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