# feedthrough

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: feedthrough
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/feedthrough/feedthrough
- Updated: 2026-09-04
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/feedthrough

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `FEEDTHROUGH_PORT`, `FEEDTHROUGH_ALLOWED_HOST_SUFFIXES` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> --env FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> --transport stdio feedthrough -- npx -y @feedthrough/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add feedthrough --env FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> --env FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> -- npx -y @feedthrough/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e FEEDTHROUGH_PORT=<FEEDTHROUGH_PORT> -e FEEDTHROUGH_ALLOWED_HOST_SUFFIXES=<FEEDTHROUGH_ALLOWED_HOST_SUFFIXES> feedthrough npx -y @feedthrough/mcp
```
Replace <…> with your own values

## When to use it
- 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
- 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.

## Similar
- [web-debug](https://affpapa.org/en/nevibecode/skills/web-debug.md) — skill · 4500 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/commands/webapp-testing.md) — command · 259 installs
- [frontend-testing-debugging](https://affpapa.org/en/nevibecode/skills/frontend-testing-debugging.md) — skill · 159 installs
- [webEmbedding](https://affpapa.org/en/nevibecode/mcp/webembedding.md) — MCP server · ★ 15 repo stars
- [playwright](https://affpapa.org/en/nevibecode/agents/playwright.md) — subagent · ★ 42872 repo stars
- [e2e-test-builder](https://affpapa.org/en/nevibecode/skills/e2e-test-builder.md) — skill · 273 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
