XcodeBuildMCP icon indicating copy to clipboard operation
XcodeBuildMCP copied to clipboard

[Feature]: Add Progress Notifications for long-running tools

Open digitarald opened this issue 6 months ago • 4 comments

Feature Description

Build and run actually has multiple steps as the app gets loaded onto the phone. Progress notifications could help to keep the tool and vocation UX updated as it works through its various steps.

https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/progress

Use Cases

  • Improve UX for long-running tasks

Example Interactions

No response

digitarald avatar Jun 09 '25 22:06 digitarald

Yep, I agree, I was chatting to one of the Cursor engineers about this, as there are no good examples of this implemented. This is something I will implement once clients have support for it. But it's at the top of my list of improvements.

cameroncooke avatar Jun 09 '25 22:06 cameroncooke

VS Code supports it since we shipped tools 2 months ago; and it does gracefully fall back for clients that don't support it.

digitarald avatar Jun 10 '25 14:06 digitarald

@digitarald Do you have any examples or documentation in terms of what VSCode expects back from the MCP server along with the progress token?

cameroncooke avatar Jun 10 '25 14:06 cameroncooke

From the spec I linked we show the "message" as our tool calls UX doesn't have a percentage indicator.

The TS SDK doesn't have a progress method, but I am happy to take a stab at adding it here as example.

digitarald avatar Jun 11 '25 01:06 digitarald