Skip to main content
Glama

browser_close

Terminate the automated browser session to free system resources after completing web page screenshot capture and testing operations.

Instructions

Close the browser instance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the browser_close tool: closes the Puppeteer browser instance if it exists and resets the browserState.
    case 'browser_close': { if (browserState.browser) { await browserState.browser.close(); browserState.browser = null; browserState.page = null; } return { content: [ { type: 'text', text: 'Browser closed', }, ], }; }
  • src/index.ts:132-139 (registration)
    Registration of the browser_close tool in the tools list, specifying name, description, and input schema (empty object).
    { name: 'browser_close', description: 'Close the browser instance', inputSchema: { type: 'object', properties: {}, }, },

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/seabassgonzalez/mcp-browser-screenshot'

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