Browser Use
ให้ AI ทำงานบนเว็บแทนคุณ เช่น กรอกฟอร์ม ค้นหา และดึงข้อมูล ใช้เบราว์เซอร์บนคลาวด์ของผู้ทำหรือรันในเครื่องก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Debug bridge inside your web app: an agent reads the DOM, console and network. Any browser.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FEEDTHROUGH_PORT, FEEDTHROUGH_ALLOWED_HOST_SUFFIXESต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"feedthrough": {
"command": "npx",
"args": [
"-y",
"@feedthrough/mcp"
],
"env": {
"FEEDTHROUGH_PORT": "ใส่ค่าของคุณ",
"FEEDTHROUGH_ALLOWED_HOST_SUFFIXES": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add feedthrough --env FEEDTHROUGH_PORT='ใส่ค่าของคุณ' --env FEEDTHROUGH_ALLOWED_HOST_SUFFIXES='ใส่ค่าของคุณ' -- npx -y @feedthrough/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"feedthrough": {
"command": "npx",
"args": [
"-y",
"@feedthrough/mcp"
],
"env": {
"FEEDTHROUGH_PORT": "ใส่ค่าของคุณ",
"FEEDTHROUGH_ALLOWED_HOST_SUFFIXES": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"feedthrough": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@feedthrough/mcp"
],
"env": {
"FEEDTHROUGH_PORT": "ใส่ค่าของคุณ",
"FEEDTHROUGH_ALLOWED_HOST_SUFFIXES": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
FEEDTHROUGH_PORT envFEEDTHROUGH_ALLOWED_HOST_SUFFIXES envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub feedthrough ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Browser Use, Chrome DevTools MCP, MCP Server Browser
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ให้ AI ทำงานบนเว็บแทนคุณ เช่น กรอกฟอร์ม ค้นหา และดึงข้อมูล ใช้เบราว์เซอร์บนคลาวด์ของผู้ทำหรือรันในเครื่องก็ได้
ให้ AI ใช้เครื่องมือนักพัฒนาของ Chrome ตรวจหน้าเว็บ ดูว่าโหลดช้าตรงไหน และหาข้อผิดพลาด ทำโดยทีม Chrome DevTools
MCP server for browser use access
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Debug with AI — from inside your app.
Feedthrough injects a lightweight debug bridge into any running web page, then exposes everything — DOM state, console logs, network requests, and user interactions — as MCP tools. Any MCP-compatible AI agent can inspect and drive the page conversationally, in real time.
Browser (any)
└── @feedthrough/core ← injected into your page ├── console interceptor ├── fetch / XHR interceptor └── DOM inspector ↕ WebSocket @feedthrough/mcp ← MCP server, exposes tools over stdio └── Tools: click, fill, inspect_element, query_dom, get_console_logs, get_network_requests, … ↕ MCP protocol Claude Code / Cursor / any MCP client
Many physics and chemistry experiments run inside a sealed vacuum chamber, with all the air pumped out so nothing contaminates the experiment. The catch: you still need to control instruments inside the chamber and read their measurements, and the smallest air leak ruins the run. A feedthrough is the part that solves this — a specially engineered connector that carries electrical signals through the chamber wall while keeping the vacuum perfectly intact. You can't reach inside, but the feedthrough lets you observe and control what's happening in there anyway.
The parallel is exact: Feedthrough extracts runtime debug data from inside a running web app without disturbing it, and sends control signals back in — clicks, keystrokes, DOM queries — without breaking the execution environment.
Every other browser MCP tool is an external observer — it controls the browser from outside via Puppeteer or CDP and only works in Chrome. Feedthrough is an embedded agent. It runs *inside* the page, so it sees:
| Package | Description |
|---|---|
@feedthrough/core | In-browser bridge — intercepts console, fetch, XHR; handles commands |
@feedthrough/mcp | MCP server — bridges any MCP client to the browser via WebSocket |
@feedthrough/cypress | Cypress adapter — auto-injects the bridge before each test page load |
@feedthrough/playwright | Playwright adapter — injects the bridge via page.addInitScript() |
@feedthrough/vite | Vite plugin for apps with a static index.html |
@feedthrough/webpack | Webpack plugin — adds bridge as a global entry point |
@feedthrough/nextjs | Next.js adapter — wraps next.config.ts with withFeedthrough() |
@feedthrough/nuxt | Nuxt 3 module |
@feedthrough/sveltekit | SvelteKit adapter — injects via the handle hook |
@feedthrough/remix | Remix adapter — injects via a Vite dev server middleware |
| Framework | Adapter | Notes |
|---|---|---|
| Vite + React / Vue / Solid / Preact | @feedthrough/vite | Static index.html — plugin uses transformIndexHtml |
| Next.js | @feedthrough/nextjs | Wraps the webpack config; dev only |
| Nuxt 3 | @feedthrough/nuxt | Registers as a Nuxt module; dev only |
| SvelteKit | @feedthrough/sveltekit | handle hook with transformPageChunk; dev only |
| Remix | @feedthrough/remix | Vite dev server middleware; dev only |
| Webpack apps | @feedthrough/webpack | Global entry point; guards against production mode |
| Cypress | @feedthrough/cypress | window:before:load hook |
| Playwright | @feedthrough/playwright | page.addInitScript() |
npx @feedthrough/mcp
The server listens for browser connections on ws://127.0.0.1:8765 and exposes MCP tools on stdio. Override the port with FEEDTHROUGH_PORT=9000. If the port is already taken, the server steps up to the next free one rather than refusing to start — see Running several sessions at once.
{
"mcpServers": { "feedthrough": { "command": "npx", "args": ["@feedthrough/mcp"] } } }
Vite + React / Vue / Solid / Preact:
// vite.config.ts
import { feedthrough } from "@feedthrough/vite"; export default defineConfig({ plugins: [feedthrough()] });
Next.js:
// next.config.ts
import { withFeedthrough } from "@feedthrough/nextjs"; export default withFeedthrough()({ /* your next config */ });
Nuxt 3:
// nuxt.config.ts
export default defineNuxtConfig({ modules: ["@feedthrough/nuxt"] });
SvelteKit:
// src/hooks.server.ts
import { feedthroughHandle } from "@feedthrough/sveltekit"; import { sequence } from "@sveltejs/kit/hooks"; export const handle = sequence(feedthroughHandle);
Remix:
// vite.config.ts
import { feedthrough } from "@feedthrough/remix"; export default defineConfig({ plugins: [remix(), feedthrough()] });
Webpack:
// webpack.config.mjs
import { FeedthroughPlugin } from "@feedthrough/webpack"; export default { plugins: [new FeedthroughPlugin()] };
Cypress:
// cypress/support/e2e.ts
import { setupFeedthrough } from "@feedthrough/cypress"; setupFeedthrough();
Playwright:
// import test from the adapter instead of @playwright/test
import { test, expect } from "@feedthrough/playwright";
Or manually (any bundler):
// main.ts
if (import.meta.env.DEV) { import("@feedthrough/core").then(({ init }) => init()); }
Once the bridge connects you'll see [feedthrough] tab connected in the MCP server output. For the simplest experience, keep a single tab open. Multiple tabs can connect at the same time and commands are routed to the most recently active one, but a single tab avoids any ambiguity.
Then ask your AI agent:
> What's on the page right now?
Click the submit button and tell me what network requests fired
Why is the counter showing the wrong value?
| Tool | Description |
|---|---|
get_instructions() | Usage guide — recommended workflow, tool ordering, and selector tips |
query_dom(selector) | All elements matching a CSS selector |
inspect_element(selector, properties?) | Tag, attributes, full bounding rect + inViewport, ancestor path, curated computed styles, overflow info (clipped/overflowing content), clipped-by-ancestor info, effective visibility (visible + hiddenReason, accounting for ancestors), occlusion (hittable + occludedBy), accessibility (a11y: role, name, states), pseudo ::before/::after content, live form state; properties reads extra CSS props by name |
get_html(selector) | Raw outerHTML of a region (capped at 50 KB) |
get_console_logs(limit?, levels?, match?, since?) | Console output (all methods) plus uncaught errors & promise rejections; filter by levels, match, or since timestamp |
get_network_requests(filter?, since?) | Captured fetch + XHR — URL, method, status, duration, headers, request/response bodies (10 KB cap); narrow by filter or since |
get_page_info() | URL, title, readyState, viewport size, scroll position, user agent, and which bridge this page is connected to |
connection_status() | Connected tabs and which one is active, plus this server's name, version, and bound port |
click(selector) | Click an element via native click() (fires click + default activation, not the pointer sequence) |
fill(selector, value) | Set an input/textarea/select value (fires input + change, not keystrokes) |
hover(selector) | Fire mouseover/mouseenter to mount hover UI (JS handlers, not CSS :hover) |
press_key(selector, key) | Dispatch a key press — Enter, Escape, Tab, arrow keys, or a character |
set_style(selector, properties) | Preview a visual fix — set inline CSS live (not saved to source) |
set_attribute(selector, name, value) | Preview an attribute change — toggle disabled, swap a class, set aria-* (null removes) |
set_text(selector, text) | Preview wording/label changes — replace an element's text |
reset_overrides() | Undo every live set_style / set_attribute / set_text change |
Live edit is a preview, not a save. set_style / set_attribute / set_text mutate the running DOM so the agent can show you a fix without a rebuild. They are *not* written to your source and reset on reload/HMR. The loop: the agent previews live, you confirm, then it edits the actual source to make it stick. Changes a framework owns (text, controlled attributes) may be overwritten on the next render — the tool result flags this so the agent can tell you.
examples/react-app is a small React app with three deliberate bugs — a good sandbox for trying out the diagnostic workflow:
# Terminal 1 — app
cd examples/react-app && pnpm dev # http://localhost:5173
cd packages/mcp && node dist/index.js
Connect an AI agent and ask it to find what's wrong. The three bugs are all invisible from the UI but findable in under a minute via get_console_logs, get_network_requests, and query_dom.
Two AI agent sessions on one machine each start their own Feedthrough MCP server, and only one of them can have port 8765. That is handled, but it is worth knowing how.
The server moves, and tells you where it went. On a busy port it steps up (8766, 8767, …) instead of failing. connection_status() reports the port it actually bound, and the agent passes that to the dev server it starts:
FEEDTHROUGH_PORT=8766 npm run dev
Every build-tool adapter — vite, webpack, nextjs, nuxt, sveltekit, remix — reads FEEDTHROUGH_PORT (or FEEDTHROUGH_URL for a full ws:// URL) in Node at config-load time and bakes the result into the injected bridge. So a committed, argument-free feedthrough() pairs correctly in any session, with no file edits. An explicit serverUrl option always wins over the environment.
If you start the dev server yourself, the environment is unset and the page falls back to 8765, which may be another session's server. Either export the port before starting it, or pin one per project (below).
Pinning a port per project. For a project you always work on in its own session, pin the port on both ends and neither has to think about it. In .mcp.json:
{
"mcpServers": { "feedthrough": { "command": "npx", "args": ["@feedthrough/mcp"], "env": { "FEEDTHROUGH_PORT": "8770" } } } }
and in the app's config, feedthrough({ serverUrl: "ws://localhost:8770" }).
Telling bridges apart. Each server picks a readable name at startup (quiet-olive-heron) and sends it to every page that connects. The page logs one line to the browser console, stores it on window.__feedthrough.server, and returns it from get_page_info(). The agent's own name comes from connection_status(). Two different names mean the tab is paired with another session's server — so "am I driving the right app?" is one call, not something you notice by watching the wrong window change.
connection_status() — confirm the bridge is connected before anything elseget_console_logs() — errors and app output often identify the root cause immediatelyget_network_requests() — look for failed fetches, wrong URLs, or missing callsquery_dom(selector) — find elements and check what's renderedinspect_element(selector) — deep-dive on a specific elementตัดมาแค่ช่วงต้น อ่านต่อใน repo