Valkey MCP 任务管理服务器のロゴ

Valkey MCP 任务管理服务器

コミュニティ
jbrinkman

MCP server for task management with Valkey persistence

公開者jbrinkman
リポジトリvalkey-ai-tasks
言語Go
フォーク
3
スター
25
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスBSD-3-Clause
リンク
  • ツールをAIワークフローに接続

    Valkey MCP 任务管理服务器は、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには25件のスターと3件のフォークがあります。

Valkey MCP Task Management Server

Lint Publish Container Release Conventional Commits

A task management system that implements the Model Context Protocol (MCP) for seamless integration with agentic AI tools. This system allows AI agents to create, manage, and track tasks within plans using Valkey as the persistence layer.

Features

  • Plan management (create, read, update, delete)
  • Task management (create, read, update, delete)
  • Task ordering and prioritization
  • Status tracking for tasks
  • Notes support with Markdown formatting for both plans and tasks
  • MCP server for AI agent integration
  • Supports STDIO, SSE and Streamable HTTP transport protocols
  • Docker container support for easy deployment

Architecture

The system is built using:

  • Go: For the backend implementation
  • Valkey: For data persistence
  • Valkey-Glide v2: Official Go client for Valkey
  • Model Context Protocol: For AI agent integration

Quick Start

Docker Deployment

The MCP server is designed to run one protocol at a time for simplicity. By default, all protocols are disabled and you need to explicitly enable the one you want to use.

Prerequisites

  1. Create a named volume for Valkey data persistence:
    bash
    docker volume create valkey-data

Running with SSE (Recommended for most use cases)

bash
docker run -d --name valkey-mcp \
  -p 8080:8080 \
  -p 6379:6379 \
  -v valkey-data:/data \
  -e ENABLE_SSE=true \
  ghcr.io/jbrinkman/valkey-ai-tasks:latest

Running with Streamable HTTP

bash
docker run -d --name valkey-mcp \
  -p 8080:8080 \
  -p 6379:6379 \
  -v valkey-data:/data \
  -e ENABLE_STREAMABLE_HTTP=true \
  ghcr.io/jbrinkman/valkey-ai-tasks:latest

Running with STDIO (For direct process communication)

bash
docker run -i --rm --name valkey-mcp \
  -v valkey-data:/data \
  -e ENABLE_STDIO=true \
  ghcr.io/jbrinkman/valkey-ai-tasks:latest

Using the Container Images

The container images are published to GitHub Container Registry and can be pulled using:

bash
docker pull ghcr.io/jbrinkman/valkey-ai-tasks:latest
# or a specific version
docker pull ghcr.io/jbrinkman/valkey-ai-tasks:1.1.0

MCP API Reference

The MCP server supports two transport protocols: Server-Sent Events (SSE) and Streamable HTTP. Each protocol exposes similar endpoints but with different interaction patterns.

Server-Sent Events (SSE) Endpoints

  • GET /sse/list_functions: Lists all available functions
  • POST /sse/invoke/{function_name}: Invokes a function with the given parameters

Streamable HTTP Endpoints

  • POST /mcp: Handles all MCP requests using JSON format
    • For function listing: {"method": "list_functions", "params": {}}
    • For function invocation: {"method": "invoke", "params": {"function": "function_name", "params": {...}}}

Transport Selection

The server automatically selects the appropriate transport based on:

  1. URL Path: Connect to the specific endpoint for your preferred transport
  2. Content Type: When connecting to the root path (/), the server redirects based on content type:
    • application/json → Streamable HTTP
    • Other content types → SSE

Health Check

  • GET /health: Returns server health status

Available Functions

Plan Management

  • create_plan: Create a new plan
  • get_plan: Get a plan by ID
  • list_plans: List all plans
  • list_plans_by_application: List all plans for a specific application
  • update_plan: Update an existing plan
  • delete_plan: Delete a plan by ID
  • update_plan_notes: Update notes for a plan
  • get_plan_notes: Get notes for a plan

Task Management

  • create_task: Create a new task in a plan
  • get_task: Get a task by ID
  • list_tasks_by_plan: List all tasks in a plan
  • list_tasks_by_status: List all tasks with a specific status
  • update_task: Update an existing task
  • delete_task: Delete a task by ID
  • reorder_task: Change the order of a task within its plan
  • update_task_notes: Update notes for a task
  • get_task_notes: Get notes for a task

MCP Configuration

Local MCP Configuration

