Connect JustGains to your agents
A trial starts first, then a project installs JustGains from its marketplace.
JustGains MCP server
Give a coaching agent your JustGains history and let it draft the next workout
Install the JustGains MCP server in an Aldena project so agents build workouts, read training history and log meals as the person who signed in.
- Sign-in
- Browser sign-in
- Installs as
justgains- Transport
- Streamable HTTP
JustGains keeps strength workouts, runs and meals in one account: the sessions you lift, the routes you run, the food you log and the bodyweight you track. Its MCP server opens that whole record to an agent, from the exercise library and workout programs to recovery per muscle group and the daily food diary.
A coaching agent in an Aldena project is the natural fit. Ask it for next week's plan and it calls summarize_my_week and get_my_recovery_analytics to see what you trained and what is lagging, checks get_my_exercise_history for the weights you actually moved, and saves Monday's session with create_workout, sets and RPE included. When you tell it what you ate, it finds the foods with search_foods and logs them with log_my_food. Its memory keeps the goals and injuries you mention, so the next plan respects them.
Sign-in happens when you install the server. Aldena opens the JustGains login in your browser, you approve the workouts, progress and profile scopes, and from then on all 29 tools act as you. The ten tools that change data, including remove_my_food and update_my_profile, start on the ask policy, so a person approves each one, while the read tools run without waiting.
With JustGains, your agents can
Generate a workout from a request, or write one out with exact sets, reps, weight and RPE
Read workout logs, personal bests, streaks and per-muscle recovery over any window
Log meals and bodyweight, and check the food diary against daily targets
Find, start and track multi-week programs, or create one from written-out text
Plan and save a route for a run, ride, walk or hike
Try asking
Things to ask an agent in a project chat once it's installed.
“Summarize my JustGains week, then draft Thursday's workout around the muscles I trained least and save it.”
“What's my best bench press set in JustGains, and how has my top weight moved over the last two months?”
“Log lunch in JustGains: a chicken burrito bowl with rice and black beans, then tell me how much protein I have left today.”
“Find a beginner strength program in JustGains that fits three days a week and start it for me.”
JustGains MCP tools
| Tool | What it does | Access |
|---|---|---|
search_exercisesSearches the exercise library by name, muscle group or equipment | Searches the exercise library by name, muscle group or equipment | Read |
show_workoutShows a workout's exercises and sets | Shows a workout's exercises and sets | Read |
generate_workoutGenerates and saves a workout from a plain-language request | Generates and saves a workout from a plain-language request | Write |
get_exercise_detailsInstructions, equipment and muscles worked for one exercise | Instructions, equipment and muscles worked for one exercise | Read |
create_workoutSaves a workout with exact exercises, sets, reps, weight and RPE | Saves a workout with exact exercises, sets, reps, weight and RPE | Write |
update_workoutEdits a workout's title, description or exercise list | Edits a workout's title, description or exercise list | Write |
search_workout_programsSearches the workout program catalog | Searches the workout program catalog | Read |
get_workout_programReads a program with its weeks and days | Reads a program with its weeks and days | Read |
get_my_workout_programsLists the user's program enrollments and progress | Lists the user's program enrollments and progress | Read |
set_my_program_engagementStarts, abandons or completes a program | Starts, abandons or completes a program | Write |
create_workout_programCreates a multi-week program from written-out text | Creates a multi-week program from written-out text | Write |
create_routePlans and saves a run, ride, walk or hike route | Plans and saves a run, ride, walk or hike route | Write |
get_progressDaily XP, volume and steps over a date range | Daily XP, volume and steps over a date range | Read |
get_workout_historyRecent workouts with volume, sets and reps | Recent workouts with volume, sets and reps | Read |
get_my_workout_logsCompleted workout logs over a window | Completed workout logs over a window | Read |
get_my_exercise_historyEvery recorded set of one exercise, plus the personal best | Every recorded set of one exercise, plus the personal best | Read |
get_my_top_exercisesRanks exercises by frequency, max weight and volume | Ranks exercises by frequency, max weight and volume | Read |
get_my_recovery_analyticsWeekly set targets, completion and last-trained date per muscle | Weekly set targets, completion and last-trained date per muscle | Read |
summarize_my_weekA recap of recent logs, recovery and weight change | A recap of recent logs, recovery and weight change | Read |
analyze_my_consistencyStreaks, training days and workouts per week | Streaks, training days and workouts per week | Read |
compare_my_weeksCompares workout count and weight change with the period before | Compares workout count and weight change with the period before | Read |
get_my_weight_historyBodyweight entries with current, lowest and highest | Bodyweight entries with current, lowest and highest | Read |
log_my_weightRecords a bodyweight entry in kg or lb | Records a bodyweight entry in kg or lb | Write |
get_my_food_diaryFood diary, daily totals and targets | Food diary, daily totals and targets | Read |
search_foodsSearches the food catalog and recent diary entries | Searches the food catalog and recent diary entries | Read |
log_my_foodLogs a meal's foods, or corrects an earlier entry | Logs a meal's foods, or corrects an earlier entry | Write |
remove_my_foodRemoves entries from the food diary | Removes entries from the food diary | Write |
get_my_profileReads the profile, units and preferences | Reads the profile, units and preferences | Read |
update_my_profileChanges profile fields such as units, timezone, height or goals | Changes profile fields such as units, timezone, height or goals | Write |
Server
- URL
https://justgains.com/connect/mcp- Website
- justgains.com
- MCP docs
- JustGains MCP docs
How to connect JustGains
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install JustGains
Search for JustGains and press Install. Aldena adds it as
justgains. - Sign in to JustGains
Open the sign-in link Aldena shows and approve. The server then acts as you.
- Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related MCP servers
FAQ
Does the JustGains MCP server cost anything?
No. The connector is free with any JustGains account, and there is no API key to create or paste. Installing it from the Aldena marketplace opens the JustGains sign-in in your browser, and once you approve, the project's agents can use every tool on your behalf.
Which JustGains tools change or delete data?
Ten tools write. remove_my_food deletes entries from the food diary. update_my_profile, update_workout, log_my_food and set_my_program_engagement overwrite what is already there, and generate_workout, create_workout, create_workout_program, create_route and log_my_weight add new records. No tool deletes a workout. Aldena starts all ten on ask.
Why does Aldena install JustGains from /connect/mcp and not /mcp?
https://justgains.com/mcp answers without any sign-in, so only its three public tools work there: search_exercises, generate_workout and show_workout. https://justgains.com/connect/mcp asks for sign-in, which lets Aldena open the JustGains login on install and reach all 29 tools as you.
How does Aldena sign in to JustGains?
With OAuth 2.1 and PKCE using S256. Aldena identifies itself with a Client ID Metadata Document, so there is no client to set up by hand, and JustGains also supports dynamic client registration. JustGains asks for three scopes: workouts, progress and profile. Aldena finds the authorization server through JustGains' well-known protected resource metadata.
How many tools does the JustGains MCP server have?
29 once you are signed in: 19 that read, such as get_workout_history, summarize_my_week and get_my_food_diary, and 10 that write, such as create_workout, log_my_food and remove_my_food. The table on this page lists every one with its access.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.