| 1 | { |
| 2 | "requests": [ |
| 3 | { |
| 4 | "authorization": null, |
| 5 | "protocol_version": null, |
| 6 | "rpc": "initialize", |
| 7 | "session": null, |
| 8 | "status": 200 |
| 9 | }, |
| 10 | { |
| 11 | "authorization": null, |
| 12 | "protocol_version": "2025-03-26", |
| 13 | "rpc": "notifications/initialized", |
| 14 | "session": "session-1", |
| 15 | "status": 202 |
| 16 | }, |
| 17 | { |
| 18 | "authorization": null, |
| 19 | "protocol_version": "2025-03-26", |
| 20 | "rpc": "tools/list", |
| 21 | "session": "session-1", |
| 22 | "status": 200 |
| 23 | }, |
| 24 | { |
| 25 | "authorization": null, |
| 26 | "protocol_version": "2025-03-26", |
| 27 | "rpc": "tools/call", |
| 28 | "session": "session-1", |
| 29 | "status": 200 |
| 30 | }, |
| 31 | { |
| 32 | "authorization": null, |
| 33 | "protocol_version": "2025-03-26", |
| 34 | "rpc": "tools/call", |
| 35 | "session": "session-1", |
| 36 | "status": 404 |
| 37 | }, |
| 38 | { |
| 39 | "authorization": null, |
| 40 | "protocol_version": null, |
| 41 | "rpc": "initialize", |
| 42 | "session": null, |
| 43 | "status": 200 |
| 44 | }, |
| 45 | { |
| 46 | "authorization": null, |
| 47 | "protocol_version": "2025-03-26", |
| 48 | "rpc": "notifications/initialized", |
| 49 | "session": "session-2", |
| 50 | "status": 202 |
| 51 | }, |
| 52 | { |
| 53 | "authorization": null, |
| 54 | "protocol_version": "2025-03-26", |
| 55 | "rpc": "tools/list", |
| 56 | "session": "session-2", |
| 57 | "status": 200 |
| 58 | }, |
| 59 | { |
| 60 | "authorization": null, |
| 61 | "protocol_version": "2025-03-26", |
| 62 | "rpc": "tools/call", |
| 63 | "session": "session-2", |
| 64 | "status": 200 |
| 65 | }, |
| 66 | { |
| 67 | "authorization": null, |
| 68 | "protocol_version": "2025-03-26", |
| 69 | "rpc": "tools/call", |
| 70 | "session": "session-2", |
| 71 | "status": 200 |
| 72 | }, |
| 73 | { |
| 74 | "authorization": null, |
| 75 | "protocol_version": null, |
| 76 | "rpc": "initialize", |
| 77 | "session": null, |
| 78 | "status": 200 |
| 79 | }, |
| 80 | { |
| 81 | "authorization": null, |
| 82 | "protocol_version": "2025-03-26", |
| 83 | "rpc": "notifications/initialized", |
| 84 | "session": "session-3", |
| 85 | "status": 202 |
| 86 | }, |
| 87 | { |
| 88 | "authorization": null, |
| 89 | "protocol_version": "2025-03-26", |
| 90 | "rpc": "tools/list", |
| 91 | "session": "session-3", |
| 92 | "status": 200 |
| 93 | }, |
| 94 | { |
| 95 | "authorization": null, |
| 96 | "protocol_version": "2025-03-26", |
| 97 | "rpc": "tools/call", |
| 98 | "session": "session-3", |
| 99 | "status": 200 |
| 100 | } |
| 101 | ], |
| 102 | "server_received": [ |
| 103 | { |
| 104 | "arguments": {}, |
| 105 | "method": "tools/call", |
| 106 | "name": "notify_tool" |
| 107 | }, |
| 108 | { |
| 109 | "arguments": { |
| 110 | "text": "first" |
| 111 | }, |
| 112 | "method": "tools/call", |
| 113 | "name": "echo" |
| 114 | }, |
| 115 | { |
| 116 | "arguments": {}, |
| 117 | "method": "tools/call", |
| 118 | "name": "session_error" |
| 119 | }, |
| 120 | { |
| 121 | "arguments": { |
| 122 | "text": "after session error" |
| 123 | }, |
| 124 | "method": "tools/call", |
| 125 | "name": "echo" |
| 126 | } |
| 127 | ], |
| 128 | "steps": [ |
| 129 | { |
| 130 | "op": "boot", |
| 131 | "outcome": "ok" |
| 132 | }, |
| 133 | { |
| 134 | "op": "catalog", |
| 135 | "tools": [ |
| 136 | { |
| 137 | "allowed_callers": [ |
| 138 | "direct" |
| 139 | ], |
| 140 | "defer_loading": false, |
| 141 | "description": "Echo.", |
| 142 | "input_schema": { |
| 143 | "type": "object" |
| 144 | }, |
| 145 | "name": "mcp_conformance_echo" |
| 146 | }, |
| 147 | { |
| 148 | "allowed_callers": [ |
| 149 | "direct" |
| 150 | ], |
| 151 | "defer_loading": false, |
| 152 | "description": "Answers with a tools/list_changed notification.", |
| 153 | "input_schema": { |
| 154 | "type": "object" |
| 155 | }, |
| 156 | "name": "mcp_conformance_notify_tool" |
| 157 | }, |
| 158 | { |
| 159 | "allowed_callers": [ |
| 160 | "direct" |
| 161 | ], |
| 162 | "defer_loading": false, |
| 163 | "description": "Answers with a JSON-RPC error that mentions the session.", |
| 164 | "input_schema": { |
| 165 | "type": "object" |
| 166 | }, |
| 167 | "name": "mcp_conformance_session_error" |
| 168 | } |
| 169 | ] |
| 170 | }, |
| 171 | { |
| 172 | "op": "call", |
| 173 | "outcome": { |
| 174 | "ok": { |
| 175 | "content": { |
| 176 | "content": [ |
| 177 | { |
| 178 | "text": "notified", |
| 179 | "type": "text" |
| 180 | } |
| 181 | ] |
| 182 | }, |
| 183 | "content_blocks": [], |
| 184 | "metadata": null, |
| 185 | "success": true |
| 186 | } |
| 187 | }, |
| 188 | "tool": "mcp_conformance_notify_tool" |
| 189 | }, |
| 190 | { |
| 191 | "op": "catalog", |
| 192 | "tools": [ |
| 193 | { |
| 194 | "allowed_callers": [ |
| 195 | "direct" |
| 196 | ], |
| 197 | "defer_loading": false, |
| 198 | "description": "Echo.", |
| 199 | "input_schema": { |
| 200 | "type": "object" |
| 201 | }, |
| 202 | "name": "mcp_conformance_echo" |
| 203 | }, |
| 204 | { |
| 205 | "allowed_callers": [ |
| 206 | "direct" |
| 207 | ], |
| 208 | "defer_loading": false, |
| 209 | "description": "Answers with a tools/list_changed notification.", |
| 210 | "input_schema": { |
| 211 | "type": "object" |
| 212 | }, |
| 213 | "name": "mcp_conformance_notify_tool" |
| 214 | }, |
| 215 | { |
| 216 | "allowed_callers": [ |
| 217 | "direct" |
| 218 | ], |
| 219 | "defer_loading": false, |
| 220 | "description": "Answers with a JSON-RPC error that mentions the session.", |
| 221 | "input_schema": { |
| 222 | "type": "object" |
| 223 | }, |
| 224 | "name": "mcp_conformance_session_error" |
| 225 | } |
| 226 | ] |
| 227 | }, |
| 228 | { |
| 229 | "op": "call", |
| 230 | "outcome": { |
| 231 | "ok": { |
| 232 | "content": { |
| 233 | "content": [ |
| 234 | { |
| 235 | "text": "echo", |
| 236 | "type": "text" |
| 237 | } |
| 238 | ] |
| 239 | }, |
| 240 | "content_blocks": [], |
| 241 | "metadata": null, |
| 242 | "success": true |
| 243 | } |
| 244 | }, |
| 245 | "tool": "mcp_conformance_echo" |
| 246 | }, |
| 247 | { |
| 248 | "op": "catalog", |
| 249 | "tools": [ |
| 250 | { |
| 251 | "allowed_callers": [ |
| 252 | "direct" |
| 253 | ], |
| 254 | "defer_loading": false, |
| 255 | "description": "Only advertised after a reconnect.", |
| 256 | "input_schema": { |
| 257 | "type": "object" |
| 258 | }, |
| 259 | "name": "mcp_conformance_added_later" |
| 260 | }, |
| 261 | { |
| 262 | "allowed_callers": [ |
| 263 | "direct" |
| 264 | ], |
| 265 | "defer_loading": false, |
| 266 | "description": "Echo.", |
| 267 | "input_schema": { |
| 268 | "type": "object" |
| 269 | }, |
| 270 | "name": "mcp_conformance_echo" |
| 271 | }, |
| 272 | { |
| 273 | "allowed_callers": [ |
| 274 | "direct" |
| 275 | ], |
| 276 | "defer_loading": false, |
| 277 | "description": "Answers with a tools/list_changed notification.", |
| 278 | "input_schema": { |
| 279 | "type": "object" |
| 280 | }, |
| 281 | "name": "mcp_conformance_notify_tool" |
| 282 | }, |
| 283 | { |
| 284 | "allowed_callers": [ |
| 285 | "direct" |
| 286 | ], |
| 287 | "defer_loading": false, |
| 288 | "description": "Answers with a JSON-RPC error that mentions the session.", |
| 289 | "input_schema": { |
| 290 | "type": "object" |
| 291 | }, |
| 292 | "name": "mcp_conformance_session_error" |
| 293 | } |
| 294 | ] |
| 295 | }, |
| 296 | { |
| 297 | "op": "call", |
| 298 | "outcome": { |
| 299 | "err": { |
| 300 | "detail": "Failed to execute tool: MCP tool failed: MCP server 'conformance' connection closed during tool call 'session_error'; outcome unknown, not retried", |
| 301 | "kind": "execution_failed" |
| 302 | } |
| 303 | }, |
| 304 | "tool": "mcp_conformance_session_error" |
| 305 | }, |
| 306 | { |
| 307 | "op": "call", |
| 308 | "outcome": { |
| 309 | "ok": { |
| 310 | "content": { |
| 311 | "content": [ |
| 312 | { |
| 313 | "text": "echo", |
| 314 | "type": "text" |
| 315 | } |
| 316 | ] |
| 317 | }, |
| 318 | "content_blocks": [], |
| 319 | "metadata": null, |
| 320 | "success": true |
| 321 | } |
| 322 | }, |
| 323 | "tool": "mcp_conformance_echo" |
| 324 | } |
| 325 | ] |
| 326 | } |
| 327 |