mcp

v1.0.3
io.speedvault/mcp Checked 2 days ago Published 6 months ago

Run web performance audits, get code-level fixes, crawl for SEO, and read real-user Core Web Vitals.

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

run_audit Run a performance audit (SpeedVault Metrix)

Run a single-page Lighthouse performance audit on a URL and (by default) wait for it to complete, returning scores (performance/structure), Core Web Vitals (LCP/FCP/TBT/CLS/SI), page weight, and the top prioritized opportunities. Use this on the page you just built or changed. Costs 1 credit. After this, call get_fix_suggestions with the returned auditId for concrete code fixes.

ParameterTypeDescription
url *stringThe absolute URL to audit, e.g. https://example.com/pricing
connectionstringConnection throttling preset. Omit to use the device default.
devicestringEmulated device (default desktop).
locationstringTest region: eu-west (Ireland, default), us-east (Virginia), ap-southeast (Singapore).
timeoutintegerMax seconds to wait when wait=true (default 120).
waitbooleanBlock until the audit finishes (default true).

get_audit Get an audit

Fetch a previously-started audit by id. Set wait=true to block until it completes.

ParameterTypeDescription
auditId *stringThe audit id returned by run_audit.
timeoutintegerMax seconds to wait when wait=true (default 120).
waitbooleanBlock until the audit completes before returning (default false).

list_audits List recent audits

List the most recent audits run via the API for this account.

ParameterTypeDescription
limitintegerHow many to return (default 25).

get_fix_suggestions Get fix suggestions (performance, SEO, or media)

Return prioritized, ACTIONABLE fixes. Two modes: • Performance: pass auditId (a completed run_audit). Each fix has the issue, impact, how to fix it, a code snippet where useful, and estimated savings. • SEO/media: pass crawlId (a completed crawl_site), optionally narrowed with issue_type (e.g. "description-missing", "next-gen-images", "image-alt-missing"). Each fix reports how many pages are affected, example URLs, how to fix it, and a ready-to-apply snippet (e.g. <picture>/WebP, <meta name="description">, alt="", unique <title>). This is what you apply to improve scores. Cached perf fixes…

ParameterTypeDescription
auditIdstringA completed audit id (performance fixes).
crawlIdstringA completed crawl id (site-wide SEO + media fixes).
issue_typestringWith crawlId: target one issue group, e.g. "next-gen-images".

crawl_site Crawl a whole site (SpeedVault Audit)

Start a full-site crawl that aggregates SEO + structure issues across pages (grouped by category/template) and computes a site score. Costs 1 credit. Returns a crawlId; poll with get_crawl (wait=true) to get the grouped issues once it finishes. NOTE: the domain must be verified first — use list_domains / add_domain / verify_domain.

ParameterTypeDescription
url *stringThe site root or any page on the site to crawl from.
maxPagesintegerCap pages crawled (clamped to your plan).
timeoutintegerMax seconds to wait when wait=true (default 120).
waitbooleanWait for completion and return grouped issues (default false; crawls can be long).

get_crawl Get a site crawl

Fetch a crawl by id with its score and grouped issues. wait=true blocks until done.

ParameterTypeDescription
crawlId *stringThe crawl id returned by crawl_site (or recheck_template).
timeoutintegerMax seconds to wait when wait=true (default 120).
waitbooleanBlock until the crawl completes before returning (default false).

get_rum Get real-user Core Web Vitals (RUM)

Return field (real-user) Core Web Vitals for a registered RUM site: p75 LCP/INP/CLS/FCP/TTFB with ratings, sample counts, and trends. Use list of sites from account first if you do not know the siteKey (call get_rum with no siteKey to list sites).

ParameterTypeDescription
daysintegerLook-back window in days (default 7).
siteKeystringThe RUM site key. Omit to list your RUM sites instead.

get_rum_embed Get the RUM beacon install snippet

Return the <script> beacon snippet to install SpeedVault RUM on a site, so an agent building an app can wire up real-user Core Web Vitals collection. Paste it into the <head>.

ParameterTypeDescription
siteKey *stringThe RUM site key to install.

list_monitors List scheduled monitors

List the URLs under scheduled monitoring (SpeedVault Monitor) with their latest score.

create_monitor Create a scheduled monitor

Add a URL to scheduled monitoring so SpeedVault re-audits it on a cadence and tracks regressions. Slot-limited by plan. NOTE: the domain must be verified first — use list_domains / add_domain / verify_domain.

ParameterTypeDescription
url *stringThe absolute URL to monitor, e.g. https://example.com/pricing. Its domain must be verified first.
checkFrequencystringHow often to re-audit the URL (default daily).
devicestringEmulated device for the scheduled audit (default desktop).
labelstringAn optional human-friendly label for this monitor (e.g. "Pricing page").
locationstringTest region for the scheduled audit, e.g. "eu-west", "us-east", "ap-southeast".

compare_runs Compare two audit runs

Return a structured diff of two completed audits: delta per metric (perf_score, LCP, FCP, TBT, CLS, SI, page_bytes, total_requests) with improved/regressed flags. Use this to see how a change affected performance before and after.

ParameterTypeDescription
auditId1 *stringThe first (before) audit id.
auditId2 *stringThe second (after) audit id.

get_seo_issues Get per-template SEO issues from a crawl

Return the per-template issue breakdown from a completed site crawl. Shows each template (e.g. /products/:slug) with its page count and the SEO issues affecting it, including prevalence ("142 of 312 product pages have missing meta description") and priority scores. Use this after crawl_site to understand which templates need the most work.

ParameterTypeDescription
crawlId *stringA completed crawl id from crawl_site.

get_seo_fixes Get SEO fix recipes for a crawl

Return actionable fix recipes for a completed site crawl. Each fix includes the issue, impact, how to fix it, a code snippet, and before/after showing the exact code change. Optionally narrow to one issue_type (e.g. "description-missing", "next-gen-images").

ParameterTypeDescription
crawlId *stringA completed crawl id from crawl_site.
issue_typestringNarrow to one issue type.

recheck_template Re-crawl a site (recheck after fixes)

Trigger a re-crawl of a site that was previously crawled. Use this after applying SEO fixes from get_seo_fixes to verify improvements. Returns a new crawlId. Costs 1 credit.

ParameterTypeDescription
crawlId *stringThe original crawl id to re-crawl.
timeoutintegerMax seconds to wait when wait=true (default 120).
waitbooleanWait for the re-crawl to complete (default false).

list_domains List verified domains

List your domains with their verification status and linked product counts (RUM sites, monitors, analyses). Domains must be verified before you can crawl, monitor, or add RUM to them.

add_domain Add a domain

Register a new domain. Returns a verification token and instructions (meta tag or DNS TXT record). After adding, call verify_domain to prove ownership. A verified domain is required before you can crawl, monitor, or add RUM.

ParameterTypeDescription
domain *stringThe domain to add, e.g. "example.com".
labelstringAn optional label for the domain.

verify_domain Verify a domain

Verify ownership of a registered domain by checking for the meta tag or DNS TXT record. On success the domain becomes "active" and you can use it with all SpeedVault products.

ParameterTypeDescription
domainId *stringThe domain id from list_domains or add_domain.

account_status Account status

Show your plan, remaining API credits, rate limit, and per-product entitlements.