
github webhook railway
A Node.js + Express webhook listener for GitHub, enabling automated dev workflows in Cursor using GitHub MCP. Deployable on Railway.
Repository Info
About This Server
A Node.js + Express webhook listener for GitHub, enabling automated dev workflows in Cursor using GitHub MCP. Deployable on Railway.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
# 🧠 Local GitHub Webhook → Cursor Dev Automation
## 📌 What This Does
- Listens on port 3333 for GitHub webhooks (via Ngrok)
- Detects when cards are moved to `In Progress`
- Logs a `TRIGGER_CURSOR` message
- Cursor sees this and uses GitHub MCP tools to:
- Create a branch
- Generate code
- Push it
- Open a PR
## 🚀 How To Use
1. Copy `.env.example` → `.env` and add your GitHub webhook secret.
2. Start server:
npm install
npm run dev
3. Run Ngrok in another terminal:
ngrok http 3333
4. Copy the Ngrok URL into your GitHub Webhook settings:
- Payload URL: https://<your-ngrok-id>.ngrok.io/webhook
- Content type: application/json
- Secret: same as in .env
- Events: Project Cards, Issues, PRs
5. Open this project in Cursor. When you move a card to `In Progress`, you'll see:
TRIGGER_CURSOR:ISSUE_IN_PROGRESS { title, body, number }
Cursor will react and use the GitHub MCP to do the dev work for you.
Quick Start
Clone the repository
git clone https://github.com/swarn2099/github-webhook-railwayInstall dependencies
cd github-webhook-railway
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.