能力标签
🔌
MCP工具

网页MCP工具

基于 TypeScript · 让 AI 助手直接操作你的系统与工具
英文名:webpage-mcp
⭐ 11 Stars 🍴 5 Forks 💻 TypeScript 📄 MIT 🏷 AI 7.5分
7.5AI 综合评分
ai-agentbrowser-agentbrowser-automationmcp-servertypescript
✦ AI Skill Hub 推荐

网页MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析
网页MCP工具 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 网页MCP工具,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。网页MCP工具 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 网页MCP工具 评为 AI 评分 7.5 分,属于同类工具中的优质选择。
📋 工具概览

将现有网页转换为MCP服务器,实现代理控制

网页MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 11
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.5 分
工具类型
MCP工具
Forks
5
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

将现有网页转换为MCP服务器,实现代理控制

网页MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/mcpland/webpage-mcp

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "--mcp--": {
      "command": "npx",
      "args": ["-y", "webpage-mcp"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 网页MCP工具 执行以下任务...
Claude: [自动调用 网页MCP工具 MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "__mcp__": {
      "command": "npx",
      "args": ["-y", "webpage-mcp"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 95/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <img src="logo.png" alt="Webpage MCP" width="160" /> </p>

Webpage MCP

<p align="center"> <strong>Turn your webpage into a fully-featured MCP server</strong> </p>

<p align="center"> <a href="https://github.com/mcpland/webpage-mcp/actions/workflows/ci.yml"><img src="https://github.com/mcpland/webpage-mcp/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://www.npmjs.com/package/webpage-mcp"><img src="https://img.shields.io/npm/v/webpage-mcp.svg" alt="npm" /></a> <a href="https://chromewebstore.google.com/detail/webpage-mcp-connector/iehgbogeakiedihodennfcnigojnncag?hl=en"><img src="https://img.shields.io/github/v/release/mcpland/webpage-mcp.svg" alt="Release" /></a> <a href="https://github.com/mcpland/webpage-mcp/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/webpage-mcp" alt="License" /></a> <a href="https://chromewebstore.google.com/detail/webpage-mcp-connector/iehgbogeakiedihodennfcnigojnncag?hl=en"><img src="https://img.shields.io/badge/Chrome-Extension-4285F4?logo=googlechrome&logoColor=white" alt="Chrome Extension" /></a> </p>

<p align="center"> Let AI assistants like Claude, Cursor, Windsurf, Codex, and other <a href="https://modelcontextprotocol.io/">MCP</a>-compatible clients control your webpage — navigate pages, take screenshots, click elements, read content, capture network traffic, run JavaScript, and much more. </p>

---

Core Features

FeatureDescription
:grinning:**Chatbot/Model Agnostic**Let any LLM, chatbot client, or agent automate your browser
:star:**Use Your Original Browser**Seamlessly integrate with your existing browser environment (configs, login states, etc.)
:computer:**Fully Local**Pure local MCP server ensuring user privacy
:electric_plug:**Native Stdio Transport**Native Messaging + stdio only (no localhost HTTP port)
:racing_car:**Cross-Tab**Cross-tab context support
:control_knobs:**Workflow Runtime**Record, publish, trigger, and replay flows; expose saved browser workflows as MCP tools
:speech_balloon:**In-Browser Agent UX**Built-in sidepanel, Quick Panel, element picker, and workflow views keep the agent inside Chrome
:building_construction:**Apply-to-Code Web Editor**Visual in-page editing with transactions, undo/redo, and structured apply payloads for coding agents
:brain:**Semantic Search**Built-in vector database for intelligent browser tab content discovery
:mag:**Smart Content Analysis**AI-powered text extraction and similarity matching
:globe_with_meridians:**20+ Tools**Screenshots, network monitoring, interactive operations, bookmark management, browsing history, and more
:rocket:**SIMD-Accelerated AI**Custom WebAssembly SIMD optimization for 4-8x faster vector operations

Additional Capabilities

  • AI Agent Chat Sidepanel — Built-in sidepanel for chatting with AI agents (Claude Code CLI, OpenAI Codex CLI) directly from Chrome, with project management, session history, and streaming output
  • Record, Replay, and Publish — Record browser actions, replay them as automated flows, publish reusable flows, and expose them as dynamic MCP tools (flow.<slug>)
  • Triggerable Browser Workflows — Launch flows from URL matches, DOM appearance, intervals, one-time schedules, keyboard commands, and context-menu actions
  • Web Editor — Visual in-page DOM editor overlay with a property panel, transaction system, undo/redo, and structured apply-to-code handoff (Cmd+Shift+E)
  • Quick Panel — Keyboard-triggered floating AI chat accessible from any page, with page context and streaming responses (Cmd+Shift+U)
  • Semantic Search — On-device embedding model (all-MiniLM-L6-v2) with HNSW vector index for searching tab content across live browser state
  • Element Marker — Annotate DOM elements with stable names/selectors so agents and workflows can refer to page targets more reliably

---

Install dependencies

pnpm install

Install dependencies

pnpm install

WASM SIMD (requires Rust toolchain)

pnpm build:wasm # Build and copy to extension ```

Installation

Build From Source (Developers)

<details> <summary><strong>Click to expand</strong></summary>

1. Clone and Build

```bash git clone https://github.com/mcpland/webpage-mcp.git cd webpage-mcp

Build all packages

pnpm build


#### 2. Install the Chrome Extension

1. Open Chrome and navigate to `chrome://extensions/`
2. Enable **Developer mode** (toggle in top right)
3. Click **Load unpacked**
4. Select the `app/chrome-extension/.output/chrome-mv3` folder

> This repository does not currently commit binary release zip files. To generate one locally, run `pnpm --filter webpage-mcp-connector zip` and use the artifact from `app/chrome-extension/.output/`.

#### 3. Start MCP Client First

Use the local stdio entry in your MCP client config (example below). On startup, `mcp-server-stdio` will attempt silent bootstrap (manifest/runtime check + user-level auto-register).

#### 4. Fallback: Manual Register (Only If Needed)

If the extension still cannot connect, run:
bash

Diagnose installation issues

node app/mcp-server/dist/cli.js doctor

Start all packages in dev mode (shared builds first, then parallel)

pnpm dev ```

Quick Start

1. Install the Webpage MCP Connector Chrome extension first in chrome web store. https://chromewebstore.google.com/detail/webpage-mcp-connector/iehgbogeakiedihodennfcnigojnncag?hl=en.

2. Add webpage-mcp to your MCP client config:

{
  "mcpServers": {
    "webpage-mcp": {
      "command": "npx",
      "args": ["-y", "-p", "webpage-mcp@latest", "webpage-mcp-stdio"]
    }
  }
}

3. Start your MCP client (with Chrome open and extension enabled).

webpage-mcp-stdio now performs silent bootstrap on startup: it checks Native Messaging manifest/runtime and auto-registers user-level host when needed.

4. If extension still cannot connect, use fallback recovery:

  1. Open extension welcome.html or popup and copy the register command (already includes current extension ID), then run it:
npx -y webpage-mcp@latest register --browser chrome --force --extension-id <extension_id_from_popup_or_welcome>
  1. Run one-shot auto-fix:
npx -y webpage-mcp@latest doctor --fix
  1. Use the extension popup status refresh button once to reconnect and sync status, then restart MCP client.

<details> <summary><strong>When do I need to re-register?</strong></summary>

For most users, manual registration is not required because startup bootstrap handles it automatically.

If you did run manual registration, it is typically one-time per machine/profile. You do not need to re-run it for normal restarts (OS/Chrome/MCP client). Re-run only when:

  • Extension ID changes
  • Manifest path changes
  • Installation path changes
  • Chrome profile data is reset

</details>

Quick Start

```bash

Configuration

Claude Desktop Configuration

Add to your Claude Desktop MCP config (claude_desktop_config.json) — use the same npx stdio config above.

Codex Configuration

Codex stores MCP configuration in ~/.codex/config.toml by default. You can also use a project-local .codex/config.toml when the server should only be enabled for one repository.

Add webpage-mcp with a [mcp_servers.<server-name>] TOML table:

[mcp_servers."webpage-mcp"]
command = "npx"
args = ["-y", "-p", "webpage-mcp@latest", "webpage-mcp-stdio"]

command is required. args is optional and should be an array when used.

You can also add it with Codex CLI:

codex mcp add webpage-mcp -- npx -y -p webpage-mcp@latest webpage-mcp-stdio

After adding the server, restart Codex if needed and use /mcp in the Codex TUI to confirm webpage-mcp is enabled.

Register Options

npx -y webpage-mcp@latest register [options]

Options:
  -f, --force              Compatibility flag (accepted; registration is currently idempotent)
  -s, --system             System-level install (requires sudo/admin)
  -b, --browser <browser>  Target browser: chrome, chromium, or all
  -d, --detect             Auto-detect installed browsers
  -e, --extension-id <id>  Override extension ID(s) for allowed_origins (comma-separated)

<details> <summary><strong>Additional registration details</strong></summary>

When --browser chrome is used, the installer also writes channel-compatible manifests on macOS/Linux (for example Chrome Stable/Beta/Canary/Chrome for Testing paths) to reduce "native host not found" channel mismatch issues. The installer also attempts to discover local unpacked Webpage MCP Connector extension IDs from browser profiles and add them to allowed_origins.

For unpacked extensions with a custom ID, you can re-register with:

npx -y webpage-mcp@latest register --browser chrome --extension-id <your_extension_id>

The extension popup and welcome page can generate this command automatically using chrome.runtime.id, which avoids manual ID lookup mistakes. The generated command may include --force; this flag is optional.

</details>

---

From repo root, use the built local CLI entry

node app/mcp-server/dist/cli.js register --detect

CLI Reference

CommandDescription
registerRegister the Native Messaging host manifest
fix-permissionsFix execution permissions for native host files
doctorDiagnose installation and environment issues
reportExport a diagnostic report for troubleshooting

Or specify browser/extension id explicitly

node app/mcp-server/dist/cli.js register --browser chrome --extension-id <your_extension_id>


This writes/updates the JSON manifest in Chrome's `NativeMessagingHosts/` directory so Chrome can launch the MCP server process.

#### 5. Verify Installation
bash

Individual Package Commands

```bash

Chrome extension

pnpm dev:extension # Dev mode with HMR pnpm build:extension # Production build

Chrome extension tests (Vitest)

cd app/chrome-extension && pnpm test

Comparison with Similar Projects

Troubleshooting

<details> <summary><strong>Extension fails to connect</strong></summary>

  1. Ensure the native host is registered: npx -y webpage-mcp@latest doctor
  2. Check that Node.js >= 20 is available at the registered path
  3. Check that the Chrome extension and webpage-mcp npm package versions match, especially after a fresh npm release
  4. Prefer the exact register command generated in extension popup/welcome and run it once
  5. Fully restart Chrome (quit all Chrome processes), then click Connect again

</details>

<details> <summary><strong>MCP client can't reach the server</strong></summary>

  1. Ensure Chrome is open and the extension is enabled
  2. Ensure native host is connected (npx -y webpage-mcp@latest doctor)
  3. Use npx stdio config in your MCP client (command: "npx", args: ["-y", "-p", "webpage-mcp@latest", "webpage-mcp-stdio"])

</details>

<details> <summary><strong>Tools return errors or time out</strong></summary>

  1. Make sure Chrome is open with the extension enabled
  2. Check the extension's service worker console for errors (chrome://extensions/ > Inspect views)
  3. Some tools (e.g., chrome_network_capture) require specific page states

</details>

<details> <summary><strong>Generate a diagnostic report</strong></summary>

npx -y webpage-mcp@latest report --copy    # Copies to clipboard
npx -y webpage-mcp@latest doctor --fix     # Auto-fix common issues

</details>

---

🇨🇳 中文文档镜像 AI 翻译 2026-05-26
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

Webpage MCP 是一个强大的工具,旨在将您的网页直接转化为功能完备的 MCP server。通过该项目,您可以让 LLM、聊天机器人客户端或 AI Agent 具备自动化操作浏览器的能力,实现从网页内容到智能交互的无缝衔接。

⚡ 功能介绍

本项目具备高度的通用性,支持任何 Chatbot 或 Model Agnostic 的模型进行浏览器自动化。它能与您现有的浏览器环境无缝集成,并提供 AI Agent Chat Sidepanel 侧边栏,支持在 Chrome 中直接与 Claude Code CLI 或 OpenAI Codex CLI 交互。此外,您还可以通过 Record、Replay 功能记录并发布浏览器动作流,将其转化为动态的 MCP tools(如 `flow.<slug>`)供 AI 调用。

📋 环境依赖

在开始之前,请确保您的开发环境已安装 pnpm。若需构建 WASM 组件,系统必须配置 Rust toolchain 以支持 WASM SIMD。请通过 `pnpm install` 安装基础依赖,并根据需要运行 `pnpm build:wasm` 进行构建。

🛠 安装步骤(Docker/pip/源码)

开发者可以通过源码构建:首先使用 git clone 克隆仓库,随后运行 `pnpm build` 构建所有 package。完成后,需进入 `app/chrome-extension/.output/chrome-mv3` 目录,通过 Chrome 的 `chrome://extensions/` 页面开启 Developer mode,并使用 Load unpacked 方式加载插件。若需生成二进制 zip 包,可运行 `pnpm --filter webpage-mcp-connector zip`。

🚀 使用教程

快速上手非常简单:首先在 Chrome Web Store 安装 Webpage MCP Connector 扩展程序;接着,在您的 MCP client 配置文件中添加 `webpage-mcp` 的配置项,使用 `npx` 命令启动 stdio 服务,即可开始体验 AI 驱动的网页自动化。

⚙️ 配置说明(含 MCP / env)

您可以根据使用的客户端进行配置。对于 Claude Desktop,请在 `claude_desktop_config.json` 中添加相应的 npx 配置;对于 Codex,则需在 `~/.codex/config.toml` 或项目本地的 `.codex/config.toml` 中通过 TOML 格式定义 `[mcp_servers."webpage-mcp"]` 表项。

🔌 API 说明

项目提供内置的 CLI 工具用于管理。您可以在仓库根目录下通过 `node app/mcp-server/dist/cli.js` 调用相关命令。例如,使用 `register --detect` 自动注册 Native Messaging host 配置文件,或使用 `fix-permissions` 修复执行权限问题。

🔄 工作流/模块

在高级工作流中,您可以手动指定浏览器类型或 Extension ID 来注册服务,例如使用 `node app/mcp-server/dist/cli.js register --browser chrome --extension-id <ID>`。这会更新 Chrome 的 NativeMessagingHosts 目录,确保 Chrome 能正确启动 MCP server 进程。此外,项目支持针对 Chrome extension 的开发模式(HMR)和生产环境构建。

❓ FAQ 摘要

如果遇到扩展程序无法连接的问题,请首先运行 `npx -y webpage-mcp@latest doctor` 进行环境诊断。确保您的 Node.js 版本大于等于 20,并检查 Chrome 扩展程序与 `webpage-mcp` npm 包的版本是否保持一致,以避免兼容性问题。

🎯 aiskill88 AI 点评 A 级 2026-05-25

开源MCP工具,实现网页代理控制

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
webpage-mcp 中文教程webpage-mcp 安装报错怎么办webpage-mcp MCP 配置webpage-mcp Agent 工作流webpage-mcp 与同类工具对比webpage-mcp 最佳实践webpage-mcp 适合谁用
⚡ 核心功能
👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
👥 适合人群
Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师
🎯 使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
⚖️ 优点与不足
✅ 优点
  • +MIT 协议,可免费商用
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
webpage-mcp 是一款TypeScript开发的AI辅助工具。开源MCP工具:Turn your existing webpages into an MCP server for agent control。⭐11 · TypeScript 主要应用场景包括:代理控制和自动化。
💡 AI Skill Hub 点评

经综合评估,网页MCP工具 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 网页MCP工具
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 webpage-mcp
原始描述 开源MCP工具:Turn your existing webpages into an MCP server for agent control。⭐11 · TypeScript
Topics ai-agentbrowser-agentbrowser-automationmcp-servertypescript
GitHub https://github.com/mcpland/webpage-mcp
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/mcpland/webpage-mcp

收录时间:2026-05-25 · 更新时间:2026-05-26 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。