Skip to content

Commit 6aaf91a

Browse files
committed
test(mcp): include stateless client metadata
1 parent 8ea5d86 commit 6aaf91a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎apps/server/src/mcp/McpHttpServer.test.ts‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,13 @@ it.effect("answers 2026-07-28 discovery and keeps 2025-06-18 as the initialize f
914914
jsonrpc: "2.0",
915915
id: 3,
916916
method: "tools/list",
917-
params: { _meta: { "io.modelcontextprotocol/protocolVersion": "2026-07-28" } },
917+
params: {
918+
_meta: {
919+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
920+
"io.modelcontextprotocol/clientCapabilities": {},
921+
"io.modelcontextprotocol/clientInfo": { name: "mcp-test", version: "1.0.0" },
922+
},
923+
},
918924
}),
919925
"application/json",
920926
),

0 commit comments

Comments
 (0)