mcpserver

package
v0.0.0-...-f4d8909 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolPing             = "ping"
	ToolUploadImage      = "upload_image"
	ToolUploadAppPackage = "upload_app_package"
)

Variables

This section is empty.

Functions

func NewHTTPHandler

func NewHTTPHandler(svc *upload.Service) http.Handler

func NewServer

func NewServer(svc *upload.Service) *mcp.Server

func ToolNames

func ToolNames() []string

Types

type PingInput

type PingInput struct{}

type PingOutput

type PingOutput struct {
	Message string `json:"message" jsonschema:"service liveness message"`
}

type UploadAppPackageInput

type UploadAppPackageInput struct {
	FilePath      string `json:"file_path,omitempty" jsonschema:"server-readable local APK or AAB path"`
	ContentBase64 string `json:"content_base64,omitempty" jsonschema:"base64-encoded APK or AAB content"`
	Filename      string `json:"filename,omitempty" jsonschema:"filename to use with content_base64 or as an override for file_path"`
	AppName       string `json:"app_name" jsonschema:"application name used in object keys"`
	Version       string `json:"version,omitempty" jsonschema:"application version; defaults to nightly when omitted or blank"`
}

type UploadImageInput

type UploadImageInput struct {
	FilePath      string `json:"file_path,omitempty" jsonschema:"server-readable local image path"`
	ContentBase64 string `json:"content_base64,omitempty" jsonschema:"base64-encoded image content"`
	Filename      string `json:"filename,omitempty" jsonschema:"filename to use with content_base64 or as an override for file_path"`
}

Jump to

Keyboard shortcuts

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