Skip to main content
Glama
zebbern

Webhook.site MCP Server

by zebbern

Webhook.site MCP サーバー

PyPI Python MCP

webhook.site 用の Model Context Protocol (MCP) サーバー - HTTPリクエスト、メール、DNSルックアップを即座にキャプチャします。Webhookのテスト、APIコールバックのデバッグ、セキュリティテスト、バグバウンティハンティングに最適です。

セキュリティヘルパーツール(SSRF、XSS、カナリアトークン)は許可されたテストのみを対象としています — 自分が所有するシステム、または明示的なテスト許可を得たシステムに限ります。


目次


Related MCP server: hookray-mcp

クイックスタート

インストール

# Using uvx (recommended - no install needed)
uvx webhook-mcp-server==2.2.2

# Or install via pip
pip install webhook-mcp-server==2.2.2

2.2.2 以降を使用してください。2.1.3 は MCP 2.0 では起動しません。

VS Code / GitHub Copilot

.vscode/mcp.json に追加:

{
  "servers": {
    "webhook-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": ["webhook-mcp-server==2.2.2"]
    }
  }
}

Cursor

.cursor/mcp.json(プロジェクト)またはユーザーのMCP設定に追加:

{
  "mcpServers": {
    "webhook-mcp-server": {
      "command": "uvx",
      "args": ["webhook-mcp-server==2.2.2"]
    }
  }
}

Claude Desktop

claude_desktop_config.json に追加:

{
  "mcpServers": {
    "webhook-mcp-server": {
      "command": "uvx",
      "args": ["webhook-mcp-server==2.2.2"]
    }
  }
}

できること

Webhookのキャプチャ

"Create a webhook and show me the URL"
"What requests have been sent to my webhook?"
"Wait for a request to come in"

セキュリティ / バグバウンティ:

"Generate an SSRF payload to test for blind vulnerabilities"
"Create XSS callback payloads to detect blind XSS attacks"
"Make me a canary token to detect if someone accesses a URL"

メール自動化:

"Create a temp email and wait for a password reset link"
"Monitor this webhook for emails and extract all links from them"
"Give me 3 temporary emails at once" (batch creation)

APIテスト:

"Create a webhook that returns a 404 error with a custom message"
"Make a webhook with CORS enabled that waits 5 seconds before responding"
"Send 10 different test requests to a webhook and show me all the captured data"

リアルタイムモニタリング:

"Create a webhook and wait for any HTTP request to arrive"
"Monitor for DNS lookups to detect if a server is making DNS queries"
"Search all requests for ones containing 'password' in the body"

データ分析:

"Export all captured webhook requests to JSON format"
"Show me statistics on requests received in the last hour"
"Filter and show only POST requests with specific headers"

クリエイティブ / 実用的:

"Create a webhook that pretends to be a Stripe payment API"
"Make a fake login endpoint that captures credentials (for pentesting)"
"Set up an email inbox that auto-extracts verification codes"

カナリアトークン

"Create a canary URL to track document access"
"Generate a DNS canary for the config file"
"Set up an email tracker pixel"

ツールリファレンス

Webhook管理

ツール

説明

create_webhook

ここから開始: 使い捨てURL、一時メール、サインアップ/確認/リセット用DNS

create_webhook_with_config

カスタムレスポンス、ステータス、CORS、タイムアウトで作成

get_webhook_url

Webhookトークンの完全なURLを取得

get_webhook_email

{token}@email.webhook.site の一時受信トレイ - サインアップ/確認/マジックリンク/リセット用

get_webhook_dns

WebhookのDNSサブドメインを取得

get_webhook_info

Webhookの設定と統計情報を取得

update_webhook

Webhook設定を変更

delete_webhook

Webhookエンドポイントを削除

リクエスト処理

ツール

説明

send_to_webhook

WebhookにJSONデータを送信

get_webhook_requests

キャプチャされたすべてのリクエストを一覧表示

search_requests

フィルタで検索(メソッド、コンテンツ、日付)

get_latest_request

最も最近のキャプチャリクエストを取得

delete_request

特定のリクエストを削除

delete_all_requests

フィルタ付き一括削除

リアルタイム待機

ツール

説明

wait_for_request

新しい HTTPリクエストを待機(ポーリング、1〜120秒)。return_existing を設定して既存のトラフィックを再利用

wait_for_email

サインアップ後: 確認/マジックリンク/リセットメール、リンク、OTPコードを待機

follow_email_link

キャプチャした確認/マジックリンク/リセットURLを開き、ページプレビューを返す

バグバウンティ / セキュリティ

ツール

説明

generate_ssrf_payload

SSRFテストペイロードを作成(HTTP、DNS、IPベース)

generate_xss_callback

Cookie/DOMキャプチャ付きXSSコールバックペイロードを作成

generate_canary_token

追跡可能なURL、DNS、またはメールカナリアを作成

