Package org.mcpjava.server.prompts


package org.mcpjava.server.prompts
Define MCP prompts.

Prompts are reusable message templates that can be used by MCP clients. Use @Prompt to mark methods as prompts and @PromptArg to configure their arguments.

A PromptResponse can be returned from @Prompt-annotated methods.

See Also:
  • Class
    Description
    Marks a method as providing an MCP prompt template.
    Configures a parameter of a Prompt method.
    A single message within a prompt.
    Represents the result of a prompts/get call.
    Builder for creating a prompt response