UNPKG

@modelcontextprotocol/sdk

Version:

Model Context Protocol implementation for TypeScript

12 lines 524 B
/** * Simple interactive task server demonstrating elicitation and sampling. * * This server demonstrates the task message queue pattern from the MCP Tasks spec: * - confirm_delete: Uses elicitation to ask the user for confirmation * - write_haiku: Uses sampling to request an LLM to generate content * * Both tools use the "call-now, fetch-later" pattern where the initial call * creates a task, and the result is fetched via tasks/result endpoint. */ export {}; //# sourceMappingURL=simpleTaskInteractive.d.ts.map