Skip to main content
Glama

MCP File Preview Server

preview_file

Preview local HTML files and capture full-page screenshots using specified viewport dimensions. Analyze file structure with the MCP File Preview Server.

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" }

You must be authenticated.

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