check_for_callbacks

OOBコールバックをすばやく確認

extract_links_from_request

キャプチャしたメールまたはHTTPボディから確認/リセット/マジックリンクURLを抽出

バッチ & ユーティリティ

ツール

説明

send_multiple_requests

ロードテスト用にリクエストのバッチを送信

export_webhook_data

すべてのリクエストをJSONにエクスポート


使用例

ウェブサイトにサインアップ

  1. create_webhookemail{token}@email.webhook.site)を取得

  2. そのアドレスをサイトで使用(サインアップ、確認、マジックリンク、パスワードリセット)

  3. wait_for_email — メッセージ、確認/ログイン/リセットURL、およびOTPを受信

  4. follow_email_link で確認リンクを開く、または verification_codes をサイトに入力

すでにトークンをお持ちの場合は、get_webhook_email で同じ受信トレイを取得できます。

Webhookの作成

// Response from create_webhook
{
  "token": "abc123-def456-...",
  "url": "https://webhook.site/abc123-def456-...",
  "email": "abc123-def456-...@email.webhook.site",
  "dns": "abc123-def456-....dnshook.site"
}

パスワードリセットメールの待機

// Response from wait_for_email
{
  "email_received": true,
  "subject": "Password Reset Request",
  "from": "noreply@example.com",
  "auth_links": ["https://example.com/reset?token=xyz789"],
  "verification_codes": ["847291"]
}

SSRFテストペイロード

// Response from generate_ssrf_payload
{
  "payloads": {
    "http": "https://webhook.site/token?id=ssrf-test",
    "dns": "ssrf-test.token.dnshook.site",
    "ip_decimal": "http://2130706433/token",
    "ip_hex": "http://0x7f000001/token"
  }
}

各Webhookトークンが提供するもの

エンドポイント

形式

用途

HTTP URL

https://webhook.site/{token}

HTTP/HTTPSリクエストのキャプチャ

サブドメイン

https://{token}.webhook.site

代替URL形式

メール

{token}@email.webhook.site

受信メールのキャプチャ

DNS

{token}.dnshook.site

DNSルックアップのキャプチャ


アーキテクチャ

webhook-mcp-server/
├── server.py              # MCPServer entry point + lifespan
├── handlers/              # Typed @mcp.tool() registrations
├── services/              # Business logic
│   ├── webhook_service.py # Webhook CRUD
│   ├── request_service.py # Request management
│   └── bugbounty_service.py # Security payloads
├── models/                # Config / filter / result types
└── utils/                 # HTTP client, logging, validation

主な特徴

  • 非同期アーキテクチャ - 最適なパフォーマンスのためのノンブロッキングI/O

  • リトライロジック - 一時的な障害に対する指数バックオフ

  • 入力検証 - UUID検証、パラメータのサニタイズ

  • 構造化ロギング - デバッグとモニタリングのためのJSONログ

  • 型安全性 - 全体にわたる完全な型ヒント


開発

セットアップ

git clone https://github.com/zebbern/webhook-mcp-server.git
cd webhook-mcp-server
pip install -e ".[dev]"

テストの実行

# Offline unit tests (default for CI)
pytest -m "not live" -v

# Live webhook.site tests
pytest -m live -v

ローカルでの実行

python server.py

要件

  • Python 3.10+

  • mcp >= 2.0.0

  • httpx >= 0.25.0


変更履歴

バージョン履歴については CHANGELOG.md を参照してください。


貢献

貢献を歓迎します!以下の方法で支援できます:

  1. バグの報告 - 問題を説明するIssueを開く

  2. 機能の提案 - アイデアを添えてIssueを開く

  3. PRの提出 - リポジトリをフォークしてプルリクエストを送信

開発環境のセットアップ

git clone https://github.com/zebbern/webhook-mcp-server.git
cd webhook-mcp-server
pip install -e ".[dev]"
pytest -m "not live" -v

ガイドライン

  • 既存のコードスタイルに従う

  • 新機能にはテストを追加する

  • 必要に応じてドキュメントを更新する

  • PRは単一の変更に焦点を当てる


クレジット

このプロジェクトは webhook.site とは提携しておらず、その承認も受けていません。

リンク


MCPコミュニティのために ❤️ を込めて作られました

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
3wRelease cycle
12Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to create disposable webhook URLs, capture incoming HTTP requests, inspect headers and bodies, and replay them against local or remote endpoints, streamlining the webhook handler development loop.
    5
    13
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables management and inspection of webhook tokens (URLs) and incoming requests via webhook-test.com, allowing users to create, list, fetch details, fetch payloads, and delete webhooks without custom API integrations.

View all related MCP servers

Related MCP Connectors

  • A webhook inbox for agents: one call returns a live URL. Mock, verify, inspect and replay.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

  • URL intelligence for AI agents and developers. 16 tools, 25 signal weights, 20 free checks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zebbern/webhook-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server