Help us shape the future of Go! Take the 2026 Go Developer Survey

mcp

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(runtime *app.Runtime, cfg config.Config) *Server

func (*Server) AgentDockContext

func (s *Server) AgentDockContext(ctx context.Context) (app.Result, error)

func (*Server) HTTPHandler added in v0.6.0

func (s *Server) HTTPHandler() http.Handler

func (*Server) RuntimeCapabilities

func (s *Server) RuntimeCapabilities(ctx context.Context, refresh bool) (app.Result, error)

func (*Server) RuntimeMCPManage

func (s *Server) RuntimeMCPManage(ctx context.Context, args map[string]any) (app.Result, error)

func (*Server) RuntimeMCPServer

func (s *Server) RuntimeMCPServer(ctx context.Context, name string) (app.Result, error)

func (*Server) RuntimeMCPServers

func (s *Server) RuntimeMCPServers(ctx context.Context) (app.Result, error)

func (*Server) RuntimeSkill

func (s *Server) RuntimeSkill(skill string) (app.Result, error)

func (*Server) RuntimeSkillFile added in v0.5.3

func (s *Server) RuntimeSkillFile(skill, path string) (app.Result, error)

func (*Server) RuntimeSkillFiles added in v0.5.3

func (s *Server) RuntimeSkillFiles(skill string) (app.Result, error)

func (*Server) RuntimeSkills

func (s *Server) RuntimeSkills() (app.Result, error)

func (*Server) RuntimeStatus

func (s *Server) RuntimeStatus() app.Result

func (*Server) RuntimeTask

func (s *Server) RuntimeTask(id string) (app.Result, error)

func (*Server) RuntimeTaskDelete

func (s *Server) RuntimeTaskDelete(id string) (app.Result, error)

func (*Server) RuntimeTasks

func (s *Server) RuntimeTasks(status string, limit int) (app.Result, error)

func (*Server) ServeStdio

func (s *Server) ServeStdio(in io.Reader, out io.Writer) error

type ToolDefinition

type ToolDefinition = app.ToolDefinition

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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