Skip to main content
Glama

Task Trellis MCP

Task Trellis MCP

An MCP server that helps you manage developing with AI coding agents, by breaking down complex projects and tracking its progress with built-in task management, complete with progress tracking, dependency management, and workflow automation.

Primarily built as a much better alternative to managing markdown checklists. Task Trellis will make it easier to define requirements, specifications, and tasks in a structured way that the agent can actually use directly.

It's kinda like Jira specifically for coding agents.

Table of Contents

At a Glance

Task Trellis works with "objects" that are projects, epics, features or tasks.

Tasks are the most important type of object. This is where the actual work gets done. Each task is a specific piece of work that needs to be completed in order to achieve the project's goals. The other object types are too big to be a task and they exist to help organize and manage multiple tasks to accomplish a particular goal. Tasks can be standalone or part of a larger feature.

Features are the next level up from tasks. They represent the requirements and functionality needed to deliver a specific aspect of the project. Features can be standalone or a part of a larger epic.

Epics are next after features. They represent a significant deliverable or a large body of work that can be broken down into multiple features and tasks. Epics can be standalone or a part of a larger project.

Projects are the highest level of organization. They represent the overall initiative or goal that encompasses multiple epics, features, and tasks. Projects provide a way to group related work and track progress at a high level.

Depending on the size of the effort, you can choose to create a project with epics, features, and tasks, or you can create standalone tasks as needed. Once you have your tasks defined, you can easily manage and track their progress through the Task Trellis MCP tools.

Currently, all Task Trellis objects are stored as markdown files in the .trellis folder in the root of your project. This makes it unsuitable for projects with multiple developers, but a remote option is in development now and should be available soon.

Why Task Trellis?

Without Task Trellis

  • AI agents lose track of complex, multi-step projects
  • Agents spin out of control with no clear task structure
  • Tasks are often too large or vague, leading to confusion
  • No way to manage dependencies or prerequisites
  • No visibility into what's been completed vs. what's pending
  • Tasks get forgotten, duplicated, or done out of order
  • Zero coordination between multiple AI sessions
  • Complex projects become chaotic and overwhelming

With Task Trellis

  • Structured Breakdown: Automatically organize projects into hierarchical tasks (depending on the size of the effort required)
    • For large projects, create a project with epics, features, and tasks
    • For medium projects, create features with tasks
    • For small tasks, create standalone tasks
  • Smart Dependencies: Prevent tasks from starting until prerequisites are complete
  • Progress Tracking: Real-time visibility into what's done, in-progress, and pending
  • Session Continuity: Pick up exactly where you left off across AI conversations
  • Workflow Management: Built-in task claiming, completion, and validation workflows
  • File Change Tracking: Automatic documentation of what files were modified for each task

Core Benefits

Focused Execution: AI agents work on one clearly-defined task at a time
Progress Visibility: Always know project status and what's next
Dependency Management: Automatic task ordering based on prerequisites
Audit Trail: Complete history of all work completed and changes made
Multi-Session Support: Seamlessly collaborate across different AI conversations
Productivity Boost: Reduce context switching and eliminate forgotten tasks

Usage

Basic Workflow

See sample prompts (written as Claude Code slash commands): Sample Prompts

  1. Create Tasks
    • Determine your starting point based on the expected size of your project
      • Project - For sprawling initiatives with many moving parts
      • Epic - For large feature groupings
      • Feature - For specific functionality
      • Task - For individual work items
  2. Claim & Work on Tasks
    • AI agent claims next available task
      • Excludes tasks that have incomplete prerequisites
      • Grabs the next highest priority available task
      • Mark a task as draft if you don't want it to be worked on yet - it won't be claimed when the tool looks for the next available task
    • Works on the specific task requirements
    • Marks task complete with file changes documented
      • Automatically tracks which files were modified
      • Logs summary of changes made
      • Work done in the future could reference this to better understand the current state of the project
  3. Track Progress
    • View completed vs. pending work
    • See dependency relationships
    • Monitor overall project health

Available Tools

Core Object Management

  • create_object - Create projects, epics, features, or tasks with hierarchical relationships
  • update_object - Modify object properties, status, priority, or prerequisites
  • get_object - Retrieve detailed object information with history and relationships
  • list_objects - Query and filter objects by type, status, priority, or scope (returns object summaries)
  • delete_object - Remove objects (with dependency validation)
  • replace_object_body_regex - Make targeted body content edits using regex patterns

Task Workflow Management

  • claim_task - Claim available tasks for execution with automatic priority ordering
  • complete_task - Mark tasks complete with file change documentation
  • append_object_log - Add progress notes and status updates to task history (occurs automatically on task completion)
  • append_modified_files - Record files modified during task execution with change descriptions (occurs automatically on task completion)

System Management

  • activate - Initialize the task system (if not configured via command line)
  • prune_closed - Clean up old completed/cancelled objects for maintenance

Project Hierarchy

Task Trellis supports a flexible 4-level hierarchy:

Project (Top-level container) └── Epic (Large feature groupings) └── Feature (Specific functionality) └── Task (Individual work items)

Prerequisites & Dependencies

Tasks can have prerequisites that must be completed before they become available:

{ "type": "task", "title": "Deploy authentication system", "prerequisites": ["T-user-registration", "T-login-system", "T-email-verification"] }

File Storage

Task Trellis uses a local file-based storage system with different hierarchy patterns:

Full Project Hierarchy

your-project/ └── .trellis/ └── p/ └── P-project-id/ └── e/ └── E-epic-id/ └── f/ └── F-feature-id/ └── t/ ├── open/ │ └── T-task-id.md └── closed/ └── T-completed-task-id.md

