Web Resurrect

v1.4.0
io.github.web-resurrect/mcp Checked 3 days ago Published 7 months ago

Resurrect expired domains: scrape Wayback, AI-rewrite, generate images, publish to WordPress.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_credits

Return the current credit balance, account email, and member-since date.

create_project

Create a project for an expired domain. Starts an async URL-fetch job from the Wayback Machine and returns a job_id.

ParameterTypeDescription
domain *stringExpired domain to analyze (e.g. example.fr)
namestringProject name (defaults to domain)

list_projects

List projects with their page counts and pagination.

ParameterTypeDescription
limitintegerItems per page (default 20, max 100)
pageintegerPage number (default 1)

get_project

Get project details including page-count stats and scrape/rewrite/publish progress.

ParameterTypeDescription
project_id *stringProject UUID

delete_project

Delete a project and cascade-delete all its pages. Irreversible.

ParameterTypeDescription
project_id *stringProject UUID

list_pages

List pages of a project with filters, search, sort, and pagination. Each page carries a `source` field: 'wayback' (scrapeable from the archive) or 'haloscan' (no Wayback snapshot, Wisewand-rewrite only). Does not include the rewritten body — use get_page_content for that.

ParameterTypeDescription
project_id *stringProject UUID
exclude_systembooleanExclude legal/info pages (contact, mentions-legales, CGV, CGU, privacy, a-propos, about, sitemap). These are kept in the DB with excluded_from_redirects=true so they remain reachable on the target sit…
has_datastringKeep only pages with SEO data: haloscan (traffic>0 OR keywords), majestic (backlinks>0), any (either).
limitintegerItems per page (default 50, max 100)
orderstringSort order (default desc)
pageintegerPage number (default 1)
searchstringSearch by URL or title
sortstringSort field
sourcestringFilter by page origin. 'wayback' = discovered via the Wayback Machine CDX API. 'haloscan' = discovered via Haloscan with no Wayback snapshot.
statusstringFilter by page status. 'empty' = scraped but no content on Wayback. 'failed' = scrape error. 'haloscan' = Haloscan-origin pages with no Wayback snapshot. 'rewritable_wisewand' = every page eligible fo…

get_page

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

ParameterTypeDescription
page_id *stringPage UUID

update_page

Update a page's WordPress category, author, or post link. Use to (a) override the auto-assigned category/author or (b) attach a manually-created WordPress post via wordpress_post_id so redirect export can map it. Set any field to null to clear.

ParameterTypeDescription
page_id *stringPage UUID
author_idWordPress author ID to assign (null to clear)
category_idWordPress category ID to assign (null to clear)
category_namestring | nullWordPress category name (set alongside category_id)
wordpress_post_idManually link this page to an existing WordPress post ID. Sets posted_to_wordpress=true. Null to clear.
wordpress_post_urlstring | nullWordPress post URL (paired with wordpress_post_id). Null to clear.

get_page_content

Fetch the rewritten content (title + HTML + meta) for a page. Returns source='wisewand' or 'openai'. Page must be in status='rewritten'.

ParameterTypeDescription
page_id *stringPage UUID (must be rewritten)

scrape_page

Scrape a single page from the Wayback Machine archive. Costs 1 credit. Async — returns a job_id. Pages with status='haloscan' have no Wayback snapshot and cannot be scraped (use rewrite_page with wisewand=true instead).

ParameterTypeDescription
page_id *stringPage UUID to scrape
content_typestringContent extraction type (default: article)

scrape_bulk

Scrape multiple pages in one async job. Costs 1 credit per page. Max 100 pages. Returns a job_id. Pass either page_ids directly, or pass project_id to auto-select pending pages (filtered by has_data and excluding system pages by default). Haloscan-origin pages are skipped automatically (no Wayback snapshot).

ParameterTypeDescription
content_typestringContent extraction type (default: article)
exclude_systembooleanSkip legal/info pages (contact, mentions-legales, CGV, privacy, a-propos, ...) when auto-selecting via project_id. Default true.
has_datastringFilter auto-selected pages by SEO data. Requires project_id. haloscan=traffic>0 OR keywords, majestic=backlinks>0, any=either. Pages with zero SEO data will not rank again — filtering avoids wasting…
limitintegerMax pages to scrape when using project_id (default 50)
page_idsarrayArray of page UUIDs to scrape
project_idstringProject UUID — auto-selects pending pages (use instead of page_ids)

