all scenarios

Always 500

always-500 · Status & reliability

Endpoint (Streamable HTTP)
https://chaos-mcp.thomascdnns.com/s/always-500/mcp
On the wire — recorded from a real request
your clientchaos-mcp01initializePOST /s/always-500/mcp500 Internal Server Error · text/plain · 3 mspanic: runtime error: invalid memory address or nil pointer dereference\tgoroutine 17 [running]:\tmain.handleToolCall(...)! body does not parse as JSON — expecting valueContent-Type: text/plain; charset=utf-8tools/list answers identically — every request does

Symptom

what you'll observe

Every request returns HTTP 500 with a stack-trace-like body.

Cause

what this reproduces

An unrecovered panic or a misconfigured dependency on the hot path.

Fix

how you'd resolve it

Recover panics, return structured JSON-RPC errors, and add health checks.

Try it with curl
bash
curl -sS -X POST \
  https://chaos-mcp.thomascdnns.com/s/always-500/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '
"jsonrpc""2.0"
"id"1
"method""initialize"
"params"
"protocolVersion""2024-11-05"
"capabilities"
"clientInfo""name""curl""version""1"

'