Skip to content

feat(mcp): add get_task tool for fetching single task with full details#70

Open
jeeshofone wants to merge 1 commit intosirsjg:mainfrom
CompactSaaS-Org:feature/get-task-mcp
Open

feat(mcp): add get_task tool for fetching single task with full details#70
jeeshofone wants to merge 1 commit intosirsjg:mainfrom
CompactSaaS-Org:feature/get-task-mcp

Conversation

@jeeshofone
Copy link
Contributor

Problem

As reported in #67, the list_tasks MCP response includes all task comments, causing responses to grow very large over time (222K+ characters reported). This can exceed LLM token limits.

Solution

Adds a new get_task MCP tool that returns a single task by ID with all fields including comments and blocked status. This lets agents fetch detailed task info on demand rather than relying solely on list_tasks.

New tool

  • get_task — accepts task_id (required), returns the full task object with comments and blocked status.

No breaking changes

list_tasks behavior is unchanged.

Closes #67

Adds a new get_task MCP tool that returns a single task by ID with all
fields including comments and blocked status. This allows agents to
fetch detailed task info on demand rather than relying on list_tasks
which returns all tasks with all comments, causing token limit issues
for LLMs.

Closes sirsjg#67
@jeeshofone jeeshofone requested a review from sirsjg as a code owner March 1, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: list_tasks

1 participant