MCP Tools
Complete reference of MCP tools and example prompts for working with D0
Frequently Used
get_task
Get a single task with dependencies by task ID. Includes project brief, PRD, and IA
Returns
Comprehensive task data including project context, PRD content, and optional IA content
Example Prompts
"D0, show me task T-ABC12"
"D0, get details for the authentication task"
"D0, what are the requirements for task T-XYZ89?"
update_task_status
Update a task's status by task ID
Returns
Updated task object
Example Prompts
"D0, mark task T-ABC12 as complete"
"D0, set task T-XYZ89 to in progress"
"D0, update task status to DONE"
get_highest_priority_task
Get the highest priority task for a project
Returns
Next highest priority task with all dependencies completed, along with PRD and IA context
Example Prompts
"D0, what should I work on next?"
"D0, get the highest priority task for this project"
"D0, what's the next most important task?"
get_next_task
Get the next task for a project. If the user was working on a task get the next task sorted by priority, and if there is no context for the task, get the highest priority task
Returns
Next task with all dependencies completed, along with PRD and IA context
Example Prompts
"D0, what should I work on next?"
"D0, get next task and start working on it"
create_task
Create and save a single task for a project based on user request
Returns
Successfully created task with AI-generated title, content, complexity, urgency, priority, and dependencies
Example Prompts
"D0, create a task to implement user authentication for project PRJ-ABC"
"D0, add a task for setting up the database schema"
"D0, create a task to build the login component that depends on T-AUTH1"
create_pull_request_by_task_id
Requires GitHubCreate a GitHub pull request for a task using the task display ID. The task must have an associated GitHub branch and the branch must be pushed to the remote repository first.
Returns
Creates a pull request and returns pull request details
Example Prompts
"D0, create a pull request for task T-ABC12"
"D0, make a PR for task T-XYZ89 targeting main branch"
"D0, create PR for T-DEF34"
create_pull_request_by_branch_name
Requires GitHubCreate a GitHub pull request for a branch. Use when you're currently on a branch and want to create a PR. The branch must be pushed to the remote repository first.
Returns
Creates a pull request and returns pull request details
Example Prompts
"D0, create a pull request for current branch"
"D0, make a PR for branch feature/T-ABC12-user-auth"
"D0, create PR for this branch targeting development"
All Tools
Complete reference of MCP tools and example prompts for working with D0:
get_projects
Get all projects for the authenticated user
Returns
JSON array of all user's projects
Example Prompts
"D0, show me all my projects"
"D0, list my projects"
"D0, what projects do I have?"
get_project
Get a project with full details including PRD and tasks by project ID
Returns
Complete project data including tasks with dependencies, PRD content, and IA content
Example Prompts
"D0, get details for project PRJ-ABC"
"D0, show me the full project information"
get_project_prd
Get PRD content for a project by project ID
Returns
PRD content as plain text
Example Prompts
"D0, show me the PRD for project PRJ-ABC"
"D0, display the product requirements document"
update_project_prd
Update PRD content for a project using comprehensive context
Returns
Updated PRD content with AI-generated improvements
Example Prompts
"D0, update the PRD for project PRJ-ABC to add mobile support requirements"
"D0, modify the PRD to include new authentication features"
"D0, enhance the PRD with additional security requirements"
get_project_ia
Get Information Architecture (IA) content for a project by project ID
Returns
IA content as plain text, or message if IA doesn't exist
Example Prompts
"D0, show me the IA structure"
"D0, what's the information architecture?"
"D0, display the project IA"
get_project_tasks
Get all tasks for a specific project by project ID
Returns
JSON array of tasks with basic details and dependencies, ordered by priority
Example Prompts
"D0, what are the tasks for this project?"
"D0, show me all tasks for project PRJ-ABC"
"D0, what tasks are in progress?"
get_task
Get a single task with dependencies by task ID. Includes project brief, PRD, and IA
Returns
Comprehensive task data including project context, PRD content, and optional IA content
Example Prompts
"D0, show me task T-ABC12"
"D0, get details for the authentication task"
"D0, what are the requirements for task T-XYZ89?"
update_task_status
Update a task's status by task ID
Returns
Updated task object
Example Prompts
"D0, mark task T-ABC12 as complete"
"D0, set task T-XYZ89 to in progress"
"D0, update task status to DONE"
get_task_dependencies
Get task dependency relationships by task ID
Returns
Tasks that are blocked by the task and tasks that should be completed before the task can be started
Example Prompts
"D0, what tasks does T-ABC12 depend on?"
"D0, show me task dependencies for T-XYZ89"
"D0, which tasks are blocked by this task?"
add_dependency
Add a dependency relationship between tasks. A dependency is a task that must be completed before another task can be started.
Returns
Updated task with its dependencies
Example Prompts
"D0, make task T-ABC12 depend on task T-XYZ89"
"D0, set task T-ABC12 to require task T-XYZ89 first"
remove_dependency
Remove a dependency relationship between tasks. A dependency is a task that must be completed before another task can be started.
Returns
Updated task with its remaining dependencies
Example Prompts
"D0, make task T-ABC12 no longer depend on T-XYZ89"
"D0, remove the requirement that T-ABC12 needs T-XYZ89 first"
get_highest_priority_task
Get the highest priority task for a project
Returns
Next highest priority task with all dependencies completed, along with PRD and IA context
Example Prompts
"D0, what should I work on next?"
"D0, get the highest priority task for this project"
"D0, what's the next most important task?"
get_next_task
Get the next task for a project. If the user was working on a task get the next task sorted by priority, and if there is no context for the task, get the highest priority task
Returns
Next task with all dependencies completed, along with PRD and IA context
Example Prompts
"D0, what should I work on next?"
"D0, get next task and start working on it"
create_task
Create and save a single task for a project based on user request
Returns
Successfully created task with AI-generated title, content, complexity, urgency, priority, and dependencies
Example Prompts
"D0, create a task to implement user authentication for project PRJ-ABC"
"D0, add a task for setting up the database schema"
"D0, create a task to build the login component that depends on T-AUTH1"
update_task
Update task properties like title, complexity, urgency, or importance
Returns
Updated task object with the modified properties
Example Prompts
"D0, update task T-ABC12 to set complexity to 8 and urgency to 5"
"D0, change the title of task T-XYZ89 to 'Implement OAuth login'"
"D0, set task T-DEF34 importance to MUST"
update_task_content
Update task content using AI to generate improved, comprehensive task description
Returns
Updated task with AI-enhanced content in markdown format
Example Prompts
"D0, update task T-ABC12 content to include OAuth integration requirements"
"D0, enhance task T-XYZ89 with detailed testing requirements"
"D0, update task T-DEF34 to add security considerations"
get_project_stats
Get project statistics including task counts by status by project ID
Returns
Statistics with total tasks, counts by status (backlog/in_progress/done), and counts by importance (must/should/could/wont)
Example Prompts
"D0, how many tasks are completed?"
"D0, show me project progress"
"D0, what's the project status?"
create_pull_request_by_task_id
Requires GitHubCreate a GitHub pull request for a task using the task display ID. The task must have an associated GitHub branch and the branch must be pushed to the remote repository first.
Returns
Creates a pull request and returns pull request details
Example Prompts
"D0, create a pull request for task T-ABC12"
"D0, make a PR for task T-XYZ89 targeting main branch"
"D0, create PR for T-DEF34"
create_pull_request_by_branch_name
Requires GitHubCreate a GitHub pull request for a branch. Use when you're currently on a branch and want to create a PR. The branch must be pushed to the remote repository first.
Returns
Creates a pull request and returns pull request details
Example Prompts
"D0, create a pull request for current branch"
"D0, make a PR for branch feature/T-ABC12-user-auth"
"D0, create PR for this branch targeting development"
Example Workflows
Here are some practical examples of how to interact with D0 through your AI assistant:
Project Overview
"D0, show me the PRD and IA for project PRJ-ABC"
"D0, get the project stats and highest priority task for this project"
"D0, what's the complete overview of my current project?"
Task Management
"D0, what should I work on next? Get the highest priority task"
"D0, show me task T-ABC12 with all its dependencies"
"D0, mark task T-XYZ89 as DONE and get the next priority task"
Progress Tracking
"D0, how many tasks are completed vs in progress for this project?"
"D0, show me project stats and update task T-LOG01 to IN_PROGRESS"
"D0, what's the breakdown of MUST vs SHOULD vs COULD tasks?"
Context-Aware Development
"D0, get task T-AUTH2 details and generate the login component according to the PRD"
"D0, show me the IA structure and implement the navigation component"
"D0, based on the PRD requirements, create the user registration API endpoint"
GitHub Integration
"D0, create a pull request for task T-ABC12 and include AI-generated description"
"D0, make a PR for current branch with code analysis"
"D0, get task T-XYZ89, mark it DONE, and create a pull request"
Best Practices
✅ Do
- • Use specific task IDs (format: T-ABCDE) for precise references
- • Check task dependencies with get_task_dependencies before starting
- • Use get_highest_priority_task to get AI-recommended next work
- • Update task status (BACKLOG → IN_PROGRESS → DONE) as you progress
- • Reference PRD and IA content for context-aware development
- • Use natural language - AI understands your intent
❌ Don't
- • Work on tasks with incomplete dependencies
- • Skip checking PRD requirements before coding
- • Forget to mark tasks as DONE when completed
- • Ignore MoSCoW priority (MUST/SHOULD/COULD/WONT)
- • Assume AI knows about external changes to your project
💡 Pro Tips
- Aknowledge D0 which project you are working on: "Get next task for project PRJ-ABC"
- Use tools for optimal workflow: "Get the highest priority task and show me its PRD requirements"
- Leverage full context: "Get task T-USE02 with PRD and IA, then generate the component according to requirements"
- Combine tools in one request: "Show me task T-AUTH1 details, then mark it IN_PROGRESS and get the project stats"