A webhook fails on a workspace HTTP endpoint
Point the provider at a Mercur HTTP endpoint that forwards to localhost. Guest Webhook Inspector traffic is not visible over MCP — Connect the endpoint first.
When a webhook fails, a coding agent in your editor can list Mercur HTTP history and open the payload that arrived — instead of you copying JSON or logs into the conversation. Then you fix the handler and Retry from the console.
Request history already has the method, headers, and body the provider sent. Pasting that into an editor chat is slow and easy to get wrong. Remote MCP lets the client query the same workspace history you see in the console.
MCP is a standard protocol many products speak. The useful part here is the context: workspace HTTP request history (and optional inbound mail) in the same Connect → inspect → replay loop — not the protocol itself.
Point the provider at a Mercur HTTP endpoint that forwards to localhost. Guest Webhook Inspector traffic is not visible over MCP — Connect the endpoint first.
list_endpoints, then list_requests (filter by status or path), then get_request for the failed id. Summaries omit bodies; detail includes headers and bodies.
Change the code against the payload that actually arrived — signatures, headers, and body — instead of reconstructing the event from memory.
Retry re-sends the stored HTTP request through the live endpoint. MCP cannot replay, start the agent, or mutate traffic. Replay needs proxy mode, a connected agent, and a complete stored payload.
Read-only HTTP tools. list_endpoints may include WebSocket and TCP endpoints; list_requests and get_request only work for HTTP.
Read-only WebSocket tools. list_connections and get_connection only work for WS endpoints. Event lists omit payloads; get_connection_event returns the stored frame.
If you are debugging inbound mail on a temporary @mercur-mail.com inbox, the same server exposes mailbox tools. Summaries omit bodies; detail includes parsed content, not raw MIME or file bytes.
Paste this as a remote / HTTP MCP server. Cursor, Claude Desktop, and other clients that support remote MCP over HTTP and OAuth open a browser so you can sign in.
{
"mcpServers": {
"mercur": {
"url": "https://console.mercur.sh/api/mcp"
}
}
}If the client cannot run OAuth, add a Bearer workspace API key. Replace the placeholder — never commit a real mcr_ secret.
{
"mcpServers": {
"mercur": {
"url": "https://console.mercur.sh/api/mcp",
"headers": {
"Authorization": "Bearer mcr_YOUR_WORKSPACE_KEY"
}
}
}
}The server is Streamable HTTP at https://console.mercur.sh/api/mcp. Prefer OAuth: paste the URL, sign in in the browser, and pick one Solo or Team workspace. If the client cannot run OAuth, create a workspace API key under Settings → Workspace → API keys and send Authorization: Bearer mcr_YOUR_WORKSPACE_KEY. Access is read-only (mcp:read), workspace-scoped, and rate-limited. Free and guest workspaces cannot authorize MCP. Revoke OAuth grants under Settings → Workspace → Connected MCP clients, or revoke the API key.
Remote MCP is read-only, but the tools can return stored request and mail content — including secrets that arrived in traffic.
Retention and stored-request limits: security and data retention.
A Streamable HTTP MCP server on the Mercur console that exposes read-only tools for workspace HTTP request history, WebSocket connections, and inbound mail. MCP clients that support remote HTTP servers (Cursor, Claude Desktop, and others) connect with OAuth or a Bearer workspace API key — no local npm package. MCP itself is a standard protocol; Mercur’s value is the workspace traffic context.
Solo and Team. On Free, Settings shows an upgrade path to Pricing before you can authorize MCP or create a workspace API key.
Add https://console.mercur.sh/api/mcp as a remote / HTTP MCP server. The client signs you in with OAuth and you pick a workspace. API keys (url + Authorization header) remain an optional fallback. See the MCP docs and the Cursor walkthrough on the blog.
No. Keys and OAuth grants are workspace-scoped. Endpoint and mailbox tools only see data belonging to that workspace.
No. MCP tools are read-only. After you change the handler, open the endpoint in the console and press Retry. Replay needs proxy mode, a connected agent, and a complete stored payload.
No. The guest inspector is a browser-only URL. MCP only sees endpoints and mail in the Solo or Team workspace that owns the grant or API key. Connect localhost first, then inspect over MCP.
Never share workspace API keys (mcr_…), OAuth tokens, CLI tokens (mcrcli_…), or console sessions. get_request, get_connection_event, and get_message can include secrets that arrived in traffic. Revoke grants and keys in Workspace Settings.
Add the remote MCP URL, sign in, and ask the client to list recent HTTP requests. After you fix the handler, Retry the stored request from the console.