Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GarminMCPServer ¶
type GarminMCPServer struct {
// contains filtered or unexported fields
}
GarminMCPServer wraps an MCP server exposing Garmin Messenger as tools and resources.
func New ¶
func New(sessionDir, version string, logger *slog.Logger) *GarminMCPServer
New creates a new GarminMCPServer. It attempts non-fatal auth resume so already-logged-in users can use resources immediately.
func (*GarminMCPServer) Run ¶
func (g *GarminMCPServer) Run(ctx context.Context) error
Run starts the MCP server on the given transport and blocks until done.
func (*GarminMCPServer) RunWithTransport ¶
RunWithTransport starts the MCP server on a custom transport (for testing).
Click to show internal directories.
Click to hide internal directories.