Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTokenStore ¶ added in v1.3.1
func GetTokenStore(url string) client.TokenStore
GetTokenStore returns the tokenStore instance for the given URL
Types ¶
type BaseMessage ¶
type GatewayToolset ¶ added in v1.0.7
type GatewayToolset struct {
// contains filtered or unexported fields
}
func NewGatewayToolset ¶ added in v1.0.7
func NewGatewayToolset(mcpServerName string, config any, toolFilter []string, envProvider environment.Provider) *GatewayToolset
func (*GatewayToolset) Instructions ¶ added in v1.0.7
func (t *GatewayToolset) Instructions() string
func (*GatewayToolset) Start ¶ added in v1.0.7
func (t *GatewayToolset) Start(ctx context.Context) error
func (*GatewayToolset) Stop ¶ added in v1.0.7
func (t *GatewayToolset) Stop() error
type RPCResponse ¶
type RPCResponse struct {
Error *string
Response *json.RawMessage
}
type TokenManager ¶ added in v1.3.1
type TokenManager struct {
// contains filtered or unexported fields
}
TokenManager manages token stores per URL
func (*TokenManager) GetTokenStoreForServer ¶ added in v1.3.1
func (m *TokenManager) GetTokenStoreForServer(url string) client.TokenStore
GetTokenStoreForServer returns a token store for the given URL, creating it if necessary
type Toolset ¶
type Toolset struct {
// contains filtered or unexported fields
}
Toolset represents a set of MCP tools
func NewRemoteToolset ¶ added in v1.6.3
func NewRemoteToolset(url, transport string, headers map[string]string, toolFilter []string, redirectURI string) (*Toolset, error)
NewRemoteToolset creates a new MCP toolset from a remote MCP Server.
func NewToolsetCommand ¶
NewToolsetCommand creates a new MCP toolset from a command.
func (*Toolset) Instructions ¶
Click to show internal directories.
Click to hide internal directories.