Skip to main content
Glama

Task Master

by eyaltoledano

add_dependency

Establish dependency relationships between tasks in the Task Master MCP server by specifying task IDs and project context, ensuring structured task management.

Instructions

Add a dependency relationship between two tasks

Input Schema

NameRequiredDescriptionDefault
dependsOnYesID of task that will become a dependency
fileNoAbsolute path to the tasks file (default: tasks/tasks.json)
idYesID of task that will depend on another task
projectRootYesThe directory of the project. Must be an absolute path.
tagNoTag context to operate on

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "dependsOn": { "description": "ID of task that will become a dependency", "type": "string" }, "file": { "description": "Absolute path to the tasks file (default: tasks/tasks.json)", "type": "string" }, "id": { "description": "ID of task that will depend on another task", "type": "string" }, "projectRoot": { "description": "The directory of the project. Must be an absolute path.", "type": "string" }, "tag": { "description": "Tag context to operate on", "type": "string" } }, "required": [ "id", "dependsOn", "projectRoot" ], "type": "object" }

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/eyaltoledano/claude-task-master'

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