To configure an AI agent to use the local MCP server, add the following to your MCP configuration file (the exact file location depends on your AI Agent):

Using SSE Transport (Default)

Note: The docker container should already be running.

json
{
  "mcpServers": {
    "valkey-tasks": {
      "serverUrl": "http://localhost:8080/sse"
    }
  }
}

Using Streamable HTTP Transport

Note: The docker container should already be running.

json
{
  "mcpServers": {
    "valkey-tasks": {
      "serverUrl": "http://localhost:8080/mcp"
    }
  }
}

Using STDIO Transport

STDIO transport allows the MCP server to communicate via standard input/output, which is useful for legacy AI tools that rely on stdin/stdout for communication.

For agentic tools that need to start and manage the MCP server process, use a configuration like this:

json
{
  "mcpServers": {
    "valkey-tasks": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v", "valkey-data:/data"
        "-e", "ENABLE_STDIO=true",
        "ghcr.io/jbrinkman/valkey-ai-tasks:latest"
      ]    
    }
  }
}

Docker MCP Configuration

When running in Docker, use the container name as the hostname:

Using SSE Transport (Default)

json
{
  "mcpServers": {
    "valkey-tasks": {
      "serverUrl": "http://valkey-mcp-server:8080/sse"
    }
  }
}

Notes Functionality

The system supports rich Markdown-formatted notes for both plans and tasks. This feature is particularly useful for AI agents to maintain context between sessions and document important information.

Notes Features

  • Full Markdown support including:
    • Headings, lists, and tables
    • Code blocks with syntax highlighting
    • Links and images
    • Emphasis and formatting
  • Separate notes for plans and tasks
  • Dedicated MCP tools for managing notes
  • Notes are included in all relevant API responses

Best Practices for Notes

  1. Maintain Context: Use notes to document important context that should persist between sessions
  2. Document Decisions: Record key decisions and their rationale
  3. Track Progress: Use notes to track progress and next steps
  4. Organize Information: Use Markdown formatting to structure information clearly
  5. Code Examples: Include code snippets with proper syntax highlighting

Notes Security

Notes content is sanitized to prevent XSS and other security issues while preserving Markdown formatting.

MCP Resources

In addition to MCP tools, the system provides MCP resources that allow AI agents to access structured data directly. These resources provide a complete view of plans and tasks in a single request, which is more efficient than making multiple tool calls.

Available Resources

Plan Resource

The Plan Resource provides a complete view of a plan, including its tasks and notes. It supports the following URI patterns:

  • Single Plan: ai-tasks://plans/{id}/full - Returns a specific plan with its tasks
  • All Plans: ai-tasks://plans/full - Returns all plans with their tasks
  • Application Plans: ai-tasks://applications/{app_id}/plans/full - Returns all plans for a specific application

Each resource returns a JSON object or array with the following structure:

json
{
  "id": "plan-123",
  "application_id": "my-app",
  "name": "New Feature Development",
  "description": "Implement new features for the application",
  "status": "new",
  "notes": "# Project Notes\n\nThis project aims to implement the following features...",
  "created_at": "2025-06-27T14:00:21Z",
  "updated_at": "2025-07-01T13:04:01Z",
  "tasks": [
    {
      "id": "task-456",
      "plan_id": "plan-123",
      "title": "Task 1",
      "description": "Description for task 1",
      "status": "pending",
      "priority": "high",
      "order": 0,
      "notes": "# Task Notes\n\nThis task requires the following steps...",
      "created_at": "2025-06-27T14:00:50Z",
      "updated_at": "2025-07-01T12:04:27Z"
    },
    // Additional tasks...
  ]
}

Using MCP Resources

AI agents can access these resources using the MCP resource API. Here's an example of how to read a resource:

json
{
  "action": "read_resource",
  "params": {
    "uri": "ai-tasks://plans/123/full"
  }
}

This will return the complete plan resource including all tasks, which is more efficient than making separate calls to get the plan and then its tasks.

Using with AI Agents

AI agents can interact with this task management system through the MCP API using either SSE or Streamable HTTP transport. Here are examples for both transport protocols:

