diff --git a/internal/mcpserver/server.go b/internal/mcpserver/server.go index a7e4abe..ad52342 100644 --- a/internal/mcpserver/server.go +++ b/internal/mcpserver/server.go @@ -19,9 +19,6 @@ const mcpAppMIMEType = "text/html;profile=mcp-app" //go:embed widget/app.html var widgetHTML string -//go:embed widget/app.js -var widgetJS string - // serverInstructions is surfaced to connected MCP hosts to guide tool use. const serverInstructions = `SaltyBytes finds REAL recipes from around the web and manages the user's saved recipe collection. Typical flow: search_recipes to find candidates -> preview_recipe on the chosen result -> save_recipe when the user wants to keep it. @@ -33,9 +30,6 @@ Every tool renders an interactive widget in the conversation; prefer letting the // CSP blocks an external image. func widgetResourceMeta(cfg *config.Config) mcp.Meta { resourceDomains := []string{ - // The widget's own JavaScript is served from the API origin (ChatGPT's - // sandbox blocks inline scripts, so app.html loads it via +