Skip to content

Feature: Task Management #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

steveclarke
Copy link
Contributor

@steveclarke steveclarke commented Mar 27, 2025

This PR adds full task management capabilities to the Shortcut MCP server. Users can now manage tasks within stories directly through the MCP interface.

This implements one of the requested features in #3

Features Added

  • Create Tasks: Add new tasks to existing stories
  • Read Tasks: List all tasks or view details of specific tasks
  • Update Tasks: Modify task descriptions and completion status
  • Delete Tasks: Remove tasks from stories
  • Complete/Incomplete Tasks: Dedicated tools for marking tasks as complete or incomplete

Implementation Details

  • Added task operation methods to the ShortcutClientWrapper class
  • Implemented task management tools in the StoryTools class
  • Added comprehensive tests for all new functionality
  • Maintained consistent code style and patterns as the existing codebase

I've tested this locally and it works in my Cursor IDE.

@andreasmcdermott
Copy link
Member

Hi @steveclarke! Thanks for opening this PR! I will review it shortly, but I just added a new github action to run some checks (linting, type checks, tests) on all PRs automatically to simplify reviews. Could you rebase your PR on latest main to ensure they run. Thank you!

@andreasmcdermott
Copy link
Member

@steveclarke Thanks for rebasing. Seems like you have some formatting errors. Running npm run format should fix that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants