Skip to content

Feature: Add Workflow Status Updates #5

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 35 commits into
base: main
Choose a base branch
from

Conversation

steveclarke
Copy link
Contributor

This PR adds workflow status management capabilities to the Shortcut MCP server. Users can now view available workflow states for stories and move stories between states directly through the MCP interface.

This completes the features requested in #3

Features Added

  • Get Workflow States: Retrieve all available workflow states for a specific story
  • Move Story to State: Move a story between different workflow states

Implementation Details

  • Added workflow state methods to the ShortcutClientWrapper class:

    • getWorkflowStatesForStory: Retrieves workflow states for a story
    • moveStoryToState: Updates a story's workflow state
  • Implemented corresponding tools in the StoryTools class:

    • get-workflow-states: Tool to retrieve workflow states
    • move-story-to-state: Tool to move stories between states
  • Added comprehensive tests for all new functionality

  • Maintained consistent code style with the existing codebase

I've tested it to work in my Cursor IDE.

@andreasmcdermott
Copy link
Member

As on your other PR @steveclarke, could you please rebase on latest main? Thank you for your contributions!

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