
截图
STDIO使用Puppeteer的网页截图服务器
使用Puppeteer的网页截图服务器
An MCP server implementation that provides screenshot functionality using Puppeteer. This server allows capturing screenshots of web pages and local HTML files through a simple MCP tool interface.
npm install
The server provides a take_screenshot
tool with the following options:
{ url: string; // URL to capture (can be http://, https://, or file:///) width?: number; // Viewport width in pixels (1-3840) height?: number; // Viewport height in pixels (1-2160) fullPage?: boolean; // Capture full scrollable page outputPath?: string; // Custom output path (optional) }
# Build the project npm run build # Run the MCP inspector for testing npm run inspector
MIT