| 1 | { |
| 2 | "requests_summary": { |
| 3 | "authorization_shapes": [ |
| 4 | "<bearer>" |
| 5 | ], |
| 6 | "rpcs": [ |
| 7 | "initialize", |
| 8 | "notifications/initialized", |
| 9 | "tools/call", |
| 10 | "tools/list" |
| 11 | ], |
| 12 | "statuses": [ |
| 13 | 200, |
| 14 | 202, |
| 15 | 401, |
| 16 | 500 |
| 17 | ] |
| 18 | }, |
| 19 | "server_received": [ |
| 20 | { |
| 21 | "arguments": {}, |
| 22 | "method": "tools/call", |
| 23 | "name": "echo" |
| 24 | }, |
| 25 | { |
| 26 | "arguments": {}, |
| 27 | "method": "tools/call", |
| 28 | "name": "echo_credential" |
| 29 | }, |
| 30 | { |
| 31 | "arguments": {}, |
| 32 | "method": "tools/call", |
| 33 | "name": "revoked" |
| 34 | } |
| 35 | ], |
| 36 | "steps": [ |
| 37 | { |
| 38 | "op": "boot", |
| 39 | "outcome": "ok" |
| 40 | }, |
| 41 | { |
| 42 | "op": "catalog", |
| 43 | "tools": [ |
| 44 | { |
| 45 | "allowed_callers": [ |
| 46 | "direct" |
| 47 | ], |
| 48 | "defer_loading": false, |
| 49 | "description": "", |
| 50 | "input_schema": { |
| 51 | "type": "object" |
| 52 | }, |
| 53 | "name": "mcp_conformance_echo" |
| 54 | }, |
| 55 | { |
| 56 | "allowed_callers": [ |
| 57 | "direct" |
| 58 | ], |
| 59 | "defer_loading": false, |
| 60 | "description": "A buggy server: answers 500 and repeats the Authorization header.", |
| 61 | "input_schema": { |
| 62 | "type": "object" |
| 63 | }, |
| 64 | "name": "mcp_conformance_echo_credential" |
| 65 | }, |
| 66 | { |
| 67 | "allowed_callers": [ |
| 68 | "direct" |
| 69 | ], |
| 70 | "defer_loading": false, |
| 71 | "description": "The token stops being accepted mid-session.", |
| 72 | "input_schema": { |
| 73 | "type": "object" |
| 74 | }, |
| 75 | "name": "mcp_conformance_revoked" |
| 76 | } |
| 77 | ] |
| 78 | }, |
| 79 | { |
| 80 | "op": "call", |
| 81 | "outcome": { |
| 82 | "ok": { |
| 83 | "content": { |
| 84 | "content": [ |
| 85 | { |
| 86 | "text": "authenticated", |
| 87 | "type": "text" |
| 88 | } |
| 89 | ] |
| 90 | }, |
| 91 | "content_blocks": [], |
| 92 | "metadata": null, |
| 93 | "success": true |
| 94 | } |
| 95 | }, |
| 96 | "tool": "mcp_conformance_echo" |
| 97 | }, |
| 98 | { |
| 99 | "op": "call", |
| 100 | "outcome": { |
| 101 | "err": { |
| 102 | "detail": "Failed to execute tool: MCP tool failed: MCP Streamable HTTP rejected (transport=http url=<SERVER_URL> status=500 Internal Server Error): upstream failure while handling Authorization: Bearer ***", |
| 103 | "kind": "execution_failed" |
| 104 | } |
| 105 | }, |
| 106 | "tool": "mcp_conformance_echo_credential" |
| 107 | }, |
| 108 | { |
| 109 | "op": "call", |
| 110 | "outcome": { |
| 111 | "ok": { |
| 112 | "content": "MCP tool failed: MCP server 'conformance' requires authentication (◆ auth required); MCP server 'conformance' authenticates with the environment variable CODEWHALE_CONFORMANCE_MCP_TOKEN; the server rejected that credential. Correct it, then run `/mcp reload`.", |
| 113 | "content_blocks": [], |
| 114 | "metadata": { |
| 115 | "mcp_catalog_changed": true |
| 116 | }, |
| 117 | "success": false |
| 118 | } |
| 119 | }, |
| 120 | "tool": "mcp_conformance_revoked" |
| 121 | }, |
| 122 | { |
| 123 | "op": "catalog", |
| 124 | "tools": [] |
| 125 | } |
| 126 | ] |
| 127 | } |
| 128 |