返回 CodeWhale
catalog_cap_items.case.json
根目录 / crates / tui / tests / fixtures / conformance / mcp / catalog_cap_items.case.json
1 {
2 "description": "A server advertising one tool more than McpCatalogBudget allows (MAX_MCP_CATALOG_ITEMS = 4096). Pins Rust McpCatalogBudget::observe_page: discovery fails, the server advertises nothing, and a call to one of its tools never reaches it. The negative control puts the same server exactly on the cap and must see it 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_tools": {
20 "count": 4097,
21 "prefix": "bulk"
22 }
23 }
24 },
25 "steps": [
26 {
27 "op": "catalog"
28 },
29 {
30 "op": "call",
31 "tool": "mcp_conformance_bulk-00000",
32 "input": {}
33 }
34 ]
35 }
36
36 lines JSON