auth

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(spec Config) (*mcp.StreamableClientTransport, error)

Configures MCP transport with Bearer token authentication.

Types

type Config

type Config struct {
	// Endpoint URL of MCP server
	Endpoint string

	// Resource Config file (default is ~/.iqrc) to read credentials from.
	RC string

	// Custom HTTP client (if nil, default client will be used)
	Client *http.Client
}

Jump to

Keyboard shortcuts

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