mcp

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 11 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 *tools.Runtime, cfg config.Config) *Server

func (*Server) AgentDockContext

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

func (*Server) Dispatch

func (s *Server) Dispatch(ctx context.Context, req jsonrpc.Request) jsonrpc.Response

func (*Server) RuntimeCapabilities

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

func (*Server) RuntimeMCPManage

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

func (*Server) RuntimeMCPServer

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

func (*Server) RuntimeMCPServers

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

func (*Server) RuntimeSkill

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

func (*Server) RuntimeSkillFile added in v0.5.3

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

func (*Server) RuntimeSkillFiles added in v0.5.3

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

func (*Server) RuntimeSkills

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

func (*Server) RuntimeStatus

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

func (*Server) RuntimeTask

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

func (*Server) RuntimeTaskDelete

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

func (*Server) RuntimeTasks

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

func (*Server) ServeStdio

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

type ToolDefinition

type ToolDefinition = tools.ToolDefinition

Jump to

Keyboard shortcuts

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