server

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string, client *strava.Client, opts *Options) *mcpserver.MCPServer

New creates a new MCP server with the given version string and Strava client. opts may be nil — update tools are simply not registered in that case.

Types

type Options added in v1.2.0

type Options struct {
	Checker *update.Checker
	Updater *update.Updater
}

Options holds optional dependencies for the MCP server. When nil, update tools are not registered (e.g., dev builds).

Jump to

Keyboard shortcuts

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