
Tapsite
io.github.mgriffen由 GitHub 账号 mgriffen 发布v4.0.1更新于 Oct 24, 2026
MCP server for web inspection, design system extraction, and accessibility audits
概览
一个本地 MCP 服务器,让 AI 助手检查网站并提取设计系统、无障碍审计、性能数据和结构化内容。
- 可以做什么
- 打开并控制浏览器会话:导航、检查 DOM、截图、点击、填写、滚动、运行 JavaScript,并支持手动登录和 MFA。提取页面内容:表格、链接、元数据、可读文本、表单、Markdown 以及自定义 CSS/XPath/正则模式。提取设计令牌:颜色、字体、CSS 变量、间距、阴影、布局、组件和断点。审计质量:WCAG 对比度、无障碍、Core Web Vitals、安全头、深色模式、PWA 和国际化。检测技术栈:框架、动画、图标、GraphQL、AI/ML 集成、canvas、WebAssembly、Web 组件、第三方脚本和客户端存储。捕获网络流量并推断 API 模式,爬取多个页面,比较两个网站或跟踪随时间的变化。导出结果为 JSON、Markdown、HTML 报告、CSV 和截图。
- 适用场景
- 当你希望助手分析实时网站的设计系统、无障碍、性能或内容结构,比较网站或跟踪随时间的变化,或从页面(包括登录后的页面)提取结构化数据时,它很有用。
- 运行要求
- 通过 npm 本地运行(npx tapsite 或全局安装)。需要 Node.js 和 Playwright Chromium,首次运行会下载约 150MB。手动登录需要显示环境;Docker 仅支持无头模式。未声明 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Tapsite,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
tapsite
[GitHub stars] [npm downloads] [License: MIT]
[tapsite — 55 Tools, One MCP Server, Total Web Intelligence]
The MCP server for web intelligence extraction. 55 tools that give AI agents the ability to understand websites — not just drive a browser, but extract structured intelligence about design systems, accessibility, performance, content, and more.
Other MCP browser tools let agents click buttons. tapsite lets agents extract a complete color palette, audit WCAG contrast ratios, diff two sites' design tokens, detect tech stacks, or pull structured data with custom CSS/XPath/regex selectors — all as structured JSON that agents can reason about.
55 Tools · 11 Categories · 4 Workflows · Multi-Format Export
Works with Claude, Cursor, Windsurf, and any MCP-compatible AI agent. LangChain/LangGraph integration coming soon.
Installation
Add to your AI agent's MCP config:
First run: Playwright will install Chromium automatically if not already present (~150MB one-time download).
Also available on the MCP Registry and Glama.
What makes tapsite different
Extract design systems — colors, fonts, spacing scales, breakpoints, components, shadows, icons, CSS variables, and contrast ratios from any website. Output as structured JSON or W3C design tokens.
Audit quality — accessibility scoring with WCAG contrast analysis, performance timing (Core Web Vitals), tech stack detection, dark mode support, and animation inventory.
Compare and track — diff two sites side by side, or track a single site over time with snapshot-based temporal diffs. Regressions and improvements are flagged automatically. Disk caching means crawls resume where they left off, and results are reused across sessions.
Work behind login walls — persistent browser sessions with full MFA support. A 3-tier anti-bot escalation system handles protected sites automatically — from stealth scripts to proxy rotation. Log in once manually, then extract across tool calls without re-authenticating. Credentials never enter the chat.
Tools (55)
Session (8)
Content Extraction (6)
Custom Extraction (2)
Design Tokens (5)
Visual Assets (4)
Layout Intelligence (3)
Quality & Compliance (7)
Technology Detection (10)
Network & API (2)
Multi-page (2)
Export (2)
Engine
Resilient extraction engine. Parallel browser pooling for concurrent page extraction. Persistent disk caching — crawls resume where they left off and results are reused across sessions. 3-tier anti-bot escalation with automatic proxy rotation for protected sites.
Workflows (4)
LangChain / LangGraph integration (coming soon)
Native LangChain and LangGraph integration is on the roadmap. When released, it will provide a dedicated Python wrapper with tool subsets and managed session lifecycle.
Security
Prompt injection defense (hidden element filtering + output sanitization), HTTPS enforced, private IPs blocked, auth headers redacted. Credentials never enter the chat — log in manually with full MFA support.
Prompt injection defense
Extractors skip hidden elements (display:none, visibility:hidden, opacity:0, zero-size, clip-hidden) to prevent invisible text injection. All output is scanned for prompt injection patterns — instruction overrides, role hijacking, exfiltration attempts, and tool manipulation are flagged inline as [INJECTION_DETECTED].
Credential safety
Never pass credentials through the chat. Use tapsite_login_manual to open a headed browser, log in manually (including MFA), then tapsite_login_check to confirm. Credentials never touch the AI provider's servers or local transcripts.
Docker
tapsite ships a Dockerfile and docker-compose.yml for headless-only use — CI pipelines, server deployments, or anywhere you don't want a local Node.js install.
tapsite_login_manual is not available in Docker (it requires a display). To use authenticated sessions in Docker, log in locally first, then mount the profiles/ directory into the container:
Security note:
profiles/contains live session cookies. Don't commit it to version control (it's already in.gitignore).
Development setup
MCP config pointing to local source:
Project structure
Output formats
output/run-{timestamp}/—tapsite_export: JSON, Markdown, HTML, screenshots, CSV tablesoutput/design-report-{timestamp}/—tapsite_export_design_report:report.html,design-tokens.json,design-tokens.cssoutput/snapshots/{domain}/—tapsite_diff_pagestemporal snapshots
License
MIT
来源:README.md,提交 85ed415
工具
0版本历史
1- v4.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分