Epic-Only Hierarchy

your-project/ └── .trellis/ └── e/ └── E-epic-id/ └── f/ └── F-feature-id/ └── t/ ├── open/ │ └── T-task-id.md └── closed/ └── T-completed-task-id.md

Feature-Only Hierarchy

your-project/ └── .trellis/ └── f/ └── F-feature-id/ └── t/ ├── open/ │ └── T-task-id.md └── closed/ └── T-completed-task-id.md

Standalone Tasks

your-project/ └── .trellis/ └── t/ ├── open/ │ └── T-task-id.md └── closed/ └── T-completed-task-id.md

Each object is stored as a Markdown file with YAML frontmatter metadata and content body.

Installation

CLI Arguments

  • --mode : Server mode. local or remote (default: local) (remote not yet supported)
  • --projectRootFolder : Project root folder path (typically, the root of your repository, but can be in a shared folder for collaboration)
  • --auto-complete-parent: Enable automatic completion of parent tasks when the last task of a feature is completed

Claude Code

The easiest way to install Task Trellis MCP in Claude Code:

claude mcp add @langadventurellc/task-trellis-mcp --projectRootFolder "$(pwd)"

Or (you'll be required to call the activate tool once to set the project root folder):

claude mcp add @langadventurellc/task-trellis-mcp

VS Code with GitHub Copilot

  1. Add Task Trellis to your VS Code settings. Open your settings JSON file and add:
{ "github.copilot.chat.mcpServers": { "task-trellis": { "command": "npx", "args": [ "-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "${workspaceFolder}" ] } } }

Cursor

Install Task Trellis MCP in Cursor by adding to your Cursor settings:

Method 1: Via Settings UI

  1. Open Cursor Settings (⌘/Ctrl + ,)
  2. Search for "MCP"
  3. Add new server with:
    • Name: task-trellis
    • Command: npx
    • Args: ["-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "${workspaceFolder}"]

Method 2: Via Configuration File Add to your Cursor configuration:

{ "mcpServers": { "task-trellis": { "command": "npx", "args": [ "-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "${workspaceFolder}" ] } } }

Windsurf

Add Task Trellis to your Windsurf MCP configuration:

{ "mcpServers": { "task-trellis": { "command": "npx", "args": [ "-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "${workspaceRoot}" ] } } }

Cline (VS Code Extension)

  1. Add Task Trellis to your Cline MCP servers in VS Code settings:
{ "cline.mcpServers": { "task-trellis": { "command": "npx", "args": [ "-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "${workspaceFolder}" ] } } }

Continue (VS Code Extension)

  1. Add to your Continue configuration file (~/.continue/config.json):
{ "mcpServers": { "task-trellis": { "command": "npx", "args": [ "-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "/path/to/your/project" ] } } }

Other MCP Clients

For any MCP-compatible client, use this configuration:

{ "mcpServers": { "task-trellis": { "command": "npx", "args": [ "-y", "@langadventurellc/task-trellis-mcp", "--projectRootFolder", "/absolute/path/to/project" ] } } }

Quick Test

After installation, test that Task Trellis is working by asking your AI assistant:

"Create a new project called 'My Test Project'"

If configured correctly, the AI should respond with a confirmation and create the project structure in your specified project root folder.

Configuration Options

The Task Trellis MCP server supports these command-line options:

  • --mode <mode> - Server mode (default: "local")
    • local - Use local file-based storage
    • remote - Use remote repository (planned feature)
  • --projectRootFolder <path> - Project root folder path
    • Creates a .trellis folder inside the project root for task storage
    • Example: --projectRootFolder /path/to/my-project creates /path/to/my-project/.trellis/

Advanced Configuration Example:

{ "mcpServers": { "task-trellis": { "type": "stdio", "command": "npx", "args": [ "@langadventurellc/task-trellis-mcp", "--mode", "local", "--projectRootFolder", "/path/to/your/project" ] } } }

Troubleshooting

Common Issues

Tasks not appearing:

  • Ensure prerequisites are completed
  • Check task status (should be 'open' or 'draft')
  • Verify project scope configuration

Configuration issues:

  • Validate JSON syntax in MCP client configuration
  • Ensure absolute paths are used for --projectRootFolder
  • Restart your MCP client after configuration changes

Getting Help

  • Issues: Report bugs or feature requests
  • Documentation: Check this README and inline tool descriptions
  • Community: Share experiences and get help from other users

License

GPL-3.0-only - see LICENSE file for details.

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    An MCP server that connects to the Teamwork API, providing a simplified interface for interacting with Teamwork projects and tasks.
    Last updated -
    36
    13
    12
    MIT License
    • Apple
  • -
    security
    A
    license
    -
    quality
    AI-driven task management application that operates via MCP, enabling autonomous creation, organization, and execution of tasks with support for subtasks, priorities, and progress tracking.
    Last updated -
    2
    MIT License
    • Linux
  • -
    security
    F
    license
    -
    quality
    An MCP server that integrates with AI editors like Cursor to maximize agentic capabilities while solving context window limitations, providing a Svelte UI for task planning and implementation tracking.
    Last updated -
    20
  • -
    security
    F
    license
    -
    quality
    An MCP server that enhances TickTick workflow by providing comprehensive task management tools with improved filtering capabilities, allowing AI assistants and MCP-compatible applications to interact with TickTick tasks with greater precision.
    Last updated -
    29

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/langadventurellc/task-trellis-mcp'

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