enrich_project

Enrich a project with SEO data from Haloscan (free; traffic + keyword rankings) and/or Majestic (10 credits flat; backlinks). Async — returns a job_id. Sources can be combined to get both datasets in a single job.

ParameterTypeDescription
project_id *stringProject UUID
sourcesarrayData sources. Defaults to ["haloscan"]. ["haloscan","majestic"] gives the full SEO picture (traffic + keywords + backlinks).

rewrite_page

Rewrite a single page. Basic mode (default, 1 credit) requires a scraped page. Wisewand mode (wisewand=true, 5 credits or 1 with own key, 2-4 hours) handles scraped pages AND auto-falls-back to synthetic content (slug + ranked keywords) when the page has no scraped content — covers Haloscan-origin and scrape-failed pages. Async — returns a job_id.

ParameterTypeDescription
page_id *stringPage UUID. Must be scraped for basic mode. Wisewand mode also accepts Haloscan-origin pages.
article_paramsobjectAdditional Wisewand parameters (type, lang, country, target_keyword, keywords_secondary, additional_information, etc.). For Haloscan pages these fill in after the AI prep.
instructionsstringCustom rewrite instructions (basic mode only)
subjectstringCustom subject / main keyword (Wisewand mode). Overrides AI extraction. For Haloscan-origin pages, skips the AI prep call.
wisewandbooleanUse Wisewand for premium SEO-optimized rewrite (5 credits, 1 with own key). Required for Haloscan-origin pages.
wisewand_api_keystringCaller's own Wisewand API key (implies wisewand=true, reduces cost to 1 credit)

rewrite_bulk

Rewrite multiple pages in one async job. Basic mode (1 credit/page) covers SCRAPED pages only. Wisewand mode (wisewand=true, 5 credits/page or 1 with own key, 2-4 hours) covers scraped pages plus Haloscan-origin and scrape-failed/empty pages via synthetic-content fallback (slug + keywords). Max 50 pages per batch. Returns a job_id and a breakdown {wayback_count, haloscan_count, scrape_failed_count}.

ParameterTypeDescription
page_ids *arrayArray of page UUIDs to rewrite. Basic mode requires scraped pages; Wisewand mode also accepts Haloscan-origin pages.
article_paramsobjectDefault Wisewand parameters applied to every page (type, lang, country, etc.). For Haloscan-origin pages, per-page AI prep fills in missing fields.
wisewandbooleanUse Wisewand for premium SEO-optimized rewrite (5 credits/page, 1 with own key). Required to include Haloscan-origin pages.
wisewand_api_keystringCaller's own Wisewand API key (implies wisewand=true, reduces cost to 1 credit/page)

generate_image

Generate an AI featured image for a page. Costs 1 credit. The page must be rewritten first. Async — returns a job_id.

ParameterTypeDescription
page_id *stringPage UUID (must be rewritten first)

generate_image_bulk

Generate AI featured images for multiple pages in one async job. 1 credit per page. Max 50 pages. Pages must be rewritten. Returns a job_id.

ParameterTypeDescription
page_ids *arrayArray of page UUIDs (must be rewritten first)

categorize_pages

AI-suggest a WordPress category for 1-50 pages based on content. Free. Saves the assigned category on each page. Requires a category-author mapping (wordpress_set_mapping) to exist for the domain.

ParameterTypeDescription
page_ids *arrayPage UUIDs (1 to 50)
wordpress_domain *stringWordPress domain (e.g. example.com)

wordpress_plugin_check

Check whether the Web Resurrect Connector plugin is installed and active on a WordPress site. Returns categories and authors when connected.

ParameterTypeDescription
domain *stringWordPress domain to check (e.g. example.com)

wordpress_configure

Configure a WordPress connection. Two modes: plugin mode (mode='plugin') uses the Web Resurrect Connector plugin; Basic Auth mode requires username + app_password.

