返回 CodeWhale
catalog_cap_cursor_repeat.case.json
根目录 / crates / tui / tests / fixtures / conformance / mcp / catalog_cap_cursor_repeat.case.json
1 {
2 "description": "A tools/list whose nextCursor points back at itself. Pins Rust McpCatalogBudget::observe_page: a repeated pagination cursor aborts discovery instead of looping until the page cap.",
3 "server_name": "conformance",
4 "expect_boot": "error",
5 "server": {
6 "initialize": {
7 "result": {
8 "protocolVersion": "2025-06-18",
9 "serverInfo": {
10 "name": "catalog-fixture",
11 "version": "1.0.0"
12 },
13 "capabilities": {
14 "tools": {}
15 }
16 }
17 },
18 "tools/list": [
19 {
20 "match": {
21 "cursor": "loop"
22 },
23 "result": {
24 "tools": [
25 {
26 "name": "again",
27 "inputSchema": {
28 "type": "object"
29 }
30 }
31 ],
32 "nextCursor": "loop"
33 }
34 },
35 {
36 "result": {
37 "tools": [
38 {
39 "name": "first",
40 "inputSchema": {
41 "type": "object"
42 }
43 }
44 ],
45 "nextCursor": "loop"
46 }
47 }
48 ]
49 },
50 "steps": [
51 {
52 "op": "catalog"
53 }
54 ]
55 }
56
56 lines JSON