DeltaTask MCP server

Integrates with Obsidian to provide a locally-hosted task management system with intelligent prioritization, task decomposition, and a full API for creating, updating, and querying tasks in a SQLite-backed database.
Back to servers
Provider
Bryson Tang
Release date
Feb 27, 2025
Language
Python
Stats
7 stars

This MCP server provides task management functionality with Obsidian integration through the Model Context Protocol (MCP). It allows you to create, organize, and prioritize tasks while storing all data locally in a SQLite database.

Prerequisites

  • Python 3.10+
  • SQLite3
  • Obsidian (optional, for markdown integration)

Installation

  1. Clone the DeltaTask repository to your local machine
  2. Set up the Python environment using uv:
# Create and activate the virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
uv pip install -r requirements.txt

Running the MCP Server

The DeltaTask MCP server integrates with Claude for Desktop:

  1. Configure Claude for Desktop:
    • Open or create the config file at ~/Library/Application Support/Claude/claude_desktop_config.json
    • Add the DeltaTask server configuration:
{
  "mcpServers": {
    "deltatask": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/DeltaTask",
        "run",
        "server.py"
      ]
    }
  }
}
  1. Restart Claude for Desktop
  2. Access the DeltaTask tools in Claude by clicking the hammer icon

Troubleshooting

If you encounter issues, you may need to specify the full path to the uv executable in the command field. Find this by running:

  • MacOS/Linux: which uv
  • Windows: where uv

Using the MCP API

The DeltaTask MCP server exposes several operations through its API:

Task Management

  • Create tasks with urgency levels (1-5) and effort estimates (Fibonacci scale 1-21)
  • View, update, and delete tasks
  • Add tags to organize tasks
  • Create subtasks to break down complex items

Example API Operations

  • get_task_by_id: Retrieve a specific task
  • search_tasks: Find tasks matching specific criteria
  • create_task: Add a new task to the system
  • update_task: Modify existing task properties
  • delete_task: Remove a task
  • finish_task: Mark a task as completed

Task Organization

  • get_subtasks: View child tasks for a parent task
  • create_subtasks: Split a task into multiple components
  • get_all_tags: List all available tags
  • list_tasks: Get all tasks in the system

Obsidian Integration

  • sync_tasks: Synchronize tasks between Obsidian markdown files and the SQLite database

Analytics

  • get_statistics: View metrics about your task collection

Data Structure

Tasks in DeltaTask include:

  • Title and description
  • Urgency (1-5 scale)
  • Effort (1-21 scale)
  • Completion status
  • Parent-child relationships
  • Tags for categorization

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later