elsba3ei Webhook MCP Server
A high-performance local and public webhook inspector for testing SSRF, APIs, and out-of-band interactions with Cloudflare Quick Tunnel, dynamic mocks, and callback polling for AI agents.
README
elsba3ei Webhook MCP Server
High-performance local & public Webhook Inspector and Burp Suite Collaborator alternative for testing SSRF, APIs, and Out-Of-Band (OOB) interactions with Cloudflare Quick Tunnel support, dynamic mock responses, live request capture, and callback polling for AI coding agents.
Overview & Capabilities
The elsba3ei-webhook-mcp server connects all major LLM models and AI coding agents (tested & verified with ChatGPT / OpenAI Codex, Anthropic Claude, Google Antigravity, and Cursor / Windsurf) to:
- Instantly spin up local (
http://127.0.0.1:4040/capture) and public Cloudflare Quick Tunnels (https://*.trycloudflare.com/capture) with no account needed. - Inspect incoming HTTP/HTTPS requests (method, headers, query, client IP, JSON, form data, raw text, or binary hex dump).
- Dynamically mock responses with custom status codes, content-types, headers, and simulated response latency.
- Poll & block waiting for out-of-band SSRF / webhook callbacks (
wait_for_request). - Replay and forge custom HTTP requests (
replay_request).
Verified LLM & Agent Compatibility:
- ChatGPT & OpenAI Codex: Automated webhook testing & live interaction loops.
- Anthropic Claude (Claude Desktop & API): FastMCP tool execution.
- Google Antigravity: Agent skill and reactive tool call integration.
- Cursor & Windsurf IDEs: In-editor OOB callback capture and repeater.
System Requirements & Prerequisites
| Requirement | Version / Details | Purpose |
|---|---|---|
| Python | Version 3.10 or higher | Runs the FastMCP server. |
| pip | Latest | Installs dependencies (httpx, aiohttp, mcp). |
| Cloudflared CLI (Optional) | Latest | Required only if you want temporary public HTTPS tunnels. |
Installing Cloudflared CLI (Optional for Public Tunnels):
- Windows:
winget install --id Cloudflare.cloudflared - Linux (Ubuntu / Debian):
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb sudo dpkg -i cloudflared.deb - macOS:
brew install cloudflared
Quick Start Setup
No Docker Required: This server runs natively with standard Python.
Windows Setup (PowerShell)
cd G:\Playing\elsba3ei-webhook-mcp
.\setup.ps1
Linux (Ubuntu / Debian) Setup
# 1. Install Python3 & venv
sudo apt update && sudo apt install -y python3 python3-venv python3-pip
# 2. Make scripts executable and run
cd elsba3ei-webhook-mcp
chmod +x start.sh setup.sh
./start.sh
macOS Setup
cd elsba3ei-webhook-mcp
chmod +x start.sh setup.sh
./start.sh
MCP Client Configuration (Claude Desktop, Cursor, Antigravity)
Connect the MCP server to your AI assistant using direct Python execution.
Windows (%APPDATA%\Claude\claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"elsba3ei-webhook": {
"command": "G:\\Playing\\elsba3ei-webhook-mcp\\.venv\\Scripts\\python.exe",
"args": ["G:\\Playing\\elsba3ei-webhook-mcp\\elsba3ei_webhook_server.py"]
}
}
}
Linux & macOS (~/.config/Claude/claude_desktop_config.json or ~/.cursor/mcp.json):
{
"mcpServers": {
"elsba3ei-webhook": {
"command": "/path/to/elsba3ei-webhook-mcp/.venv/bin/python",
"args": ["/path/to/elsba3ei-webhook-mcp/elsba3ei_webhook_server.py"]
}
}
}
Available MCP Tools Reference
| # | Tool Name | Parameters | Description |
|---|---|---|---|
| 1 | get_webhook_urls |
_dummy="" |
Returns all available localhost, LAN, and public Cloudflare capture URLs. |
| 2 | start_tunnel |
port="4040" |
Launches a temporary Cloudflare Quick Tunnel to expose port 4040 publicly. |
| 3 | stop_tunnel |
_dummy="" |
Terminates the Cloudflare tunnel subprocess. |
| 4 | get_tunnel_status |
_dummy="" |
Returns the active tunnel URL, status, and uptime. |
| 5 | list_requests |
limit="20", method="", path_filter="" |
Summarizes captured requests with metadata. |
| 6 | get_request_details |
request_id="<uuid>" |
Fetches full headers, parsed/raw body, and client IP of a request ID. |
| 7 | wait_for_request |
timeout_seconds="30", path_contains="", method="", body_contains="" |
Polls until an incoming request matches path, method, or body within a timeout. |
| 8 | configure_mock_response |
status_code="200", content_type="application/json", response_body="{...}", delay_ms="0", custom_headers_json="{}" |
Sets dynamic HTTP status, content-type, body, delay, and custom headers. |
| 9 | reset_mock_response |
_dummy="" |
Resets mock engine back to default 200 OK JSON. |
| 10 | clear_requests |
_dummy="" |
Purges the in-memory ring buffer of captured requests. |
| 11 | delete_request |
request_id="<uuid>" |
Removes a single request record by ID. |
| 12 | replay_request |
target_url, method="GET", headers_json="{}", body="", timeout_seconds="10" |
Sends an HTTP request to any target URL and captures the response. |
| 13 | get_server_status |
_dummy="" |
Returns server health, active port, uptime, and captured request counts. |
Optional: Docker Deployment (Alternative)
If you prefer containerized deployment with Docker:
# 1. Build Docker image
docker build -t elsba3ei-webhook:latest .
# 2. Run container
docker run -i --rm -p 4040:4040 elsba3ei-webhook:latest
Docker MCP Configuration:
{
"mcpServers": {
"elsba3ei-webhook": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-p",
"4040:4040",
"elsba3ei-webhook:latest"
]
}
}
}
Troubleshooting Matrix
| Symptom | Root Cause | Fix |
|---|---|---|
docker mcp catalog import not recognized |
Command removed in Docker Desktop 4.40+ | Use docker mcp profile server add default --server file://... instead |
docker mcp server enable not recognized |
Command removed in Docker Desktop 4.40+ | Replaced by docker mcp profile server add |
docker mcp client connect fails: missing flag |
--profile is now required |
Use docker mcp client connect claude-desktop --global --profile default |
| Tools not appearing in Claude | Process uses wrong Docker context | Add --context desktop-linux to docker run args |
| "gateway panic" / Tools vanish | Multi-line tool docstring | Keep ALL @mcp.tool() docstrings to exactly one line |
| Port conflict on 4000/4040 | Port already occupied | Set WEBHOOK_PORT=4041 in environment |
| Tool shows "not loaded yet" | Cache from previous session | Restart Claude Desktop + start a new conversation |
Author & Developer
Developed by Ahmed E. El-Sbaei
- LinkedIn: Ahmed E. El-Sbaei
- GitHub: @elsba3ei
License
Distributed under the MIT License — © 2026 elsba3ei.
<div align="center"> Developed by <b>Ahmed E. El-Sbaei</b> — © 2026 <b>elsba3ei</b> • <a href="https://www.linkedin.com/in/elsba3ei">LinkedIn</a> • <a href="https://github.com/elsba3ei">GitHub</a> </div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。