ParameterTypeDescription
site_url *stringWordPress site URL (e.g. https://example.com)
app_passwordstringWordPress application password (Basic Auth only)
modestringSet to 'plugin' for plugin mode. Omit for Basic Auth.
post_as_draftbooleanPublish as draft by default (default: true)
usernamestringWordPress username (Basic Auth only)

wordpress_validate

Validate an existing WordPress connection: tests the credentials and confirms the site is reachable.

ParameterTypeDescription
domain *stringWordPress domain to validate (e.g. example.com)

wordpress_get_mapping

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

ParameterTypeDescription
domain *stringWordPress domain (e.g. example.com)

wordpress_set_mapping

Set the category-to-author mapping for a WordPress domain. Replaces any existing mapping. The mapping is consumed by categorize_pages and the publish tools to auto-resolve the author for each post.

ParameterTypeDescription
domain *stringWordPress domain (e.g. example.com)
mappings *arrayArray of category-to-author mappings
default_author_idintegerDefault author ID when no mapping matches
default_category_idintegerDefault category ID when a page has no category assigned

wordpress_categories

List WordPress categories for a configured domain.

ParameterTypeDescription
domain *stringWordPress domain (e.g. example.com)

wordpress_authors

List WordPress authors for a configured domain.

ParameterTypeDescription
domain *stringWordPress domain (e.g. example.com)

wordpress_publish

Publish a page to WordPress. Async — returns a job_id. Free (no credit cost). In plugin mode the original URL is preserved (no redirect) and the URL mapping is pushed automatically.

ParameterTypeDescription
page_id *stringPage UUID to publish
wordpress_domain *stringTarget WordPress domain
author_idintegerWordPress author ID (overrides mapping)
category_idintegerWordPress category ID (overrides mapping)
post_typestringWordPress post type (default: post)
remove_linksbooleanRemove links from content (default: false)
statusstringPublish status (default: draft)
use_rewritten_contentbooleanUse rewritten content if available (default: true)

wordpress_publish_bulk

Publish multiple pages to WordPress in one async job. Free. Supports plugin mode and Basic Auth mode. Plugin mode preserves original URLs and pushes URL mappings automatically. Returns a job_id.

ParameterTypeDescription
page_ids *arrayArray of page UUIDs to publish
wordpress_domain *stringTarget WordPress domain
author_idintegerWordPress author ID (overrides mapping)
category_idintegerWordPress category ID (overrides mapping)
post_typestringWordPress post type (default: post)
remove_linksbooleanRemove links from content (default: false)
statusstringPublish status (default: draft)
use_rewritten_contentbooleanUse rewritten content if available (default: true)

export_redirects

Export URL mappings (old URL → new WordPress URL) for all published pages. Two formats: 'redirection' (John Godley plugin JSON) or 'rankmath' (Rank Math import). In plugin mode this is unnecessary because URL mappings are pushed automatically during publish.

ParameterTypeDescription
project_id *stringProject UUID
formatstringExport format: 'redirection' (default) or 'rankmath'.

push_redirects

Push URL redirects to the Web Resurrect Connector plugin. Two modes: (a) without `urls`: replaces ALL existing redirects — published pages serve at their original URLs, non-published ones 301 to homepage (or `redirect_to`); (b) with `urls`: redirects only the specified paths and does NOT replace existing redirects.

ParameterTypeDescription
project_id *stringProject UUID
wordpress_domain *stringTarget WordPress domain
redirect_tostringCustom redirect target URL (default: homepage). Example: "https://example.com/new-landing/"
urlsarraySpecific URLs or paths to redirect (e.g. ["/old-page.html", "/category/sub/"]). Omit to redirect all non-published project pages.

get_job

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

ParameterTypeDescription
job_id *stringJob UUID

list_jobs

List recent jobs with optional status and type filters.

ParameterTypeDescription
limitintegerItems per page (default 20)
pageintegerPage number (default 1)
statusstringFilter by job status
typestringFilter by job type (scrape, rewrite, publish, enrich, etc.)

cancel_job

Cancel a pending or processing job. Reserved-but-unused credits are refunded.

ParameterTypeDescription
job_id *stringJob UUID to cancel

wait_for_job

Block until an async job reaches a terminal state (completed / failed / cancelled), polling server-side. Useful after any tool that returns a job_id, in lieu of manually looping get_job. If the job is still running after timeout_seconds, returns the current progress with timed_out=true. 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 publis…

ParameterTypeDescription
job_id *stringJob UUID to wait for
poll_interval_secondsintegerPoll interval (default 5). Larger values reduce API load on long jobs.
timeout_secondsintegerMax time to wait before returning current progress (default 300 = 5 min, max 3600 = 1 hour).

get_project_overview

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.

ParameterTypeDescription
project_id *stringProject UUID