From 48e9154bf24eaaec738f75cb40845b44764fb6fb Mon Sep 17 00:00:00 2001 From: callumalpass Date: Thu, 19 Nov 2026 13:53:14 +1100 Subject: [PATCH] Accept annotations.title on the MCP tool reference page Connect #1528 mirrors each tool's title into annotations.title. The tool reference typed annotations as Record, so astro check fails once the Connect pin moves past v0.1.0-beta.208, and the Connect release update workflow has failed for every release since. Type the parameter as the three hints the page reads. --- src/pages/apps/mcp/tools/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/apps/mcp/tools/index.astro b/src/pages/apps/mcp/tools/index.astro index 08d982f..50a30f6 100644 --- a/src/pages/apps/mcp/tools/index.astro +++ b/src/pages/apps/mcp/tools/index.astro @@ -18,7 +18,7 @@ const groups = [ } ]; -function behaviour(annotations: Record): string { +function behaviour(annotations: { readOnlyHint?: boolean; destructiveHint?: boolean; openWorldHint?: boolean }): string { if (annotations.readOnlyHint) return "Read-only"; if (annotations.destructiveHint) return "Destructive"; if (annotations.openWorldHint) return "Returns a browser link";