todoms-mcp
todoms-mcp は、Todo管理アプリケーション「todoms」用のModel Context Protocol(MCP)サーバーです。MCPを使用してユーザー認証とTodo管理の機能を提供します。
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リクエスト
前提条件
- Node.js (v14以上推奨)
- npm または yarn
- todoms API サーバーが稼働していること
インストール
# リポジトリのクローン
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サーバーは以下のツールを提供します:
-
signup - ユーザー登録
- パラメータ:
email
,password
- パラメータ:
-
login - ログイン
- パラメータ:
email
,password
- パラメータ:
-
logout - ログアウト
- パラメータ: なし
-
get_all_todos - 全Todoを取得
- パラメータ: なし
-
get_todo - 特定のTodoを取得
- パラメータ:
todoId
- パラメータ:
-
create_todos - 複数のTodoを作成
- パラメータ:
todos
(Todoオブジェクトの配列)
- パラメータ:
-
update_todo - Todoを更新
- パラメータ:
todoId
,todoData
- パラメータ:
-
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.ts
の API_BASE_URL
定数で定義されています。デフォルトは http://localhost:8080
です。必要に応じて変更してください。
新機能の追加
model.ts
にデータモデルとバリデーションスキーマを追加api-client.ts
にAPIエンドポイントへのメソッドを追加- 必要に応じて
todoms-repository.ts
にリポジトリメソッドを追加 tool.ts
に新しいツールを定義
ライセンス
ISC
謝辞
Related MCP Servers
View all developer_tools servers →context7
by upstash
Context7 MCP provides up-to-date, version-specific documentation and code examples directly into your prompt, enhancing the capabilities of LLMs by ensuring they use the latest information.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a comprehensive test server designed to demonstrate the full capabilities of the Model Context Protocol (MCP). It is not intended for production use but serves as a valuable tool for developers building MCP clients.
exa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
repomix
by yamadashy
Repomix is a tool that packs your codebase into AI-friendly formats, making it easier to use with AI tools like LLMs.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.