Bridges Notion custom agents with automated pipelines to reproduce bugs and build fixes, enabling automated status updates, agent thread callbacks, and task page commenting.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Feedback Pipeline MCP Serverreproduce the login error and build a fix for task page 8c21"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 installCreate a
.envfile with your Notion API token:NOTION_API_TOKEN=your_token_hereStart the server:
node server.jsExpose via ngrok (for Notion to connect):
ngrok http 3001
Architecture
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