{
  "markdown": "# @web-resurrect/mcp\n\n[![npm version](https://img.shields.io/npm/v/@web-resurrect/mcp.svg)](https://www.npmjs.com/package/@web-resurrect/mcp)\n[![AI Skill](https://img.shields.io/badge/AI%20Skill-web--resurrect-blueviolet)](https://github.com/MattiooFR/web-resurrect-skill)\n\nMCP (Model Context Protocol) server for the [Web Resurrect](https://web-resurrect.com) API. Lets AI assistants like Claude resurrect expired domains: fetch archived URLs, scrape content, rewrite with AI, generate images, and publish to WordPress.\n\n## 🤖 AI Agent Skill (pipeline complet)\n\nLe **skill unifié `web-resurrect`** couvre tout le workflow de A à Z (création projet → enrichissement SEO → scraping Wayback → réécriture → catégorisation AI → publication WordPress → redirections), avec toutes les astuces et pièges connus. Il fonctionne aussi bien avec ce MCP server qu'avec la CLI `wr`, et contient une table de correspondance complète entre les deux modes.\n\nCompatible avec **Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, Windsurf** et 40+ autres agents via [`npx skills`](https://github.com/vercel-labs/skills) :\n\n```bash\n# Install globalement pour tous tes projets\nnpx skills add MattiooFR/web-resurrect-skill -g\n\n# Ou uniquement pour le projet courant\nnpx skills add MattiooFR/web-resurrect-skill\n```\n\nUne fois installé, demande simplement à ton agent :\n\n> \"Ressuscite le domaine exemple.com\"\n\nEt il suivra automatiquement le pipeline complet en utilisant les outils MCP `mcp__web_resurrect__*` de ce serveur.\n\n**Source du skill** : [github.com/MattiooFR/web-resurrect-skill](https://github.com/MattiooFR/web-resurrect-skill)\n\n## Quick start\n\n### Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"web-resurrect\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@web-resurrect/mcp\"],\n      \"env\": {\n        \"WEB_RESURRECT_API_KEY\": \"wr_live_xxx\"\n      }\n    }\n  }\n}\n```\n\n### Claude Code\n\n```bash\nclaude mcp add web-resurrect -e WEB_RESURRECT_API_KEY=wr_live_xxx -- npx -y @web-resurrect/mcp\n```\n\n### Local development\n\n```bash\ncd packages/mcp\nnpm install\nnpm run build\nWEB_RESURRECT_API_KEY=wr_live_xxx node dist/index.js\n```\n\n## Environment variables\n\n| Variable | Required | Default | Description |\n|---|---|---|---|\n| `WEB_RESURRECT_API_KEY` | Yes | — | API key (`wr_live_xxx`). Get one from your [dashboard](https://web-resurrect.com/dashboard). |\n| `WEB_RESURRECT_BASE_URL` | No | `https://web-resurrect.com` | API base URL (for self-hosted or staging). |\n\n## Available tools\n\n### Credits\n- **get_credits** — Get current credit balance and account info\n\n### Projects\n- **create_project** — Create a project for an expired domain (starts URL fetching)\n- **list_projects** — List all projects with page counts\n- **get_project** — Get project details and stats\n- **delete_project** — Delete a project and all its pages\n\n### Pages\n- **list_pages** — List pages with status/source/search filters, sorting, pagination. Each page exposes a `source` field: `wayback` (default, scrapeable from archive) or `haloscan` (discovered via Haloscan, no snapshot — Wisewand-rewrite only).\n- **get_page** — Get full page details (scrape, rewrite, SEO, WordPress status)\n\n### Scraping\n- **scrape_page** — Scrape a page from the Wayback Machine (1 credit)\n- **scrape_bulk** — Scrape multiple pages (1 credit each, max 100)\n\n### SEO Enrichment\n- **enrich_project** — Enrich with Haloscan (free) and/or Majestic (10 credits)\n\n### Rewriting\n- **rewrite_page** — Rewrite a page (basic default 1 credit, add `wisewand=true` for premium 5 credits / 1 with own key). Wisewand mode also accepts Haloscan-origin pages (no scrape required).\n- **rewrite_bulk** — Rewrite multiple pages (same options, max 50). In Wisewand mode, mixes scraped + Haloscan-origin pages; use `list_pages` with `status='rewritable_wisewand'` to fetch everything rewritable in one call, or `status='haloscan'` to target only Haloscan-origin pages.\n\n### Image Generation\n- **generate_image** — Generate AI featured image (1 credit)\n- **generate_image_bulk** — Generate images for multiple pages (1 credit each, max 50)\n\n### Categorization\n- **categorize_page** — AI-suggest a WordPress category for a page (free)\n\n### WordPress\n- **wordpress_plugin_check** — Check if WP plugin is installed\n- **wordpress_configure** — Configure WordPress credentials (plugin or basic_auth)\n- **wordpress_validate** — Validate WordPress connection\n- **wordpress_categories** — List WordPress categories\n- **wordpress_authors** — List WordPress authors\n- **wordpress_publish** — Publish a page to WordPress (free, original URLs preserved in plugin mode)\n- **wordpress_publish_bulk** — Publish multiple pages (free, supports plugin and Basic Auth modes)\n- **export_redirects** — Export URL mappings to file (only needed for Basic Auth mode)\n\n### Jobs\n- **get_job** — Get job status, progress, and result\n- **wait_for_job** — Block until a job reaches a terminal state (server-side polling). USE THIS AFTER EVERY ASYNC CALL for autonomous pipelines — no more manual polling loops.\n- **list_jobs** — List recent jobs with filters\n- **cancel_job** — Cancel a pending job\n\n### Overview\n- **get_project_overview** — Single-call pipeline status: pending/scraped/rewritten/published counts, Wisewand pipeline state, SEO totals. Replaces several list_pages calls.\n\n## Typical workflow\n\n1. `create_project` with a domain -> get `job_id`\n2. `get_job` to wait for URL fetching to complete\n3. `enrich_project` with Haloscan for SEO data\n4. `list_pages` sorted by `total_traffic` to find best pages\n5. `scrape_bulk` the top pages\n6. `rewrite_bulk` the scraped pages\n7. `generate_image_bulk` for rewritten pages\n8. `wordpress_configure` your WordPress site\n9. `wordpress_publish_bulk` to publish everything (original URLs preserved in plugin mode, URL mappings pushed automatically)\n10. Non-published URLs automatically 301 to homepage (via plugin catch-all)\n\n## Credit costs\n\n| Action | Cost |\n|---|---|\n| Create project + URL fetching | Free |\n| Haloscan enrichment | Free |\n| Majestic enrichment (backlinks) | 10 credits |\n| Scrape a page | 1 credit |\n| Rewrite (basic) | 1 credit |\n| Rewrite (Wisewand) | 5 credits (1 with own key) |\n| Image generation | 1 credit |\n| AI categorization | Free |\n| WordPress publish | Free |\n",
  "bytes": 6281,
  "sha": "32b57e88f6c9f2e1526f8f5d75367dbc161af15afd31da8544e08caac401502d",
  "repo_slug": "web-resurrect/mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_web_resurrect_mcp_2295337d/readme"
}