Skip to content
Fourohtwo

mtfit-mcp.mtfit-mcp.workers.dev/api/adjust_program

Adjust a workout and nutrition plan after a check-in, the way a personal trainer would: weight loss stalled, strength stalled, too sore, missed workouts, low motivation, new pain, or block finished (next 6 week block). Changes calories, steps, sets, effort or training days. Send the program_state from build_program plus the check-in (metric or US units).

BaseAnswering
POSThttps://mtfit-mcp.mtfit-mcp.workers.dev/api/adjust_program

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mtfit-mcp.mtfit-mcp.workers.dev/api/adjust_program", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"check_in":{"issues":["block_finished"]},"program":{"profile":{"age":30,"days_per_week":4,"equipment":"full_gym","experience":"intermediate","goal":"fat_loss","session_minutes":60}}}),
});
console.log(await res.json());

Example input

{
  "check_in": {
    "issues": [
      "block_finished"
    ]
  },
  "program": {
    "profile": {
      "age": 30,
      "days_per_week": 4,
      "equipment": "full_gym",
      "experience": "intermediate",
      "goal": "fat_loss",
      "session_minutes": 60
    }
  }
}

More from MTFIT ProgrammingProvider status