Puppeteer截图工具添加福利群:解决AI开发者的「MCP实战痛点」这是一个使用 Puppeteer 提供截图功能的 MCP 服务器实现。该服务器允许通过简单的 MCP 工具界面捕获网页和本地 HTML 文件的截图。
npm install
服务器提供了一个 take_screenshot 工具,具有以下选项:
{
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