Skip to main content
Glama

dt_mcp 服务器(决策树和任务管理 MCP 服务器)

该项目实现了一个基于 Node.js 的模型上下文协议 (MCP) 服务器,用于管理和与.rtdq文件中定义的决策树进行交互,并处理基本的待办事项列表。它使用 Redis 作为后端,用于存储已解析的.rtdq数据和待办事项列表。

特征

  • RTDQ 处理:

    • 从指定目录加载.rtdq文件(v2.1 格式)。

    • 异步解析.rtdq文件。

    • 将解析后的决策树数据存储在 Redis 中。

    • 提供 MCP 工具( get_dt_node_from_redis )来从加载的树中检索特定节点。

  • 待办事项管理:

    • 提供 MCP 工具( add_todolist_todosmark_todo_done )来管理简单的待办事项列表。

    • 将待办事项存储在 Redis 中。

  • MCP 集成:

    • 充当标准 MCP 服务器。

    • 通过/mcp端点上的 HTTP 服务器发送事件 (SSE) 进行通信。

    • 通过标准 MCP tools/listtools/call方法公开功能。

先决条件

  • Node.js(建议使用 v16+ 版本,用于 ES 模块和顶层 await)

  • 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

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list through Claude.
    Last updated -
    203
    MIT License
  • -
    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
  • A
    security
    -
    license
    A
    quality
    The official Redis MCP Server is a natural language interface designed for agentic applications to efficiently manage and search data in Redis.
    Last updated -
    44
    346
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A minimal Model Context Protocol server implementation that provides tools for managing a to-do list, allowing users to create tasks, list them, and mark them as completed via JSON-RPC calls.
    Last updated -
    • Linux
    • 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