Skip to content

fix(muster): call workflow tools through the call_tool meta-tool#1743

Merged
teemow merged 3 commits into
mainfrom
fix-muster-metatools
Jun 11, 2026
Merged

fix(muster): call workflow tools through the call_tool meta-tool#1743
teemow merged 3 commits into
mainfrom
fix-muster-metatools

Conversation

@teemow

@teemow teemow commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • The /muster Workflows page failed against real muster servers with tool 'core_workflow_list' not found: tool not found: the muster aggregator only exposes its meta-tools (list_tools, call_tool, ...) over MCP, so the four core_workflow_* tools are not directly callable.
  • The muster-backend proxy now invokes the workflow tools through the call_tool meta-tool and unwraps its result envelope (the target tool's MCP result serialized as JSON inside the meta-tool's text content block), with a fallback for servers that expose tools directly.

Verified against muster.gazelle.awsprod.gigantic.io/mcp: tools/list returns only the 11 meta-tools, direct tools/call core_workflow_list returns -32602 tool not found, and call_tool with {name: "core_workflow_list"} returns the workflow list. The same meta-tools-only surface applies to local muster instances.

Follow-up to #1735/#1738/#1740 — with per-user auth working and the SSE interop hang fixed, this was the remaining blocker for the Workflows page.

Test plan

Made with Cursor

The muster aggregator only exposes its meta-tools (list_tools,
call_tool, ...) over MCP; concrete tools like core_workflow_list are
not directly callable, so every workflow endpoint failed with
"tool 'core_workflow_list' not found: tool not found" against real
muster servers. Invoke the workflow tools through the call_tool
meta-tool and unwrap its result envelope (with a fallback for servers
that expose tools directly).

Co-authored-by: Cursor <cursoragent@cursor.com>
@teemow teemow requested a review from a team as a code owner June 11, 2026 12:04
teemow and others added 2 commits June 11, 2026 14:09
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@teemow teemow merged commit 95d1e6e into main Jun 11, 2026
9 checks passed
@teemow teemow deleted the fix-muster-metatools branch June 11, 2026 12:39
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