feedthrough — Claude Code MCP server: what it does, how to install
feedthrough is an MCP server for Claude Code that lets an agent inspect a live web page and interact with it. It exposes DOM data, console output and network activity.
MIT ★ 5 updated 2026-09-04
claude mcp add --env FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> --env FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> --transport stdio feedthrough -- npx -y @feedthrough/mcpWhat feedthrough does
feedthrough adds a diagnostic bridge to a running web page. It captures console messages and fetch/XHR traffic, while its DOM tools let an agent inspect elements or interact with controls. The MCP process communicates with the page over WebSocket and makes its tools available through stdio.
Page injection is available through adapters for Vite, Next.js, Nuxt 3, SvelteKit, Remix, Webpack, Cypress and Playwright, or by loading @feedthrough/core manually. Start the server with npx @feedthrough/mcp; browser connections use ws://127.0.0.1:8765. When several tabs are connected, commands go to the one used most recently. The Next.js, Nuxt 3, SvelteKit and Remix adapters run only in development.
What it helps with
- inspect the DOM of a running page
- trace console messages alongside network activity
- click a control or fill a field through an agent
- inject the bridge into a Cypress or Playwright test page
Example prompts for the agent
- Find the cause of the error on this page and inspect the console output.
- Click the submit button and identify the network request it triggers.
- Fill in the form and check how the page content changes.
How to install feedthrough
Platform CLI
claude mcp add --env FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> --env FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> --transport stdio feedthrough -- npx -y @feedthrough/mcpReplace <…> with your own values
Platform CLI
codex mcp add feedthrough --env FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> --env FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> -- npx -y @feedthrough/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"feedthrough": {
"command": "npx",
"args": [
"-y",
"@feedthrough/mcp"
],
"env": {
"FEEDTHROUGH_PORT": "<FEEDTHROUGH_PORT>",
"FEEDTHROUGH_ALLOWED_HOST_SUFFIXES": "<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"feedthrough": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@feedthrough/mcp"
],
"env": {
"FEEDTHROUGH_PORT": "<FEEDTHROUGH_PORT>",
"FEEDTHROUGH_ALLOWED_HOST_SUFFIXES": "<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> -e FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> feedthrough npx -y @feedthrough/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about feedthrough
How do I install feedthrough in Claude Code?
Add the MCP server with claude mcp add feedthrough -- npx -y @feedthrough/mcp.
What does feedthrough do?
It connects an MCP agent to a running web page. The agent can inspect DOM state, read console messages and network activity, and interact with page controls.
Does feedthrough work in browsers other than Chrome?
Yes. The bridge can be injected into pages in any browser, and adapters are available for several frameworks and testing tools.