withPrompts

fun withPrompts(vararg promptFunctions: KFunction<*>): Server.Builder

Registers multiple prompts by referencing their @McpPrompt-annotated functions.