Skip to main content
Glama

@web-resurrect/mcp

npm version AI Skill

MCP (Model Context Protocol) server for the Web Resurrect API. Lets AI assistants like Claude resurrect expired domains: fetch archived URLs, scrape content, rewrite with AI, generate images, and publish to WordPress.

šŸ¤– AI Agent Skill (full pipeline)

The unified web-resurrect skill covers the entire workflow from A to Z (project creation → SEO enrichment → Wayback scraping → rewriting → AI categorization → WordPress publishing → redirects), with all known tips and pitfalls. It works equally well with this MCP server as it does with the wr CLI, and contains a complete mapping table between the two modes.

Compatible with Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, Windsurf and 40+ other agents via npx skills:

# Install globalement pour tous tes projets
npx skills add MattiooFR/web-resurrect-skill -g

# Ou uniquement pour le projet courant
npx skills add MattiooFR/web-resurrect-skill

Once installed, simply ask your agent:

"Resurrect the domain example.com"

And it will automatically follow the complete pipeline using the mcp__web_resurrect__* MCP tools from this server.

Skill source: github.com/MattiooFR/web-resurrect-skill

Related MCP server: WordPress MCP Server

Quick start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "web-resurrect": {
      "command": "npx",
      "args": ["-y", "@web-resurrect/mcp"],
      "env": {
        "WEB_RESURRECT_API_KEY": "wr_live_xxx"
      }
    }
  }
}

Claude Code

claude mcp add web-resurrect -e WEB_RESURRECT_API_KEY=wr_live_xxx -- npx -y @web-resurrect/mcp

Local development

cd packages/mcp
npm install
npm run build
WEB_RESURRECT_API_KEY=wr_live_xxx node dist/index.js

Environment variables

Variable

Required

Default

Description

WEB_RESURRECT_API_KEY

Yes

—

API key (wr_live_xxx). Get one from your dashboard.

WEB_RESURRECT_BASE_URL

No

https://web-resurrect.com

API base URL (for self-hosted or staging).

Available tools

Credits

  • get_credits — Get current credit balance and account info

Projects

  • create_project — Create a project for an expired domain (starts URL fetching)

  • list_projects — List all projects with page counts

  • get_project — Get project details and stats

  • delete_project — Delete a project and all its pages

Pages

  • 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).

  • get_page — Get full page details (scrape, rewrite, SEO, WordPress status)

Scraping

  • scrape_page — Scrape a page from the Wayback Machine (1 credit)

  • scrape_bulk — Scrape multiple pages (1 credit each, max 100)

SEO Enrichment

  • enrich_project — Enrich with Haloscan (free) and/or Majestic (10 credits)

Rewriting

  • 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).

  • 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.

Image Generation

  • generate_image — Generate AI featured image (1 credit)

  • generate_image_bulk — Generate images for multiple pages (1 credit each, max 50)

Categorization

  • categorize_page — AI-suggest a WordPress category for a page (free)

WordPress

  • wordpress_plugin_check — Check if WP plugin is installed

  • wordpress_configure — Configure WordPress credentials (plugin or basic_auth)

  • wordpress_validate — Validate WordPress connection

  • wordpress_categories — List WordPress categories

  • wordpress_authors — List WordPress authors

  • wordpress_publish — Publish a page to WordPress (free, original URLs preserved in plugin mode)

  • wordpress_publish_bulk — Publish multiple pages (free, supports plugin and Basic Auth modes)

  • export_redirects — Export URL mappings to file (only needed for Basic Auth mode)

Jobs

  • get_job — Get job status, progress, and result

  • 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.

  • list_jobs — List recent jobs with filters

  • cancel_job — Cancel a pending job

Overview

  • get_project_overview — Single-call pipeline status: pending/scraped/rewritten/published counts, Wisewand pipeline state, SEO totals. Replaces several list_pages calls.

Typical workflow

  1. create_project with a domain -> get job_id

  2. get_job to wait for URL fetching to complete

  3. enrich_project with Haloscan for SEO data

  4. list_pages sorted by total_traffic to find best pages

  5. scrape_bulk the top pages

  6. rewrite_bulk the scraped pages

  7. generate_image_bulk for rewritten pages

  8. wordpress_configure your WordPress site

  9. wordpress_publish_bulk to publish everything (original URLs preserved in plugin mode, URL mappings pushed automatically)

  10. Non-published URLs automatically 301 to homepage (via plugin catch-all)

Credit costs

Action

Cost

Create project + URL fetching

Free

Haloscan enrichment

Free

Majestic enrichment (backlinks)

10 credits

