Interface ServerDefinition.Builder

  • Method Details

    • schemaVersion

      ServerDefinition.Builder schemaVersion(String schemaVersion)

      The schema version of the server definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.

      Parameters:
      schemaVersion - The schema version of the server definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inlineContent

      ServerDefinition.Builder inlineContent(String inlineContent)

      The JSON content containing the MCP server definition, conforming to the MCP protocol specification.

      Parameters:
      inlineContent - The JSON content containing the MCP server definition, conforming to the MCP protocol specification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.