WrapGuard MCP Server
Detect unnatural Korean and English mid-word wrapping in responsive web pages.
WrapGuard MCP scores 61 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 1 tool. Filed under Browser automation. GitHub shows 0 stars. Package registries report about 55 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
61 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 61 comes from
22 + 15 + 0 + 10 + 4 + 10 = 61. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "yuni9959-wrapguard-mcp": { "command": "npx", "args": [ "-y", "wrapguard-mcp@0.1.1" ], "env": { "WRAPGUARD_SERVER_NAME": "", "WRAPGUARD_CONFIG": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
WRAPGUARD_SERVER_NAME | Optional | Optional runtime display name for the MCP server. |
WRAPGUARD_CONFIG | Optional | Optional absolute path to wrapguard.config.json. |
Tools1Tool docs quality grade C
All capabilitiesapply_wrap_fixtooldry-run by default; real writes require allowWrites: true and an allowed root
About
WrapGuard MCP
WrapGuard is an MCP server and CLI that renders responsive pages with Playwright and finds Korean or English words split across visual lines. It also reports hard newlines embedded inside words, such as 업로↵드, without rewriting immutable source evidence.
한글·영어 문장이 반응형 화면에서 단어 중간에 잘리는 문제를 실제 브라우저 좌표로 검사합니다. 표시 이름은 자유롭게 바꿀 수 있지만 npm/GitHub/MCP Registry의 패키지 식별자는 별도로 유지됩니다.
What it checks
- Korean eojeol-like tokens and English word tokens, including apostrophes and hyphens
- Actual grapheme positions across 320, 375, 768, and 1024 px by default
- Avoidable mid-word wraps versus unavoidable long identifiers
- Hard source newlines between letters
- Applied wrapping CSS and same-origin matching rules
- Explicit, dry-run-first CSS suggestions
URLs, code, hashes, and immutable raw evidence can be excluded with patterns or data-wrapguard-ignore. Public fixtures contain no private data.
Install and run locally
Requirements: Node.js 22 or newer and a Playwright Chromium installation.
npm install
npx playwright install chromium
npm run build
node dist/stdio.js
With browserChannel: "auto" (the default), WrapGuard tries Playwright Chromium first and then an installed Chrome or Microsoft Edge. Installing Playwright Chromium is the reproducible choice for CI.
After an npm release, an MCP client can launch it directly:
{
"mcpServers": {
"wrapguard": {
"command": "npx",
"args": ["-y", "wrapguard-mcp"],
"env": {
"WRAPGUARD_SERVER_NAME": "My Typography Inspector",
"WRAPGUARD_CONFIG": "C:/absolute/path/wrapguard.config.json"
}
}
}
}
On Windows, clients that do not resolve command shims may need npx.cmd instead of npx.
Run it as a release gate without MCP:
wrapguard audit ./dist/index.html --viewports 320,375,768,1024 --output wrap-report.json
wrapguard audit ./dist/index.html --format markdown --output wrap-report.md
Exit code 0 means no avoidable split, 1 means regression issues were found, and 2 means the audit could not run.
Change the displayed name
Copy wrapguard.config.example.json to wrapguard.config.json, then edit:
{
"serverName": "우리집 문장 검사기"
}
WRAPGUARD_SERVER_NAME overrides the JSON value. This changes the runtime MCP display name only. Before the first public release, change name, mcpName, repository URLs, and server.json together if you want a different permanent package identity.
MCP tools
server_infoaudit_pagedetect_midword_breaksinspect_wrap_csssuggest_wrap_fixverify_wrap_regressionapply_wrap_fix— dry-run by default; real writes requireallowWrites: trueand an allowed root
Safe defaults
The default configuration audits local files under the configured roots and localhost only. Remote URL auditing, screenshots, and CSS writes are disabled unless explicitly enabled. A hosted instance should use a narrow allowedHosts list because unrestricted browser navigation creates an SSRF risk.
CSS previews, CSS writes, and screenshots resolve filesystem links before checking allowedFileRoots. Screenshot directories must be inside an existing allowed root. An explicitly selected configuration file must exist and contain a JSON object; a missing conventional wrapguard.config.json still uses defaults. Runtime and MCP versions are read from package.json.
Three publication layers
- GitHub publishes source, issues, documentation, and releases. It does not by itself run an MCP endpoint.
- npm publishes the stdio executable so users can run
npx -y wrapguard-mcp. - Remote MCP hosts
/mcpover Streamable HTTP for clients that do not run local processes.
Publish source and npm
After reviewing the repository name and public contents:
git init
git add .
git commit -m "feat: release WrapGuard MCP 0.1.1"
gh repo create wrapguard-mcp --public --source . --remote origin --push
npm login
npm publish --access public
Then validate and publish server.json with the official mcp-publisher. The npm package must be published first and the mcpName in package.json must match server.json.
Host a remote endpoint
The included container starts the Streamable HTTP server at /mcp:
docker build -t wrapguard-mcp:0.1.1 .
docker run --rm -p 8787:8787 \
-e WRAPGUARD_HTTP_TOKEN="replace-with-a-long-random-value" \
-e WRAPGUARD_HTTP_HOSTS="localhost,127.0.0.1" \
wrapguard-mcp:0.1.1
For a public host, set WRAPGUARD_HTTP_HOSTS to the deployed domain and store WRAPGUARD_HTTP_TOKEN as a platform secret. Use a container service that supports Playwright/Chromium, such as Cloud Run, Fly.io, Render, Railway, or an equivalent service. Add the final HTTPS URL to the remotes field in server.json only after the endpoint exists.
Vercel Functions are not the default recommendation for this project because browser binaries, execution duration, and memory limits make browser audits less predictable than a long-running container.
Development
npm run check
npm test
npm run build
npm pack --dry-run
The test suite uses synthetic Korean and English pages and an in-memory MCP client/server connection.
License
MIT
Frequently asked questions
What is WrapGuard MCP Server?
Detect unnatural Korean and English mid-word wrapping in responsive web pages.
How do I install WrapGuard MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. WrapGuard MCP Server runs locally from the npm package wrapguard-mcp with the command npx -y wrapguard-mcp@0.1.1.
Is WrapGuard MCP Server free and open source?
Yes. WrapGuard MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does WrapGuard MCP Server support remote (HTTP) connections?
No remote endpoint is listed for WrapGuard MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does WrapGuard MCP Server provide?
WrapGuard MCP Server provides 1 tool: apply_wrap_fix. See the full tool list for descriptions and parameters.
How is WrapGuard MCP Server's trust score calculated?
WrapGuard MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.