Skip to main content
Glama

show_browser

Brings the Strudel.cc browser window to the foreground to provide visual feedback during AI-powered music generation and live coding sessions.

Instructions

Bring browser window to foreground for visual feedback

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler implementation that brings the Playwright-controlled browser window to the foreground using page.bringToFront().
    async showBrowser(): Promise<string> { if (!this._page) { throw new Error('Browser not initialized. Run init tool first.'); } try { await this._page.bringToFront(); return 'Browser window brought to foreground'; } catch (error: any) { this.logger.error('Failed to show browser', error); throw new Error(`Failed to show browser: ${error.message}`); } }
  • MCP tool registration defining the show_browser tool with empty input schema (no parameters required).
    name: 'show_browser', description: 'Bring browser window to foreground for visual feedback', inputSchema: { type: 'object', properties: {} } },
  • Server-side tool dispatcher that validates initialization state and delegates to StrudelController.showBrowser().
    case 'show_browser': if (!this.isInitialized) { return 'Browser not initialized. Run init first.'; } return await this.controller.showBrowser();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/williamzujkowski/strudel-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server