tapsite

v4.0.1
io.github.mgriffen/tapsite Checked 3 days ago Published 8 months ago

MCP server for web inspection, design system extraction, and accessibility audits

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

tapsite_login

Auto-login with credentials. Session persists across calls.

ParameterTypeDescription
password *stringPassword
url *stringLogin page URL
username *stringUsername
passwordSelectorstringPassword field selector
submitSelectorstringSubmit button selector
usernameSelectorstringUsername field selector

tapsite_login_manual

Open headed browser for manual login (MFA). Call login_check when done.

ParameterTypeDescription
url *stringLogin page URL

tapsite_login_check

Verify auth state after manual login. Returns title, URL, content preview.

tapsite_inspect

Navigate to URL and/or inspect page DOM with numbered interactive elements. Optional screenshot.

ParameterTypeDescription
screenshotbooleanInclude screenshot
urlstringURL to navigate to (omit for current page)

tapsite_screenshot

Screenshot the page. Optional element highlighting with numbered badges.

ParameterTypeDescription
fullPagebooleanFull scrollable page
highlightbooleanOverlay numbered element badges
urlstringURL (omit for current page)

tapsite_interact

Click, fill, select, check, or hover an indexed element. Returns updated DOM.

ParameterTypeDescription
action *stringAction type
index *numberElement index from inspect/navigate
valuestringValue for fill/select

tapsite_scroll

Scroll page or scroll an element into view.

ParameterTypeDescription
directionstringDirection (ignored if index set)
indexnumberElement index to scroll to

tapsite_run_js

Run JS in page context. Large results (>2KB) write to disk.

ParameterTypeDescription
script *stringJS expression (must return a value)

tapsite_close

Close the browser session.

tapsite_extract_table

Extract table data as structured rows.

ParameterTypeDescription
limitnumberMax rows
minColumnsnumberMin columns per row
urlstringURL (omit for current page)

tapsite_extract_colors

Extract color palette sorted by frequency.

ParameterTypeDescription
limitnumberMax colors
urlstringURL (omit for current page)

tapsite_extract_fonts

Extract fonts: families, sizes, weights, sources.

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_css_vars

Extract CSS custom properties, categorized by type.

ParameterTypeDescription
includeAllbooleanAlso scan inline styles
urlstringURL (omit for current page)

tapsite_extract_spacing

Extract spacing scale: margins, padding, gaps, radii.

ParameterTypeDescription
sampleSizenumberMax elements to sample
urlstringURL (omit for current page)

tapsite_extract_images

Extract all images with src, dimensions, alt, format.

ParameterTypeDescription
filterstringFilter: src contains string
minWidthnumberMin width in px
urlstringURL (omit for current page)

tapsite_download_images

Download images to disk. Uses session cookies for auth assets.

ParameterTypeDescription
filterstringFilter: src contains string
formatsarrayExtensions filter (e.g. ['png','jpg'])
limitnumberMax images (1-200)
minWidthnumberMin width in px
urlstringURL (omit for current page)

tapsite_extract_svgs

Extract SVGs: inline markup, external URLs, icon/illustration classification.

ParameterTypeDescription
downloadbooleanDownload to output/assets/svgs/
limitnumberMax SVGs (1-200)
urlstringURL (omit for current page)

tapsite_extract_favicon

Extract favicon and icon references. Optional download.

ParameterTypeDescription
downloadbooleanDownload to output/assets/favicons/
urlstringURL (omit for current page)

tapsite_extract_layout

Extract layout tree: flex/grid/block containers with properties.

ParameterTypeDescription
maxDepthnumberMax tree depth
urlstringURL (omit for current page)

tapsite_extract_components

Detect repeated UI component patterns with instance counts.

ParameterTypeDescription
minOccurrencesnumberMin occurrences to qualify
urlstringURL (omit for current page)

tapsite_extract_breakpoints

Extract CSS breakpoints and detect framework (Tailwind/Bootstrap/MUI).

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_metadata

Extract metadata: OG, Twitter Cards, JSON-LD, RSS, canonical.

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_content

Extract main content as clean markdown, stripping chrome.

ParameterTypeDescription
includeImagesbooleanInclude images in output
selectorstringCSS selector to scope extraction
urlstringURL (omit for current page)

tapsite_extract_forms

Extract forms: fields, validation, actions, hidden fields.

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_animations