Scrape a page

1 credit

Rewrite (basic)

1 credit

Rewrite (Wisewand)

5 credits (1 with own key)

Image generation

1 credit

AI categorization

Free

WordPress publish

Free

Available Tools

33 tools
cancel_jobA

Cancel a pending or processing job. Credits reserved but not yet used will be refunded.

Inputs: job_id (required).

categorize_pagesA

AI-suggest WordPress categories for 1–50 pages based on their content. Free. Saves the assigned category to each page in the database. PREREQUISITE: Configure the category-to-author mapping with wordpress_set_mapping BEFORE categorizing. To categorize a full project: use list_pages with status='scraped' or status='rewritten' to get page IDs, then call this tool in batches of 50.

Inputs: page_ids (required), wordpress_domain (required).

create_projectA

Create a new project for an expired domain. Automatically starts fetching archived URLs from the Wayback Machine. Returns a job_id to track URL fetching progress.

Inputs: domain (required), name.

delete_projectA

Delete a project and all its pages (cascade). This action is irreversible.

Inputs: project_id (required).

enrich_projectA

Enrich a project with SEO data. BEST PRACTICE: ALWAYS use both sources ["haloscan", "majestic"] together to get the full picture — Haloscan provides traffic estimates and keyword rankings (free), Majestic provides backlink profiles (10 credits). Having both datasets is essential to make informed decisions about which pages are worth resurrecting. Without Majestic, you miss backlink data which is critical for SEO value assessment.

šŸ”“ GOLDEN RULE OF AN AUTONOMOUS RESURRECTION: enrich_project is what makes the rest of the pipeline efficient. Right after this completes, EVERY scrape_bulk and rewrite_bulk call must pass has_data='any' (traffic OR backlinks) or has_data='haloscan' (traffic OR keywords only). Without that filter you'll scrape thousands of zero-value pages and waste the user's credits. A page with 0 traffic, 0 keywords, AND 0 backlinks will never rank in SERP again — there is no point resurrecting it.

Inputs: project_id (required), sources.

export_redirectsA

Export URL mappings (old URLs → new WordPress URLs) for all published pages. In plugin mode, URL mappings are pushed automatically during publish (posts are served at original URLs). This tool is only needed for Basic Auth mode to generate import files for the Redirection plugin (John Godley) or Rank Math. IMPORTANT: Save the output to a file on the user's computer.

Inputs: project_id (required), format.

generate_imageA

Generate an AI featured image for a page. Costs 1 credit. The page must be rewritten first. Returns a job_id. IMPORTANT: Always generate a featured image after rewriting — a page without an image looks incomplete and unprofessional when published on WordPress.

Inputs: page_id (required).

generate_image_bulkA

Generate AI featured images for multiple pages. Costs 1 credit per page. Max 50 pages. Returns a job_id. IMPORTANT: Always generate images after rewriting — pages without featured images look incomplete on WordPress.

Inputs: page_ids (required).

get_creditsA

Get current credit balance, email, and account info

Inputs: no named parameters.

get_jobA

Get the status, progress, result, and credit usage of an async job

Inputs: job_id (required).

get_pageA

Get full page details: scrape status, rewrite status, SEO data (traffic, keywords, backlinks), WordPress publish status, and featured image

Inputs: page_id (required).

get_page_contentA

Fetch the rewritten content (title + HTML + meta) for a page. Returns source='wisewand' or 'openai'. Use this when you need to inspect or export the rewrite before publishing.

Inputs: page_id (required).

get_projectA

Get project details including stats (page counts, scrape/rewrite/publish progress)

Inputs: project_id (required).

get_project_overviewA

Single-call pipeline status for a project: counts for pending / scraped / scrape_failed / scrape_empty / rewritten / wisewand_pending / wisewand_completed / wisewand_failed / published pages, plus SEO totals (traffic, keywords, backlinks) and scrape/rewrite/publish progress percentages. Use this at any decision point to know what stage the project is at without making multiple list_pages calls.

Inputs: project_id (required).

list_jobsC

List recent jobs with optional status and type filters

Inputs: status, type, page, limit.

list_pagesA

List pages of a project with optional filters, search, sorting, and pagination. TIP: After enrichment, sort by total_traffic (desc) or backlinks_count (desc) to identify the most valuable pages to resurrect first. Each page carries a source field: 'wayback' (default, scrapeable from the archive) or 'haloscan' (discovered via Haloscan, no Wayback snapshot — Wisewand-rewrite only, cannot be scraped).

Inputs: project_id (required), status, source, has_data, +6 more.

list_projectsB

List all projects with their page counts

