Skip to main content
Glama
AlexCCGit
by AlexCCGit

OpenGym Coach for ChatGPT Mobile

Mobile adaptation of openGym for the ChatGPT Sites runtime. It lets you plan routines, run guided sessions, edit history, log body weight, view statistics, and connect ChatGPT through an authenticated remote MCP server.

Features

  • Routines, weekly template, and single-day changes.

  • Guided sessions with weight and rep preload.

  • Rep-based or time-based exercises.

  • Editable history and supposed skipped.

  • Estimated 1RM, muscle volume, and body weight.

  • D1 persistence per user with optimistic concurrency control.

  • OAuth 2.0/Auth0 and gym:read / gym:write permissions.

  • MCP Streamable HTTP at /mcp/ with read and write tools.

  • A deterministic Gym Coach importer that preserves unknown exercises.

Related MCP server: chatgpt-sol-local-bridge

Configuration

The app uses the runtime variables documented in .env.example. In production, the AUTH0_AUDIENCE must be exactly the MCP URL ending in /mcp/; the Auth0 audience, the OAuth resource parameter, and the protected resource metadata must match literally.

Development

npm install
npm test
npm run typecheck
npm run build

License and attribution

GNU AGPL-3.0. This work is based on openGym, originally created by Duarte Santos and maintained in the reference fork by Alex Costa. See LICENSE and NOTICE.md for the complete notices.

Related MCP Connectors

Related MCP Servers