Logo di Valkey MCP 任务管理服务器

Valkey MCP 任务管理服务器

Community
jbrinkman

MCP server for task management with Valkey persistence

Pubblicato dajbrinkman
Repositoryvalkey-ai-tasks
LinguaGo
Fork
3
Stelle
25
Strumenti disponibili
0
Tipo di trasportostdio, streamable-http
Categorie
LicenzaBSD-3-Clause
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Valkey MCP 任务管理服务器 mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • Strumenti disponibili: 0

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni se il server li fornisce.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse della comunità open source

    Stelle: 25; fork: 3 (repository collegato).

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.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

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

Usa Valkey MCP 任务管理服务器 MCP con più modelli AI

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Valkey MCP 任务管理服务器, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Puoi eseguire MCP localmente sul tuo dispositivo o connetterti all'URL di un server MCP remoto.

Opzione 1: usa il connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura connettore.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura connettore e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con l’opzione «Questo dispositivo» selezionata
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Valkey MCP 任务管理服务器 come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Valkey MCP 任务管理服务器.
  4. Salva l'elenco dei server.
  5. Se vuoi verificare che il connettore sia ancora pronto, aggiorna la pagina.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "jbrinkman-valkey-ai-tasks": {
      "command": "npx",
      "args": [
        "-y",
        "valkey-ai-tasks"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Valkey MCP 任务管理服务器, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Valkey MCP 任务管理服务器.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Valkey MCP 任务管理服务器 per aiutarmi con questa attività?
Valkey MCP 任务管理服务器
Certo. L’ho letto.
Ecco cosa ho trovato con Valkey MCP 任务管理服务器.

Opzione 2: aggiungi l'URL di un server MCP

Usa questo metodo se Valkey MCP 任务管理服务器 è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci URL del tuo server nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla URL del tuo server nel campo URL del server.
  2. Inserisci un nome per la connessione a Valkey MCP 任务管理服务器.
  3. Se vuoi riconoscere più facilmente la connessione, aggiungi una descrizione e un’icona.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione Valkey MCP 任务管理服务器 risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza dover ristabilire la connessione MCP

Avvia una chat con il tuo modello preferito, abilita gli strumenti di Valkey MCP 任务管理服务器 dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di Valkey MCP 任务管理服务器 dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Valkey MCP 任务管理服务器 per aiutarmi con questa attività?
Valkey MCP 任务管理服务器
Certo. L’ho letto.
Ecco cosa ho trovato con Valkey MCP 任务管理服务器.

Domande frequenti

A cosa serve il server MCP Valkey MCP 任务管理服务器?

Valkey MCP 任务管理服务器 è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare il server MCP Valkey MCP 任务管理服务器 con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Valkey MCP 任务管理服务器 con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Valkey MCP 任务管理服务器 con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Valkey MCP 任务管理服务器, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego il server MCP Valkey MCP 任务管理服务器 a TypingMind?

Puoi collegare Valkey MCP 任务管理服务器 a TypingMind con il connettore MCP locale oppure aggiungendo l'URL di un server MCP remoto. Usa il connettore locale quando il server deve accedere a file, app o risorse private sul tuo dispositivo; usa invece l'URL del server quando il server MCP è ospitato in remoto.

Quali strumenti offre il server MCP Valkey MCP 任务管理服务器 in TypingMind?

Valkey MCP 任务管理服务器 mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare il server MCP Valkey MCP 任务管理服务器?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Valkey MCP 任务管理服务器 richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