WrapGuard MCP

v0.1.1
io.github.Yuni9959/wrapguard-mcp Checked 3 days ago Published 3 months ago

Detect unnatural Korean and English mid-word wrapping in responsive web pages.

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

server_info WrapGuard server information

Show the configured display name, safety policy, and supported languages.

audit_page Audit responsive word wrapping

Render a page at multiple widths and report Korean/English mid-word wraps and forced source newlines.

ParameterTypeDescription
target *stringAllowed local HTML path, file URL, or allowlisted HTTP(S) URL
ignoreSelectorsarray
localestring
screenshotDirstring
viewportsarray

detect_midword_breaks Detect mid-word breaks

Return only concrete Korean/English wrap issues measured from grapheme geometry in the browser.

ParameterTypeDescription
target *stringAllowed local HTML path, file URL, or allowlisted HTTP(S) URL
ignoreSelectorsarray
localestring
screenshotDirstring
viewportsarray

inspect_wrap_css Inspect wrapping CSS

Inspect computed wrapping properties and same-origin matching CSS rules for one element.

ParameterTypeDescription
selector *string
target *string
viewportinteger

suggest_wrap_fix Suggest a safe wrapping fix

Generate a minimal CSS rule for Korean, English, mixed prose, raw evidence, or code/URL content.

ParameterTypeDescription
selector *string
contentKindstring
localestring

verify_wrap_regression Verify wrap regression threshold

Audit a page and evaluate it against explicit error/warning thresholds for CI or release gates.

ParameterTypeDescription
target *stringAllowed local HTML path, file URL, or allowlisted HTTP(S) URL
ignoreSelectorsarray
localestring
maxErrorsinteger
maxWarningsinteger
screenshotDirstring
viewportsarray

apply_wrap_fix Apply an explicit CSS wrap fix

Append an idempotent CSS rule. Dry-run is the default; real writes require allowWrites and an allowed root.

ParameterTypeDescription
cssFile *string
profile *string
selector *string
dryRunboolean