Extract CSS animations, transitions, and detect animation libraries.

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_a11y

Accessibility audit with score (0-100) and issues by severity.

ParameterTypeDescription
standardstringWCAG standard (aa or aaa)
urlstringURL (omit for current page)

tapsite_extract_darkmode

Detect dark mode support. Optionally capture dark palette.

ParameterTypeDescription
activateDarkbooleanEmulate dark mode and capture palette
urlstringURL (omit for current page)

tapsite_extract_perf

Performance metrics: Web Vitals, resource sizes, timing.

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_shadows

Extract box-shadow and text-shadow patterns as design tokens.

ParameterTypeDescription
sampleSizenumberMax elements to sample
urlstringURL (omit for current page)

tapsite_extract_icons

Detect icon font libraries and extract icon usage (Font Awesome, Material, Bootstrap Icons, etc.).

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_extract_contrast

WCAG contrast ratio audit between text and background color pairs.

ParameterTypeDescription
sampleSizenumberMax text elements to check
standardstringWCAG standard (aa or aaa)
urlstringURL (omit for current page)

tapsite_capture_network

Capture network traffic for a duration. Filters static assets by default.

ParameterTypeDescription
durationnumberSeconds to capture (1-60)
filterMethodstringFilter: HTTP method
filterUrlstringFilter: URL contains string
includeStaticbooleanInclude images/CSS/fonts
urlstringURL (omit for current page)

tapsite_extract_api_schema

Infer API schemas from captured network traffic.

ParameterTypeDescription
durationnumberSeconds to capture (1-60)
filterUrlstringFilter: URL contains string
urlstringURL (omit for current page)

tapsite_extract_stack

Detect tech stack: frameworks, libraries, CMS, analytics, CDNs.

ParameterTypeDescription
urlstringURL (omit for current page)

tapsite_crawl

BFS crawl with extraction per page. Writes to output/crawl-{ts}/.

ParameterTypeDescription
url *stringStart URL
extractarrayExtractions per page
filterPathstringPath prefix filter (e.g. '/blog/')
maxDepthnumberMax link depth (0-10)
maxPagesnumberMax pages (1-100)
sameDomainbooleanSame domain only

tapsite_diff_pages

Compare two URLs (cross-site) or the same URL over time (temporal). Runs real extractors — colors, fonts, spacing, a11y, perf, metadata, components, breakpoints — and produces a structured diff with regressions/improvements highlighted. Omit url2 for temporal mode (compares against last saved snapshot).

ParameterTypeDescription
url1 *stringFirst URL / baseline (or sole URL for temporal mode)
extractorsarrayWhich extractors to run (default: all core). Options: colors, fonts, spacing, components, breakpoints, a11y, perf, metadata, contrast
url2stringSecond URL to compare against url1 (omit for temporal diff)

tapsite_export

Export URLs as Markdown + HTML report + JSON + CSV + screenshots.

ParameterTypeDescription
urls *arrayURLs to export

tapsite_export_design_report

Full design system report: HTML + W3C tokens JSON + CSS vars.

ParameterTypeDescription
url *stringURL to analyze
includearraySections to include

tapsite_teardown

Competitive design teardown — runs colors, fonts, CSS vars, spacing, shadows, components, breakpoints, animations, icons, stack detection, perf, a11y, contrast, and dark mode in one call. Returns a combined summary.

ParameterTypeDescription
url *stringURL to analyze

tapsite_audit

Pre-launch quality audit with scorecard — runs a11y, contrast, perf, metadata (SEO), dark mode, and forms. Returns pass/fail per category with an overall score out of 100.

ParameterTypeDescription
url *stringURL to audit
standardstringWCAG standard

tapsite_harvest

Migration asset inventory — crawls up to maxPages pages and extracts content, images, SVGs, forms, fonts, and links per page. Returns per-page counts and a link map. Output written to output/harvest-{ts}/.

ParameterTypeDescription
url *stringStart URL
maxPagesnumberMax pages to crawl (1-50)

tapsite_designsystem

Design system extraction — runs colors, fonts, spacing, shadows, CSS vars, breakpoints, animations, icons, and components. Exports W3C design-tokens.json, design-tokens.css, and raw-data.json to output/design-system-{ts}/.

ParameterTypeDescription
url *stringURL to extract from