File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { MCPConnectionManager } from "../../src/common/connectionManager.js";
1515import { DeviceId } from "../../src/helpers/deviceId.js" ;
1616import { connectionErrorHandler } from "../../src/common/connectionErrorHandler.js" ;
1717import { Keychain } from "../../src/common/keychain.js" ;
18+ import { Elicitation } from "../../src/elicitation.js" ;
1819
1920interface ParameterInfo {
2021 name : string ;
@@ -96,14 +97,19 @@ export function setupIntegrationTest(
9697
9798 const telemetry = Telemetry . create ( session , userConfig , deviceId ) ;
9899
100+ const mcpServerInstance = new McpServer ( {
101+ name : "test-server" ,
102+ version : "5.2.3" ,
103+ } ) ;
104+
105+ const elicitation = new Elicitation ( { server : mcpServerInstance . server } ) ;
106+
99107 mcpServer = new Server ( {
100108 session,
101109 userConfig,
102110 telemetry,
103- mcpServer : new McpServer ( {
104- name : "test-server" ,
105- version : "5.2.3" ,
106- } ) ,
111+ mcpServer : mcpServerInstance ,
112+ elicitation,
107113 connectionErrorHandler,
108114 } ) ;
109115
You can’t perform that action at this time.
0 commit comments