Skip to main content
Glama

Decision Tree MCP Server

by psikosen

dt_mcp サーバー (意思決定ツリーとタスク管理 MCP サーバー)

このプロジェクトは、Node.jsベースのModel Context Protocol(MCP)サーバーを実装します。このサーバーは、 .rtdqファイルで定義された決定木を管理・操作し、基本的なToDoリストを処理するように設計されています。解析済みの.rtdqデータとToDoリストを保存するためのバックエンドとしてRedisを使用します。

特徴

  • RTDQ処理:
    • 指定されたディレクトリから.rtdqファイル (v2.1 形式) を読み込みます。
    • .rtdqファイルを非同期的に解析します。
    • 解析された決定木データを Redis に保存します。
    • ロードされたツリーから特定のノードを取得するための MCP ツール ( get_dt_node_from_redis ) を提供します。
  • ToDo管理:
    • シンプルな ToDo リストを管理するための MCP ツール ( add_todolist_todosmark_todo_done ) を提供します。
    • ToDo 項目を Redis に保存します。
  • MCP統合:
    • 標準の MCP サーバーとして機能します。
    • /mcpエンドポイントで HTTP Server-Sent Events (SSE) を介して通信します。
    • 標準の MCP tools/listおよびtools/callメソッドを介して機能を公開します。

前提条件

  • Node.js (ES モジュールとトップレベルの await には v16 以上を推奨)
  • npm(またはyarn)
  • Redis サーバーが実行中でありアクセス可能

設定

  1. クローンリポジトリ:
    git clone <your-repo-url> cd dt-mcp-server
  2. 依存関係をインストールします:
    npm install
  3. **環境の設定:**プロジェクト ルートに.envファイルを作成するか ( .gitignoreに追加する)、環境変数を設定します。
    • REDIS_URL : Redisサーバーへの接続URL(例: redis://localhost:6379 )。デフォルトはredis://localhost:6379
    • RTDQ_DIR : (オプション) .rtdqファイルを含むディレクトリへの絶対パス。デフォルトはプロジェクト内のrtdq_filesというサブディレクトリです。
    • PORT : (オプション) サーバーがリッスンするポート。デフォルトは3000です。
  4. RTDQディレクトリの作成: RTDQ_DIRで指定されたディレクトリ(またはデフォルトのrtdq_filesサブディレクトリ)が存在することを確認してください.rtdqファイルをその中に配置してください。

サーバーの実行

npm start
-
security - not tested
F
license - not found
-
quality - not tested

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.

.rtdq ファイルから決定木を読み込んで管理し、ストレージに Redis を使用して基本的な ToDo リスト機能を提供する Node.js MCP サーバー。

  1. 特徴
    1. 前提条件
      1. 設定
        1. サーバーの実行

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Node.js server that allows browsing Git repositories through MCP, providing tools to view directory structures and read important files from repositories.
            Last updated -
            2
            JavaScript
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            An 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
            Python
          • -
            security
            A
            license
            -
            quality
            An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
            Last updated -
            66
            8
            TypeScript
            MIT License
            • Apple
            • Linux
          • A
            security
            F
            license
            A
            quality
            An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
            Last updated -
            39
            28
            • Apple

          View all related MCP servers

          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/psikosen/dt_mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server