mcpserver

package
v0.0.0-...-6dc8561 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Version = "0.1.0"

Variables

This section is empty.

Functions

func New

func New() *mcp.Server

func Serve

func Serve(ctx context.Context) error

Types

type BoardInput

type BoardInput struct {
	Source string `json:"source"`
	Output string `json:"output"`
	Count  int    `json:"count,omitempty"`
}

type ChangeInput

type ChangeInput struct {
	Project string      `json:"project"`
	Output  string      `json:"output"`
	Change  edit.Change `json:"change"`
}

type DoctorResult

type DoctorResult struct {
	Ready        bool              `json:"ready"`
	Platform     string            `json:"platform"`
	Version      string            `json:"version"`
	Dependencies map[string]string `json:"dependencies"`
}

func Doctor

func Doctor() DoctorResult

type Empty

type Empty struct{}

type ExtractInput

type ExtractInput struct {
	Source string  `json:"source"`
	Start  float64 `json:"start"`
	End    float64 `json:"end"`
	Output string  `json:"output"`
}

type FrameInput

type FrameInput struct {
	Source string  `json:"source"`
	At     float64 `json:"at"`
	Output string  `json:"output"`
	Width  int     `json:"width,omitempty"`
}

type IndexInput

type IndexInput struct {
	Root   string `json:"root"`
	Output string `json:"output"`
	Match  string `json:"match,omitempty" jsonschema:"Optional case-insensitive filename substring"`
}

type NewInput

type NewInput struct {
	Source    string `json:"source"`
	Output    string `json:"output"`
	KeepAudio bool   `json:"keep_audio,omitempty"`
}

type ProjectInput

type ProjectInput struct {
	Project string `json:"project" jsonschema:"Path to an edit project JSON file, not an iMovie library"`
}

type RenderInput

type RenderInput struct {
	Project string `json:"project"`
	Output  string `json:"output"`
	Preview bool   `json:"preview,omitempty"`
}

type SaveInput

type SaveInput struct {
	Project edit.Project `json:"project"`
	Output  string       `json:"output"`
}

type ScenesInput

type ScenesInput struct {
	Source      string  `json:"source"`
	Threshold   float64 `json:"threshold,omitempty" jsonschema:"Sensitivity between 0 and 1; defaults to 0.3"`
	MinDuration float64 `json:"min_duration,omitempty" jsonschema:"Minimum suggested shot length in seconds; defaults to 0.5"`
}

type SearchInput

type SearchInput struct {
	Query     string `json:"query"`
	Catalog   string `json:"catalog,omitempty" jsonschema:"Local catalogue path for filename/description/tag/transcript text search"`
	Namespace string `json:"namespace,omitempty" jsonschema:"Populated Layer namespace for semantic search; requires gateway environment variables"`
	Field     string `json:"field,omitempty" jsonschema:"Layer embedding source field, defaults to image_url"`
	Limit     int    `json:"limit,omitempty"`
}

type SearchOutput

type SearchOutput struct {
	Local    *catalog.Matches `json:"local,omitempty"`
	Semantic *layer.Results   `json:"semantic,omitempty"`
}
func Search(ctx context.Context, in SearchInput) (SearchOutput, error)

type SourceInput

type SourceInput struct {
	Source string `json:"source" jsonschema:"Local video path; URLs are not accepted"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL