Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
garmin-mcp
command
Command garmin-mcp is a Model Context Protocol server for Garmin Connect.
|
Command garmin-mcp is a Model Context Protocol server for Garmin Connect. |
|
notices
command
Command notices regenerates THIRD_PARTY_NOTICES.md from the module cache.
|
Command notices regenerates THIRD_PARTY_NOTICES.md from the module cache. |
|
internal
|
|
|
cmd
Package cmd builds the garmin-mcp Cobra command tree.
|
Package cmd builds the garmin-mcp Cobra command tree. |
|
config
Package config holds the single source of runtime settings for garmin-mcp.
|
Package config holds the single source of runtime settings for garmin-mcp. |
|
cryptostore
Package cryptostore provides versioned AEAD envelope encryption for the credential material this server persists: Garmin DI token sets today, and any other secret-bearing record later.
|
Package cryptostore provides versioned AEAD envelope encryption for the credential material this server persists: Garmin DI token sets today, and any other secret-bearing record later. |
|
garmin/api
Package api holds the Garmin Connect domain clients, split by domain rather than gathered into one client.
|
Package api holds the Garmin Connect domain clients, split by domain rather than gathered into one client. |
|
garmin/auth
Package auth performs the native Garmin Connect login and keeps the resulting DI token set usable.
|
Package auth performs the native Garmin Connect login and keeps the resulting DI token set usable. |
|
garmin/client
Package client is the authenticated request layer for Garmin Connect's API tier.
|
Package client is the authenticated request layer for Garmin Connect's API tier. |
|
garmin/protocol
Package protocol holds the Garmin Connect wire identifiers (hosts, paths, client identities, user agents, pacing bounds) and the login response classifier.
|
Package protocol holds the Garmin Connect wire identifiers (hosts, paths, client identities, user agents, pacing bounds) and the login response classifier. |
|
identity
Package identity models the internal principal and resolves it for a request.
|
Package identity models the internal principal and resolves it for a request. |
|
loginweb
Package loginweb serves the one-shot browser login for a local deployment.
|
Package loginweb serves the one-shot browser login for a local deployment. |
|
mcplog
Package mcplog is the structured logging seam for the MCP server.
|
Package mcplog is the structured logging seam for the MCP server. |
|
mcpserver
Package mcpserver assembles the MCP server over the official Go SDK.
|
Package mcpserver assembles the MCP server over the official Go SDK. |
|
notices
Package notices regenerates THIRD_PARTY_NOTICES.md from the module cache.
|
Package notices regenerates THIRD_PARTY_NOTICES.md from the module cache. |
|
oauthserver
Package oauthserver is the MCP-facing OAuth component of this server: the protected-resource side that verifies bearer tokens, and, in the self-contained deployment mode, the authorization-server side that issues them.
|
Package oauthserver is the MCP-facing OAuth component of this server: the protected-resource side that verifies bearer tokens, and, in the self-contained deployment mode, the authorization-server side that issues them. |
|
oauthstore
Package oauthstore adapts the SQLite backend in internal/store to the storage interfaces internal/oauthserver declares.
|
Package oauthstore adapts the SQLite backend in internal/store to the storage interfaces internal/oauthserver declares. |
|
policy
Package policy decides whether one tool call may proceed.
|
Package policy decides whether one tool call may proceed. |
|
ratelimit
Package ratelimit bounds how fast one principal may call Garmin.
|
Package ratelimit bounds how fast one principal may call Garmin. |
|
resources
Package resources serves the constant documents this server publishes as MCP resources.
|
Package resources serves the constant documents this server publishes as MCP resources. |
|
securefile
Package securefile reads and writes secret-bearing files without letting a hostile filesystem redirect, widen or truncate them.
|
Package securefile reads and writes secret-bearing files without letting a hostile filesystem redirect, widen or truncate them. |
|
store
Package store persists the Garmin DI token set for a principal.
|
Package store persists the Garmin DI token set for a principal. |
|
testkit
Package testkit provides a scripted fake Garmin Connect server for tests.
|
Package testkit provides a scripted fake Garmin Connect server for tests. |
|
tokenlink
Package tokenlink joins the Garmin DI token consumer to its persistence.
|
Package tokenlink joins the Garmin DI token consumer to its persistence. |
|
tools
Package tools registers the Garmin MCP tools.
|
Package tools registers the Garmin MCP tools. |
|
Package migrations carries the embedded, forward-only SQL schema migrations for the SQLite storage backend in internal/store.
|
Package migrations carries the embedded, forward-only SQL schema migrations for the SQLite storage backend in internal/store. |
Click to show internal directories.
Click to hide internal directories.