agent

package
v0.6.39 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Server)

Option is a function that configures an MCP server instance

func WithTool

func WithTool(tool tool.Tool) Option

WithTool registers a tool with the MCP server

func WithTools

func WithTools() Option

WithTools enables the MCP server to support tools

func WithVersion

func WithVersion(version string) Option

WithVersion sets the MCP server version

type Server

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

Server wraps the mcp server with Plural credentials

func NewServer

func NewServer(client console.Client, options ...Option) *Server

NewServer creates a new MCP server instance

func (*Server) Start

func (in *Server) Start() error

Start starts the MCP server with stdio transport

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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