imagemcp

package
v0.1.1259 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package imagemcp is `magpie mcp image`: a stdio MCP server an agent is given, when it is picked for it in the Library, to make images with the model the Settings' Image generation names, and videos with the first video model the gateway has (gateway.AutoVideomaker). It asks the gateway, which knows the providers, and saves what comes back in the project.

Index

Constants

View Source
const (
	Folder      = "generated-images"
	VideoFolder = "generated-videos"
)

Folder is where images go in the project when no path is given, and VideoFolder where videos do.

Variables

This section is empty.

Functions

func Run

func Run(args []string) error

Run serves MCP on stdin/stdout until stdin closes.

func ToolTimeout added in v0.1.544

func ToolTimeout() time.Duration

ToolTimeout is how long a job of this server may run: generate_video waits up to videoWait for its video, and a minute more. A call answers within answerWithin all the same; the agents whose config takes it (Codex, Goose) are still given it, as a call's ceiling.

Types

This section is empty.

Jump to

Keyboard shortcuts

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