Sponsored by Deepsite.site

todoms-mcp

Created By
yukimaterrace8 months ago
MCP Server for TODO Management System
Content

todoms-mcp

todoms-mcp は、Todo管理アプリケーション「todoms」用のModel Context Protocol(MCP)サーバーです。MCPを使用してユーザー認証とTodo管理の機能を提供します。

概要

このプロジェクトは、Model Context Protocol(MCP)を活用して、AI開発ツールからTodo管理アプリケーションの機能にアクセスするためのブリッジとして機能します。ユーザー登録、認証、およびTodoアイテムの作成、取得、更新、削除などの機能を提供します。

機能

  • ユーザー管理

    • サインアップ - 新規ユーザー登録
    • ログイン - 認証トークン取得
    • ログアウト - セッション終了
    • 現在のユーザー情報取得
  • Todo管理

    • 全Todoの取得
    • 特定のTodoの取得
    • 単一または複数のTodoの作成
    • Todoの更新
    • Todoの削除

技術スタック

  • TypeScript - 開発言語
  • Node.js - 実行環境
  • Model Context Protocol (MCP) SDK - AI開発ツールとの連携
  • Zod - データバリデーション
  • Fetch API - HTTPリクエスト

前提条件

インストール

# リポジトリのクローン
git clone https://github.com/yourusername/todoms-mcp.git
cd todoms-mcp

# 依存関係のインストール
npm install
# または
yarn install

使用方法

ビルド

npm run build
# または
yarn build

起動

npm start
# または
yarn start

MCPサーバーが起動し、stdin/stdoutを通じて通信を行います。

MCP ツール一覧

このMCPサーバーは以下のツールを提供します:

  1. signup - ユーザー登録

    • パラメータ: email, password
  2. login - ログイン

    • パラメータ: email, password
  3. logout - ログアウト

    • パラメータ: なし
  4. get_all_todos - 全Todoを取得

    • パラメータ: なし
  5. get_todo - 特定のTodoを取得

    • パラメータ: todoId
  6. create_todos - 複数のTodoを作成

    • パラメータ: todos (Todoオブジェクトの配列)
  7. update_todo - Todoを更新

    • パラメータ: todoId, todoData
  8. delete_todo - Todoを削除

    • パラメータ: todoId

プロジェクト構造

todoms-mcp/
├── src/
│   ├── index.ts            # MCPサーバーのエントリーポイント
│   ├── tool.ts             # MCPツールの定義
│   └── lib/
│       ├── api-client.ts   # TodomsのRESTful APIクライアント
│       ├── model.ts        # データモデルとZodスキーマ
│       └── todoms-repository.ts  # APIクライアントのラッパー
├── package.json
├── tsconfig.json
└── README.md

開発

API設定

APIのベースURLは src/lib/api-client.tsAPI_BASE_URL 定数で定義されています。デフォルトは http://localhost:8080 です。必要に応じて変更してください。

新機能の追加

  1. model.ts にデータモデルとバリデーションスキーマを追加
  2. api-client.ts にAPIエンドポイントへのメソッドを追加
  3. 必要に応じて todoms-repository.ts にリポジトリメソッドを追加
  4. tool.ts に新しいツールを定義

ライセンス

ISC

謝辞

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Amap Maps高德地图官方 MCP Server