Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
connect-iq-mcp
command
Command connect-iq-mcp is the Garmin Connect IQ MCP server.
|
Command connect-iq-mcp is the Garmin Connect IQ MCP server. |
|
internal
|
|
|
app
Package app wires configuration, credentials, the HTTP client and local state into a tool.Env, and runs the MCP server.
|
Package app wires configuration, credentials, the HTTP client and local state into a tool.Env, and runs the MCP server. |
|
auth
Package auth holds Connect IQ credentials: the developer-portal session cookie for https://apps.garmin.com and the Garmin Connect DI OAuth2 token.
|
Package auth holds Connect IQ credentials: the developer-portal session cookie for https://apps.garmin.com and the Garmin Connect DI OAuth2 token. |
|
auth/login
Package login signs a credential profile in through its dedicated Chromium profile: the interactive window behind `connect-iq-mcp auth login` and the auth_login tool, and (as credstore's credstore.Browser) the headless window of silent renewal.
|
Package login signs a credential profile in through its dedicated Chromium profile: the interactive window behind `connect-iq-mcp auth login` and the auth_login tool, and (as credstore's credstore.Browser) the headless window of silent renewal. |
|
browser
Package browser drives a dedicated Chromium-based browser profile to sign in to Garmin and capture the apps.garmin.com portal cookies and, optionally, a Garmin Connect mobile service ticket.
|
Package browser drives a dedicated Chromium-based browser profile to sign in to Garmin and capture the apps.garmin.com portal cookies and, optionally, a Garmin Connect mobile service ticket. |
|
ciqsdk
Package ciqsdk locates Connect IQ SDKs, devices and Java, parses manifests, runs monkeyc and manages developer keys.
|
Package ciqsdk locates Connect IQ SDKs, devices and Java, parses manifests, runs monkeyc and manages developer keys. |
|
ciqsdk/ciqsdktest
Package ciqsdktest provides a Connect IQ developer key for tests without paying for a 4096-bit RSA generation in every test.
|
Package ciqsdktest provides a Connect IQ developer key for tests without paying for a 4096-bit RSA generation in every test. |
|
config
Package config loads profiles, project pins, environment and mode flags, and checks config file permissions.
|
Package config loads profiles, project pins, environment and mode flags, and checks config file permissions. |
|
connectapi
Package connectapi is a read-only client for the Garmin Connect data API (https://connectapi.garmin.com) authenticated with the DI OAuth2 token.
|
Package connectapi is a read-only client for the Garmin Connect data API (https://connectapi.garmin.com) authenticated with the DI OAuth2 token. |
|
credstore
Package credstore implements auth.Store: the Connect IQ developer-portal session cookie and Garmin Connect DI OAuth2 tokens kept in the OS keychain (or a 0600 file), cross-process locked refresh, and the silent-renewal policy (stamps, backoff) run through an injected Browser.
|
Package credstore implements auth.Store: the Connect IQ developer-portal session cookie and Garmin Connect DI OAuth2 tokens kept in the OS keychain (or a 0600 file), cross-process locked refresh, and the silent-renewal policy (stamps, backoff) run through an injected Browser. |
|
flock
Package flock takes exclusive cross-process file locks.
|
Package flock takes exclusive cross-process file locks. |
|
httpx
Package httpx holds HTTP helpers shared by the upstream clients.
|
Package httpx holds HTTP helpers shared by the upstream clients. |
|
mcpserver
Package mcpserver builds the MCP server from the tool registry: toolsets, read-only withholding, plans, elicitation, resources, prompts and transports.
|
Package mcpserver builds the MCP server from the tool registry: toolsets, read-only withholding, plans, elicitation, resources, prompts and transports. |
|
portal
Package portal is the client for the Connect IQ developer portal's internal API on https://apps.garmin.com, plus the cookie utilities credstore uses.
|
Package portal is the client for the Connect IQ developer portal's internal API on https://apps.garmin.com, plus the cookie utilities credstore uses. |
|
redact
Package redact strips credentials (JWTs, PEM keys, auth headers, cookies, signed URL queries) from text before it reaches logs or tool output.
|
Package redact strips credentials (JWTs, PEM keys, auth headers, cookies, signed URL queries) from text before it reaches logs or tool output. |
|
sim
Package sim drives the Connect IQ simulator: its process, monkeydo sessions, input, screenshots and crash logs.
|
Package sim drives the Connect IQ simulator: its process, monkeydo sessions, input, screenshots and crash logs. |
|
state
Package state persists cursors and upload resume records in the XDG state directory.
|
Package state persists cursors and upload resume records in the XDG state directory. |
|
tool
Package tool is the contract every connect-iq-mcp tool is written against: tool declaration (Meta, Class, Toolset, ConfirmMode), the registry, the Env of dependencies a handler may use (all interfaces, implemented elsewhere), result and error helpers, the confirm/plan gates and the HTTP write guard.
|
Package tool is the contract every connect-iq-mcp tool is written against: tool declaration (Meta, Class, Toolset, ConfirmMode), the registry, the Env of dependencies a handler may use (all interfaces, implemented elsewhere), result and error helpers, the confirm/plan gates and the HTTP write guard. |
|
tool/tooltest
Package tooltest provides in-memory fakes of every tool.Env dependency and helpers to call tools directly, so tool slices unit-test handlers without the MCP server.
|
Package tooltest provides in-memory fakes of every tool.Env dependency and helpers to call tools directly, so tool slices unit-test handlers without the MCP server. |
|
tools/all
Package all links every domain tool package so their init functions register tools with internal/tool.
|
Package all links every domain tool package so their init functions register tools with internal/tool. |
|
tools/connect
Package connect registers the connect toolset: opt-in Garmin Connect data read with the DI OAuth2 token.
|
Package connect registers the connect toolset: opt-in Garmin Connect data read with the DI OAuth2 token. |
|
tools/core
Package core registers the core toolset: credential status.
|
Package core registers the core toolset: credential status. |
|
tools/docsgen
command
Command docsgen writes docs/tools.json and docs/TOOLS.md from the tool registry.
|
Command docsgen writes docs/tools.json and docs/TOOLS.md from the tool registry. |
|
tools/sdk
Package sdk registers the sdk toolset: the local Connect IQ SDK: devices, monkeyc builds, packaging and validation.
|
Package sdk registers the sdk toolset: the local Connect IQ SDK: devices, monkeyc builds, packaging and validation. |
|
tools/simulator
Package simulator registers the simulator toolset: the Connect IQ simulator: launching, side-loading and screenshots.
|
Package simulator registers the simulator toolset: the Connect IQ simulator: launching, side-loading and screenshots. |
|
tools/store
Package store registers the store toolset: the Connect IQ Store developer portal (apps.garmin.com): apps, versions, uploads, reviews and stats.
|
Package store registers the store toolset: the Connect IQ Store developer portal (apps.garmin.com): apps, versions, uploads, reviews and stats. |
|
upstream
Package upstream holds the one error type every Garmin HTTP client returns for a non-auth, non-2xx answer.
|
Package upstream holds the one error type every Garmin HTTP client returns for a non-auth, non-2xx answer. |
Click to show internal directories.
Click to hide internal directories.
