返回 CodeWhale
catalog_cap_pages.case.json
根目录 / crates / tui / tests / fixtures / conformance / mcp / catalog_cap_pages.case.json
1 {
2 "description": "A server whose tools/list never ends (65 pages of one tool; MAX_MCP_CATALOG_PAGES = 64). Pins Rust McpCatalogBudget::observe_page: the 65th page ends discovery and the server advertises nothing. The negative control serves exactly 64 pages and must see the server connect.",
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 "generate_pages": {
20 "count": 65,
21 "prefix": "paged"
22 }
23 }
24 },
25 "steps": [
26 {
27 "op": "catalog"
28 }
29 ]
30 }
31
31 lines JSON