provider

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerAware

type ServerAware interface {
	SetMCPServer(server *mcp.Server)
}

ServerAware is an optional interface that providers can implement to receive a reference to the MCP server. Used for dynamic tool registration at runtime.

type ToolProvider

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

func NewToolProvider

func NewToolProvider(name string, p toolProvider) ToolProvider

func (*ToolProvider) Name

func (p *ToolProvider) Name() string

func (*ToolProvider) RegisterAll

func (p *ToolProvider) RegisterAll(server *mcp.Server) (toolNames []string, promptNames []string, resourceNames []string)

func (*ToolProvider) RegisterPrompts

func (p *ToolProvider) RegisterPrompts(server *mcp.Server) []string

func (*ToolProvider) RegisterResources

func (p *ToolProvider) RegisterResources(server *mcp.Server) []string

func (*ToolProvider) RegisterTools

func (p *ToolProvider) RegisterTools(server *mcp.Server) []string

Directories

Path Synopsis
browser
Package browser provides Cloud Browser session management, CDP communication, page state tracking, and WebMCP tool discovery/proxy.
Package browser provides Cloud Browser session management, CDP communication, page state tracking, and WebMCP tool discovery/proxy.

Jump to

Keyboard shortcuts

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