Skip to main content
Glama

MCP File Preview Server

preview_file

Preview and generate screenshots of local HTML files by specifying file path and viewport dimensions. Enables quick visualization and analysis of HTML content for testing and development purposes.

Instructions

Preview local HTML file and capture screenshot

Input Schema

NameRequiredDescriptionDefault
filePathYesPath to local HTML file
heightNoViewport height
widthNoViewport width

Input Schema (JSON Schema)

{ "properties": { "filePath": { "description": "Path to local HTML file", "type": "string" }, "height": { "default": 768, "description": "Viewport height", "type": "number" }, "width": { "default": 1024, "description": "Viewport width", "type": "number" } }, "required": [ "filePath" ], "type": "object" }

Other Tools from MCP File Preview Server

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/seanivore/mcp-file-preview'

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