Annotation Interface McpServerEndpoint


Applies to classes that expose an MCP endpoint.
Author:
Mark Allen
  • Element Details

    • path

      Declares the HTTP path for the MCP transport endpoint.
      Returns:
      the MCP endpoint path
    • name

      Declares the MCP server name.
      Returns:
      the server name exposed during initialization
    • version

      Declares the MCP server version.
      Returns:
      the server version exposed during initialization
    • instructions

      Declares optional server instructions metadata.
      Returns:
      the server instructions, or an empty string if unspecified
      Default:
      ""
    • title

      Declares optional server title metadata.
      Returns:
      the server title, or an empty string if unspecified
      Default:
      ""
    • description

      Declares optional server description metadata.
      Returns:
      the server description, or an empty string if unspecified
      Default:
      ""
    • websiteUrl

      Declares optional server website URL metadata.
      Returns:
      the server website URL, or an empty string if unspecified
      Default:
      ""