Feedback Pipeline MCP Server
Bridges Notion custom agents with Claude Code to automate bug reproduction and fix implementation. It utilizes Playwright for browser automation to verify issues and Claude Code to develop and test software fixes.
README
Feedback Pipeline MCP Server
An MCP (Model Context Protocol) server that bridges Notion custom agents with Claude Code for automated bug reproduction and fix building.
Overview
This server allows a Notion custom agent to:
- Reproduce bugs - Uses Playwright browser automation to reproduce reported bugs and capture screenshots
- Build fixes - Uses Claude Code to implement fixes, run tests, and verify with Playwright
Setup
-
Install dependencies:
npm install -
Create a
.envfile with your Notion API token:NOTION_API_TOKEN=your_token_here -
Start the server:
node server.js -
Expose via ngrok (for Notion to connect):
ngrok http 3001
Architecture
Notion Custom Agent
│
▼ (via ngrok)
MCP Server (port 3001)
│
▼
Claude Code CLI
│
▼
Playwright MCP
│
▼
Notion Dev Server (port 3030)
MCP Tools
reproduce_bug
Reproduce a bug using Playwright browser automation.
Parameters:
bug_description(required): Description of the bugreproduction_steps(optional): Steps to reproducecallback_agent_id(required): Agent ID for callbackcallback_thread_id(required): Thread ID for callbackcallback_page_id(required): Page ID for comment notification
build_fix
Build a fix or feature using Claude Code.
Parameters:
description(required): What to build or fixplan(optional): Implementation planverify_with_playwright(optional): Whether to verify with Playwright (default: true)callback_agent_id(required): Agent ID for callbackcallback_thread_id(required): Thread ID for callbackcallback_page_id(required): Page ID for comment notification
get_task_status
Check the status of a running or completed task.
Parameters:
task_id(required): The task ID to check
ping
Test connectivity - returns "pong".
Endpoints
GET /- SSE endpoint for MCP connectionPOST /- MCP message handlerGET /health- Health checkGET /tasks- List all tasksGET /tasks/:taskId- Get task detailsGET /demos- List demo recordingsGET /demos/:taskId/- Live progress page with screenshots
Callbacks
When a task completes, the server:
- Posts results to the agent thread via Notion Agents SDK API
- Adds a comment to the task page with demo URL and summary
Configuration
The server expects:
- Notion dev server running on port 3030
- Playwright MCP configured in the Claude Code environment
NOTION_API_TOKENenvironment variable for callbacks
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.