Inputs: page, limit.

push_redirectsA

Push URL redirects to the WordPress plugin. Requires the Web Resurrect plugin (not Basic Auth). Two modes:

  1. WITHOUT urls parameter: pushes ALL project pages at once. Published pages are served at their original URLs. Non-published pages get a 301 redirect (to homepage by default, or to redirect_to if specified). WARNING: This replaces all existing redirects in the plugin. Make sure pages like /contact, /mentions-legales, /politique-de-confidentialite etc. are excluded from the project or already published before running this, otherwise they will be redirected to the homepage too.

  2. WITH urls parameter: only redirects the specified URLs (added individually, does NOT replace existing redirects). Useful to selectively redirect specific old URLs.

Call this after publishing to ensure all old URLs are properly handled.

Inputs: project_id (required), wordpress_domain (required), urls, redirect_to.

rewrite_bulkA

Rewrite multiple pages in one job. Basic mode (1 credit/page) covers SCRAPED pages only. Wisewand mode (wisewand=true, 5 credits/page or 1 with own key) covers scraped pages + Haloscan-origin + scrape-FAILED/EMPTY pages (automatic synthetic-content fallback from slug + keywords). Max 50 pages per batch. Returns a job_id. Response breakdown: haloscan_count + wayback_count + scrape_failed_count.

šŸ”“ ABSOLUTE RULE: Only rewrite pages that had SEO value before. Always pre-filter with list_pages(has_data='any') (traffic OR backlinks) or has_data='haloscan' (traffic OR keywords) and pass those page_ids here. Rewriting zero-value pages is a credit waste — they will never rank again.

🚨 USER-DECISION RULE for Haloscan-only / scrape-failed / empty pages: these pages cannot be rewritten in basic mode. The ONLY option is Wisewand (5 credits/page shared, 1 with own key, 2-4 HOURS duration). DO NOT auto-include them — surface the count + total credit cost + duration to the user FIRST and ask whether to (a) include them via Wisewand or (b) skip. Find them with list_pages(status='haloscan' OR status='failed' OR status='empty', has_data='any').

TIP: to queue a Wisewand rewrite of every eligible page in a project (after user approval), call list_pages with status='rewritable_wisewand' AND has_data='any' first — that combination keeps the SEO-valuable pages and includes Haloscan-only + scrape-failed ones so no high-traffic page is left behind.

Inputs: page_ids (required), wisewand, wisewand_api_key, article_params.

rewrite_pageA

Rewrite a page. By default uses basic rewriting on a scraped page (1 credit). Add wisewand=true for premium SEO-optimized content (5 credits, 1 credit with your own Wisewand API key). WISEWAND MODE AUTO-FALLS-BACK to synthetic content (slug + ranked keywords) when the page has no scraped content — this covers (a) Haloscan-origin pages with no Wayback snapshot AND (b) Wayback pages where scrape FAILED or returned EMPTY. Basic mode still requires a scraped page. Returns a job_id.

Inputs: page_id (required), wisewand, instructions, subject, +2 more.

scrape_bulkA

Scrape multiple pages at once. Costs 1 credit per page. Max 100 pages. Returns a job_id. IMPORTANT: Scraping is the mandatory first step — pages must be scraped before rewriting or generating images. You can either pass page_ids directly, or pass project_id to auto-select pending pages (optionally filtered by has_data).

šŸ”“ ABSOLUTE RULE: NEVER scrape an entire project blindly. AFTER enrich_project completes, ALWAYS pass has_data='any' (traffic OR backlinks, recommended) or has_data='haloscan' (traffic OR keywords only) so you ONLY scrape pages that had real SEO value before the domain expired. A page with 0 traffic, 0 keywords, AND 0 backlinks will never rank again — scraping it is a credit waste.

The right autonomous flow is:

  1. enrich_project(project_id, sources=["haloscan","majestic"])

  2. wait_for_job

  3. scrape_bulk(project_id, has_data='any', limit=100) ← THE FILTER IS NON-OPTIONAL

  4. wait_for_job

  5. Repeat scrape_bulk until no more pending pages with SEO data.

Inputs: page_ids, project_id, has_data, limit, +2 more.

scrape_pageA

Scrape a single page from the Wayback Machine archive. Costs 1 credit. Returns a job_id for async tracking. IMPORTANT: Scraping is the mandatory first step before rewriting or generating images — a page must be scraped before any other processing.

Inputs: page_id (required), content_type.

update_pageA

