#64

Add Elicitation new standard

Opengregorymopened 1y ago

Activity

3
quuu1y ago

Will look into this, thanks! @gregorym have you see any other servers/ clients implement using elicitation?

dclark271y ago

@gregorym Elicitation works fine, make sure you have a Redis URL and use SSE.

const result = await mcpServer.server.elicitInput({
	message: 'Please select a product from the following list:',
	requestedSchema: {
		type: 'object',
		properties: {
			productName: {
				type: 'string',
				enum: possibleProducts, // string[]
				title: 'Select a product to create a quote for',
			},
		},
	},
});