RequestBin MCP Server
OfficialAllows creating webhook bins for testing Stripe webhooks, replaying captured events to local servers, and mocking Stripe API endpoints (e.g., /v1/charges) with custom responses.
Click on "Deploy 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., "@RequestBin MCP Server Create a webhook bin for testing my Stripe integration"
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.
@requestbin/mcp-server
Use RequestBin directly in Claude Code, Cursor, Windsurf, and any MCP-compatible AI coding agent.
Create webhook bins, inspect captured HTTP requests, replay them, and stand up mock API endpoints — all without leaving your editor.
Installation
npm install -g @requestbin/mcp-serverOr run directly with npx:
npx @requestbin/mcp-serverRelated MCP server: reqlog
Get an API Key
Go to requestbin.net/api-keys
Create a new API key
API keys and MCP access are available on every plan, including FREE (5 keys per account). Per-feature limits (bin count, mock endpoint count, custom mock slug) still apply per plan — see requestbin.net/pricing.
Configuration
Claude Code
Add to your project's .mcp.json or ~/.claude/settings.json:
{
"mcpServers": {
"requestbin": {
"command": "requestbin-mcp",
"env": {
"REQUESTBIN_API_KEY": "rb_your_key_here"
}
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"requestbin": {
"command": "requestbin-mcp",
"env": {
"REQUESTBIN_API_KEY": "rb_your_key_here"
}
}
}
}Cursor
Add to Cursor Settings > MCP Servers:
{
"requestbin": {
"command": "requestbin-mcp",
"env": {
"REQUESTBIN_API_KEY": "rb_your_key_here"
}
}
}Windsurf
Add to ~/.windsurf/mcp_config.json:
{
"mcpServers": {
"requestbin": {
"command": "requestbin-mcp",
"env": {
"REQUESTBIN_API_KEY": "rb_your_key_here"
}
}
}
}Available Tools
Webhook bins & replay:
Tool | Description |
| List all your webhook bins with URLs and stats |
| Create a new webhook bin (returns URL for webhook endpoint) |
| Get bin details including recent interactions |
| Delete a webhook bin |
| List captured HTTP requests for a bin (method, headers, body) |
| Send an HTTP request to any URL (server-side replay) |
| Check the status of a replay job |
| List available servers for bin creation |
Mock APIs (*.rbmock.dev):
Tool | Description |
| List your mock endpoints with slug, URL, and rule count |
| Create a mock endpoint (returns live |
| Append a routing rule (match method/path → status + headers + body) |
| Publish the current rule set so the live mock server picks it up |
| List recent requests that hit a mock endpoint — verify your integration is actually calling the mock URL |
Example Workflow
Here is what a typical conversation looks like with an AI agent that has the RequestBin MCP server configured:
You: "Create a webhook bin for testing my Stripe integration"
The agent will:
Call
list_serversto find available serversCall
create_binwith name "Stripe Webhooks"Return the bin URL to configure in your Stripe Dashboard
You: "Show me the last 5 requests to my Stripe webhook bin"
The agent will:
Call
list_binsto find your binsCall
list_interactionswith the bin ID and limit of 5Display the HTTP method, path, headers, and body of each captured request
You: "Replay the last webhook event to my local server at localhost:3000/webhooks"
The agent will:
Call
list_interactionsto find the most recent requestCall
replay_requestwith the same method, headers, and body targetinghttp://localhost:3000/webhooksCall
get_replay_statusto confirm delivery
You: "Stand up a mock Stripe API that returns 200 for POST /v1/charges and 402 for POST /v1/charges/decline"
The agent will:
Call
create_mock_endpointwith name "Stripe mock" — gets back a live URL likehttps://abc12.rbmock.devCall
add_mock_ruletwice (one per path) with the matching status codes and JSON bodiesCall
deploy_mockto publish — the URL is now ready to point your integration at
Environment Variables
Variable | Required | Default | Description |
| Yes | -- | Your API key from requestbin.net/api-keys |
| No |
| Custom API base URL (for self-hosted instances) |
| No |
| Domain that hosts mock endpoints (override for self-hosted) |
Requirements
Node.js >= 18
A RequestBin account (FREE tier works — API/MCP is open to every plan)
Development
npm install
npm run dev # runs with tsx (hot reload)
npm run build # compile TypeScript to dist/License
MIT
Available Tools
13 toolsadd_mock_ruleA
Append a routing rule to a mock endpoint. Rules are matched in priority order; the first match wins. After adding rules, call deploy_mock to publish them.
Inputs: endpointId (required), method (required), path (required), statusCode (required), +3 more.
create_binA
Create a new webhook bin to capture HTTP requests. Returns the bin URL you can use as a webhook endpoint.
Inputs: name (required), serverId (required), note.
create_mock_endpointA
Create a mock API endpoint. Returns a live URL ({slug}.rbmock.dev) that responds to HTTP requests with rules you configure. A starter rule (any-method any-path → 200 JSON) is added automatically. Custom slugs require PRO/TEAM; otherwise an auto-slug is generated.
Inputs: name, slug.
delete_binB
Delete a webhook bin (soft delete)
Inputs: binId (required).
deploy_mockA
Publish the current rule set of a mock endpoint to the live mock server. Bumps the configVersion and invalidates edge caches so new requests see the latest rules.
Inputs: endpointId (required).
get_binA
Get details of a specific bin including recent interactions
Inputs: binId (required).
get_replay_statusB
Check the status of a replay job
Inputs: jobId (required).
list_binsA
List all your webhook bins with their URLs and stats
Inputs: no named parameters.
list_interactionsA
List captured HTTP requests (interactions) for a bin
Inputs: binId (required), limit.
list_mock_capturesA
List recent captured requests that hit a mock endpoint. Use this to verify your integration is actually calling the mock URL — shows method, path, status, and time for each capture. Returns up to 50 by default.
Inputs: endpointId (required), limit.
list_mock_endpointsA
List your mock API endpoints (custom HTTP responses at {slug}.rbmock.dev). Useful for finding endpoint IDs and current rule counts.
Inputs: no named parameters.
list_serversA
List available servers (needed for creating bins). Returns server IDs you can use with create_bin.
Inputs: no named parameters.
replay_requestB
Send an HTTP request to any URL (replay/test webhook delivery). The request is executed server-side.
Inputs: method (required), url (required), headers, body, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Tools clearly separate bin and mock endpoint domains, but some overlap exists between list_interactions and list_mock_captures; descriptions help distinguish them.
All tool names follow a consistent verb_noun pattern with snake_case, e.g., create_bin, list_mock_endpoints, replay_request.
13 tools is well-scoped for managing webhook bins and mock endpoints, covering creation, listing, rules, and replay without being excessive.
Core workflows are present, but notable gaps exist: no delete_mock_endpoint, no update/remove rule operations, and mock endpoint details are limited to listing.
Maintenance
Related MCP Connectors
Capture, inspect, send and assert on webhooks and inbound email from your coding agent.
Webhook, email, WebSocket and tunnel testing for AI agents: capture, wait, verify, replay.
Instant no-signup webhook & HTTP-request inspector for testing webhooks and agent tool-callbacks.
Debug webhooks from your AI agent: inspect and replay captured webhooks on localhost.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.58 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides AI coding agents with tools to query, search, and analyze persisted HTTP request logs, enabling efficient debugging without terminal noise.MIT
- AlicenseAqualityCmaintenanceCaptures incoming webhook/HTTP requests and lets AI assistants inspect, wait for, and replay them to debug webhook integrations.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create webhook URLs, wait for incoming deliveries, inspect payloads, and replay or send signed webhook events to a local handler.58 npmMIT