Update a page's WordPress category, author, or post link. Use this to (a) manually set category/author after categorization, (b) attach a manually-created WordPress post back to the page via wordpress_post_id — essential when the publish pipeline was bypassed but redirects export still needs the mapping. Set any field to null to clear.

Inputs: page_id (required), category_id, category_name, author_id, +2 more.

wait_for_jobA

Block until an async job reaches a terminal state (completed / failed / cancelled), polling server-side so you do not have to loop get_job yourself. USE THIS AFTER EVERY ASYNC CALL — it is the single most important tool for autonomous operation.

Typical durations:

  • URL fetching (create_project): 10-60s

  • Haloscan/Majestic enrichment: 30-180s

  • Scrape single page: 10-30s

  • Scrape bulk (50 pages): 2-5 min

  • Basic rewrite: 10-30s

  • Wisewand rewrite: 2-4 HOURS (use a long timeout or poll get_job periodically)

  • Image generation: 20-60s

  • WordPress publish bulk: 1-3 min

If the job is still running when timeout_seconds elapses, the tool returns the current progress with timed_out=true — call wait_for_job again or switch to get_job polling for very long Wisewand jobs.

Inputs: job_id (required), timeout_seconds, poll_interval_seconds.

wordpress_authorsB

List WordPress authors for a configured domain

Inputs: domain (required).

wordpress_categoriesB

List WordPress categories for a configured domain

Inputs: domain (required).

wordpress_configureA

Configure WordPress connection. Two modes: Plugin (recommended, set mode='plugin') or Basic Auth (provide username + app_password).

Inputs: site_url (required), mode, username, app_password, +1 more.

wordpress_get_mappingA

Get the current category-to-author mapping for a WordPress domain. This mapping determines which author is automatically assigned when publishing a page with a given category.

Inputs: domain (required).

wordpress_plugin_checkB

Check if the Web Resurrect Connector plugin is installed on a WordPress site. Also returns categories and authors if connected.

Inputs: domain (required).

wordpress_publishA

Publish a page to WordPress. Async operation, returns a job_id. Free (no credit cost). When using the Web Resurrect plugin, the original URL is preserved (e.g. /chaussures/basket-rouge.html serves the post directly at that URL, no redirect). URL mappings are pushed automatically.

Inputs: page_id (required), wordpress_domain (required), category_id, author_id, +4 more.

wordpress_publish_bulkA

Publish multiple pages to WordPress at once. Returns a job_id. Free. Supports both plugin mode and Basic Auth mode. In plugin mode, original URLs are preserved and URL mappings are pushed automatically.

Inputs: page_ids (required), wordpress_domain (required), category_id, author_id, +4 more.

wordpress_set_mappingA

Configure the category-to-author mapping for a WordPress domain. IMPORTANT: This must be done BEFORE categorizing or publishing pages.

The mapping tells the system which author to assign for each category when publishing. Example: if category "Mode" (ID 5) should be authored by "Ɖlise" (ID 3), set mappings: [{ category_id: 5, author_id: 3 }].

Workflow:

  1. wordpress_categories — list available categories

  2. wordpress_authors — list available authors

  3. wordpress_set_mapping — configure which author writes for which category

  4. categorize_pages — AI-categorize pages (saves category to each page)

  5. wordpress_publish or wordpress_publish_bulk — author is auto-resolved from mapping

Inputs: domain (required), mappings (required), default_author_id, default_category_id.

wordpress_validateA

Validate an existing WordPress connection. Tests that the credentials work and the site is reachable.

Inputs: domain (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 33 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, covering specific actions like scraping, rewriting, publishing, and job management. Despite many tools, overlapping functions are distinguished by single vs. batch operations (e.g., scrape_page vs. scrape_bulk) or different stages (e.g., get_page vs. get_page_content). Descriptions are detailed, preventing confusion.

    Naming Consistency5/5

    Tool names consistently follow a verb_noun pattern with underscores (e.g., create_project, list_pages, rewrite_bulk). WordPress-related tools share a wordpress_ prefix. The only minor deviation is wait_for_job instead of wait_job, but it remains predictable. Overall, naming is highly uniform.

    Tool Count4/5

    With 33 tools, the set is large but each tool serves a specific need in the complex resurrection pipeline (scraping, rewriting, SEO enrichment, WordPress integration, job management). The count is slightly high but still well-scoped; no tool feels redundant given the fine-grained control required.

    Completeness5/5

    The tool set covers the entire lifecycle: project creation, URL discovery, SEO enrichment, scraping, rewriting, image generation, categorization, WordPress connection and mapping, publishing with redirects, job tracking, and credit management. No obvious gaps exist; the pipeline is fully supported from start to finish.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers