RequestBin Server
FreeNot checkedEnables AI coding agents to create webhook bins, inspect and replay HTTP requests, and stand up mock API endpoints directly from the editor.
About
Enables AI coding agents to create webhook bins, inspect and replay HTTP requests, and stand up mock API endpoints directly from the editor.
README
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-server
Or run directly with npx:
npx @requestbin/mcp-server
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_bins |
List all your webhook bins with URLs and stats |
create_bin |
Create a new webhook bin (returns URL for webhook endpoint) |
get_bin |
Get bin details including recent interactions |
delete_bin |
Delete a webhook bin |
list_interactions |
List captured HTTP requests for a bin (method, headers, body) |
replay_request |
Send an HTTP request to any URL (server-side replay) |
get_replay_status |
Check the status of a replay job |
list_servers |
List available servers for bin creation |
Mock APIs (*.rbmock.dev):
| Tool | Description |
|---|---|
list_mock_endpoints |
List your mock endpoints with slug, URL, and rule count |
create_mock_endpoint |
Create a mock endpoint (returns live {slug}.rbmock.dev URL) |
add_mock_rule |
Append a routing rule (match method/path → status + headers + body) |
deploy_mock |
Publish the current rule set so the live mock server picks it up |
list_mock_captures |
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 servers - Call
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 bins - Call
list_interactionswith the bin ID and limit of 5 - Display 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 request - Call
replay_requestwith the same method, headers, and body targetinghttp://localhost:3000/webhooks - Call
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.dev - Call
add_mock_ruletwice (one per path) with the matching status codes and JSON bodies - Call
deploy_mockto publish — the URL is now ready to point your integration at
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
REQUESTBIN_API_KEY |
Yes | -- | Your API key from requestbin.net/api-keys |
REQUESTBIN_BASE_URL |
No | https://requestbin.net |
Custom API base URL (for self-hosted instances) |
REQUESTBIN_MOCK_DOMAIN |
No | rbmock.dev |
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
Install RequestBin Server in Claude Desktop, Claude Code & Cursor
unyly install requestbin-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add requestbin-mcp-server -- npx -y @requestbin/mcp-serverFAQ
Is RequestBin Server MCP free?
Yes, RequestBin Server MCP is free — one-click install via Unyly at no cost.
Does RequestBin Server need an API key?
No, RequestBin Server runs without API keys or environment variables.
Is RequestBin Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install RequestBin Server in Claude Desktop, Claude Code or Cursor?
Open RequestBin Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare RequestBin Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
