Documentation
¶
Overview ¶
Package server implements the MCP server that exposes 3D model generation capabilities as MCP tools over stdio transport.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadInput ¶
type DownloadInput struct {
TaskID string `json:"taskId" jsonschema:"Task ID of the completed generation"`
Format string `` /* 181-byte string literal not displayed */
}
DownloadInput is used for the download_model tool.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps an MCP server and routes tool calls to provider implementations.
func New ¶
func New(generator provider.ModelGenerator, status provider.ModelStatus, postproc provider.ModelPostProcessor, models provider.ModelLister, outputDir string) *Server
New creates a Server with the given provider implementations.
func NewWithOptions ¶
func NewWithOptions(generator provider.ModelGenerator, status provider.ModelStatus, postproc provider.ModelPostProcessor, models provider.ModelLister, opts Options) *Server
NewWithOptions creates a Server with explicit metadata about the configured backend and output directory.
type TaskIDInput ¶
type TaskIDInput struct {
TaskID string `json:"taskId" jsonschema:"Task ID from a previous generation or post-processing call"`
}
TaskIDInput is used for tools that take only a task ID.
Click to show internal directories.
Click to hide internal directories.