Skip to content

feat: add create-task tool for creating project tasks#10

Open
baotn166 wants to merge 1 commit into
https-eduardo:mainfrom
baotn166:feature/create-task
Open

feat: add create-task tool for creating project tasks#10
baotn166 wants to merge 1 commit into
https-eduardo:mainfrom
baotn166:feature/create-task

Conversation

@baotn166
Copy link
Copy Markdown

@baotn166 baotn166 commented Jun 2, 2026

Summary

Adds a create-task tool that creates a new task (activity) within a project. Created tasks can then be associated with time entries (complementing the existing list-tasks tool).

Details

  • New createTaskTool in src/tools/tasks.ts, registered in src/index.ts.
  • Parameters: workspaceId, projectId, name (required); assigneeIds and status (ACTIVE/DONE) optional.
  • POSTs to workspaces/{workspaceId}/projects/{projectId}/tasks, mirroring the existing create-tag tool's structure and validation.

Testing

  • tsc --noEmit passes.
  • Verified the server boots and responds to an MCP initialize handshake with the new tool registered.

@baotn166
Copy link
Copy Markdown
Author

baotn166 commented Jun 2, 2026

Closes #11.

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.

1 participant