page-image-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@page-image-mcp generate site images for https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
page-image-mcp
MCP server que lê um site página por página e gera uma imagem coesa com o tema de cada página — sem nenhum texto e sem rostos humanos reconhecíveis.
Setup
cd /Users/pastorello/Desktop/MCP
npm install
npm run buildA geração de imagem usa uma instância local do
Draw Things rodando o modelo Flux Schnell
quantizado. Não precisa de API key nem de internet para gerar — mas o app
Draw Things precisa estar aberto com o servidor de API habilitado em
http://127.0.0.1:7860 antes de rodar qualquer tool deste MCP.
Os detectores locais de rosto/texto (scripts/detect_face.py,
scripts/detect_text.py) rodam via OpenCV num virtualenv próprio, não
versionado:
python3 -m venv venv-facedetect
venv-facedetect/bin/pip install opencv-python numpyEles também esperam dois arquivos de modelo em models/ (não versionados
por serem binários grandes — o EAST detector tem ~92MB):
models/face_detection_yunet.onnx— OpenCV Zoo, face_detection_yunetmodels/frozen_east_text_detection.pb— modelo EAST de detecção de texto
Related MCP server: Imagen
Registrar no Claude Code
claude mcp add page-image-mcp -- node /Users/pastorello/Desktop/MCP/dist/index.jsTools
list_pages
{ url, maxPages }— descobre as páginas do site viasitemap.xml(com fallback para crawl same-origin por links).generate_page_image
{ url, outDir?, styleHint?, size? }— lê uma página e gera 1 imagem coesa com o conteúdo dela.generate_site_images
{ url, maxPages?, outDir?, styleHint?, size? }— roda o fluxo completo: descobre páginas + gera 1 imagem por página.
Imagens são salvas em ~/Desktop/MCP/output por padrão.
Como a restrição "sem texto / sem rosto" é aplicada
O prompt enviado ao modelo de geração de imagem (via Draw Things) inclui instruções rígidas, sempre anexadas ao tema da página:
proibição explícita de letras, números, palavras, logos, legendas, marcas d'água;
proibição de rostos humanos reconhecíveis — pessoas só podem aparecer como silhuetas distantes ou de costas;
proibição de UI/screenshots.
Ver src/prompt.ts para o texto exato.
Available Tools
3 toolsgenerate_page_imageGenerate cohesive images for one pageA
Reads a single web page, extracts its theme/content, and generates two cohesive images representing it (16:9 landscape and 9:16 portrait) via a local Draw Things instance (Flux Schnell, must be running with its API server enabled on http://127.0.0.1:7860 — no cloud dependency, no API key), saved into a folder named after the page title. The prompt forbids text and human faces, and two local offline detectors (OpenCV YuNet for faces, EAST for text) verify each result, retrying with a new seed up to 3 times if either is detected.
Inputs: url (required), outDir, styleHint.
generate_site_imagesGenerate cohesive images for an entire siteA
Discovers pages for a site and generates a folder per page (named after the page title), each containing a 16:9 and a 9:16 cohesive image, via a local Draw Things instance (Flux Schnell, must be running with its API server enabled on http://127.0.0.1:7860 — no cloud dependency, no API key), verified against local face and text detectors with automatic retry. Use with a reasonable maxPages to control run time.
Inputs: url (required), outDir, maxPages, styleHint.
list_pagesList site pagesA
Discovers pages for a website starting from a URL, preferring sitemap.xml and falling back to a same-origin crawl. Returns a list of page URLs.
Inputs: url (required), maxPages.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: generating images for a single page, generating images for multiple pages, and discovering page URLs. No overlap exists.
All tool names follow a consistent verb_noun pattern (generate_page_image, generate_site_images, list_pages) using snake_case.
Three tools is well-scoped for a focused image-generation server—neither too few nor too many.
The tool set covers the full workflow: discover pages, generate images for a single page, and generate images for an entire site. No obvious gaps for its purpose.
Related MCP Connectors
Desktop and mobile website screenshots plus page context for AI agents and automation workflows.
Website screenshots for AI agents: real Chrome, ad/cookie/chat blocking, bot-wall detection.
Captured web interfaces, screenshots, flows and structured evidence for AI coding agents.
Capture websites as PNG, JPEG, WebP or PDF, extract their content, or analyse them with AI.
Related MCP Servers
- AlicenseAqualityDmaintenanceAnalyzes webpage screenshots to extract precise layout information by locating image assets and calculating spatial relationships, enabling AI assistants to accurately recreate layouts with proper semantic structure using computer vision.37MIT
- ISC
- MIT
- AlicenseAqualityDmaintenanceIt generates blogpost images, thumbnails, social post images just from the title.36 npmMIT