Skip to main content
Glama

Browser Agent MCP

browser_set_viewport

Adjust browser viewport dimensions and scaling to simulate different screen sizes or devices for testing and responsive design optimization.

Instructions

Change the browser's viewport size and scale factor

Input Schema

NameRequiredDescriptionDefault
deviceScaleFactorNoDevice scale factor (affects how content is scaled)
heightNoViewport height in pixels
widthNoViewport width in pixels

Input Schema (JSON Schema)

{ "properties": { "deviceScaleFactor": { "description": "Device scale factor (affects how content is scaled)", "type": "number" }, "height": { "description": "Viewport height in pixels", "type": "number" }, "width": { "description": "Viewport width in pixels", "type": "number" } }, "required": [], "type": "object" }
Install Server

Other Tools from Browser Agent MCP

Related Tools

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/imprvhub/mcp-browser-agent'

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