simpleTaskInteractive.d.ts 524 B

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