Using SSE Transport

  1. The agent calls /sse/list_functions to discover available functions
  2. The agent calls /sse/invoke/create_plan with parameters:
    json
    {
      "application_id": "my-app",
      "name": "New Feature Development",
      "description": "Implement new features for the application",
      "notes": "# Project Notes\n\nThis project aims to implement the following features:\n\n- Feature A\n- Feature B\n- Feature C"
    }
  3. The agent can add tasks to the plan using either:
    • Individual task creation with /sse/invoke/create_task
    • Bulk task creation with /sse/invoke/bulk_create_tasks for multiple tasks at once:
      json
      {
        "plan_id": "plan-123",
        "tasks_json": "[
          {
            \"title\": \"Task 1\",
            \"description\": \"Description for task 1\",
            \"priority\": \"high\",
            \"status\": \"pending\",
            \"notes\": \"# Task Notes\\n\\nThis task requires the following steps:\\n\\n1. Step one\\n2. Step two\\n3. Step three\"
          },
          {
            \"title\": \"Task 2\",
            \"description\": \"Description for task 2\",
            \"priority\": \"medium\",
            \"status\": \"pending\"
          }
        ]"
      }
  4. The agent calls /sse/invoke/update_task to update task status as work progresses

Sample Agent Prompt

Here's a sample prompt that would trigger an AI agent to use the MCP task management system:

I need to organize work for my new application called "inventory-manager". 
Create a plan for this application with the following plan notes:
"# Inventory Manager Project

This project aims to create a comprehensive inventory management system with the following goals:
- Track inventory levels in real-time
- Generate reports on inventory movement
- Provide alerts for low stock items"

Add the following tasks:
1. Set up database schema
2. Implement REST API endpoints
3. Create user authentication system
4. Design frontend dashboard
5. Implement inventory tracking features

For the database schema task, add these notes:
"# Database Schema Notes

The schema should include the following tables:
- Products
- Categories
- Inventory Transactions
- Users
- Roles"

Prioritize the tasks appropriately and set the first two tasks as "in_progress".

With this prompt, an AI agent with access to the Valkey MCP Task Management Server would:

  1. Create a new plan with application_id "inventory-manager" and the specified Markdown-formatted notes
  2. Add the five specified tasks to the plan
  3. Add detailed Markdown-formatted notes to the database schema task
  4. Set appropriate priorities for each task
  5. Update the status of the first two tasks to "in_progress"
  6. Return a summary of the created plan and tasks

Developer Documentation

For information on how to set up a development environment, contribute to the project, and understand the codebase structure, please refer to the Developer Guide.

For contribution guidelines, including commit message format and pull request process, see Contributing Guidelines.

License

This project is licensed under the BSD-3-Clause License.

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "jbrinkman-valkey-ai-tasks": {
      "command": "npx",
      "args": [
        "-y",
        "valkey-ai-tasks"
      ]
    }
  }
}

Valkey MCP 任务管理服务器のMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Valkey MCP 任务管理服务器に接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Valkey MCP 任务管理服务器をサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Valkey MCP 任务管理服务器のMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "jbrinkman-valkey-ai-tasks": {
      "command": "npx",
      "args": [
        "-y",
        "valkey-ai-tasks"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてValkey MCP 任务管理服务器のMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Valkey MCP 任务管理服务器のMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Valkey MCP 任务管理服务器を使ってこのタスクを手伝ってもらえますか?
Valkey MCP 任务管理服务器
はい、読みました。
Valkey MCP 任务管理服务器で調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

Valkey MCP 任务管理服务器がすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックしてください。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にお使いのサーバーURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にお使いのサーバーURLを貼り付けてください。
  2. Valkey MCP 任务管理服务器の接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックしてください。
  2. MCPコネクタの一覧に戻ってください。
  3. Valkey MCP 任务管理服务器の接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でValkey MCP 任务管理服务器のツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でValkey MCP 任务管理服务器のツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Valkey MCP 任务管理服务器を使ってこのタスクを手伝ってもらえますか?
Valkey MCP 任务管理服务器
はい、読みました。
Valkey MCP 任务管理服务器で調べた結果をお伝えします。

よくある質問

Valkey MCP 任务管理服务器 MCPサーバーは何に使いますか?

Valkey MCP 任务管理服务器は、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでValkey MCP 任务管理服务器 MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでValkey MCP 任务管理服务器を利用できます。

TypingMindでValkey MCP 任务管理服务器 MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。Valkey MCP 任务管理服务器を接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Valkey MCP 任务管理服务器 MCPをTypingMindに接続するにはどうすればよいですか?

Valkey MCP 任务管理服务器は、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでValkey MCP 任务管理服务器 MCPのどのようなツールを利用できますか?

Valkey MCP 任务管理服务器はMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Valkey MCP 任务管理服务器 MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Valkey MCP 任务管理服务器で認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