Connect Suffra to Claude, ChatGPT and other assistants

For AI agents. Your user wants you, or the assistant they use, to work with their Suffra account: the indoor cycling app at suffra.fit. Suffra has an MCP server. Set it up with the steps below. Run the ones your harness can run, and walk the user through the ones it can't. Signing in is always the user's step: they sign in on Suffra's own page in their browser. Never ask for their Suffra password, and never type it.

Before you start:

  1. The user needs a Suffra account. If they don't have one, they make it first at app.suffra.fit or in the Mac app.
  2. Ask whether you may change their training calendar, or only read it. Suffra's sign-in page has a box for that, unticked. Tell them to tick it only if they said yes.

The server

  • MCP URL: https://api.suffra.fit/mcp
  • Transport: Streamable HTTP.
  • Sign-in: OAuth 2.1, with dynamic client registration and PKCE. There is no API key. A client finds everything from https://api.suffra.fit/.well-known/oauth-protected-resource/mcp.
  • What it can do: read the user's rides, training calendar, goals, sleep, FTP and weight, and Suffra's workout and plan libraries. With the user's permission it can also change their training calendar: start, end and shift plans, take days off, and add, move, swap, skip or remove workouts from today on. It can't change rides they've done.
  • Permission: reading, always; changing the calendar, only when the user ticks the box on Suffra's sign-in page.

Claude Code

You can run this yourself:

claude mcp add --scope user --transport http suffra https://api.suffra.fit/mcp

claude mcp list then shows suffra as needing authentication. You can't do the sign-in: it is interactive and happens in the user's browser. Tell the user to start claude in a terminal, type /mcp, choose suffra, then Authenticate. Suffra's page opens in their browser on the same computer: they sign in, tick the box if they said you may change their calendar, and press Connect. If the browser doesn't open, Claude Code shows the sign-in link for them to open. Afterwards claude mcp list shows suffra as connected, and Suffra's tools load in the next session, in the terminal and in the Claude desktop app alike.

To start over: claude mcp remove suffra -s user, then add it again.

Claude (claude.ai, the desktop and mobile apps)

You can't add a connector here. Tell the user to:

  1. Open Settings, then Connectors, and add a custom connector.
  2. Name it Suffra, with the URL https://api.suffra.fit/mcp. Leave the advanced settings empty.
  3. Press Connect, sign in on Suffra's page, tick the box if they want calendar changes, and press Connect there.

On a Team or Enterprise plan, an owner adds the connector under Organization settings, then Connectors, and each member connects their own account. A connector added on the web shows up in the desktop and mobile apps too.

ChatGPT

You can't add a connector here either. Tell the user to:

  1. Open Settings, then Apps & Connectors, then Advanced settings, and turn on Developer mode. On a Business or Enterprise workspace, an admin may have to allow it first.
  2. Back on Apps & Connectors, press Create. Name it Suffra, give the MCP server URL https://api.suffra.fit/mcp, leave authentication on OAuth, tick I trust this application, and press Create.
  3. Sign in on Suffra's page, tick the box if they want calendar changes, and press Connect.
  4. In a new chat, turn Suffra on from the tools menu.

Codex

You can run this yourself:

codex mcp add suffra --url https://api.suffra.fit/mcp

If Codex doesn't ask for the sign-in by itself, run codex mcp login suffra. The user then signs in on Suffra's page in their browser.

Cursor, VS Code and other clients

Add Suffra as a remote server with its URL, and the client handles the sign-in. In Cursor's ~/.cursor/mcp.json:

{ "mcpServers": { "suffra": { "url": "https://api.suffra.fit/mcp" } } }

In VS Code's mcp.json:

{ "servers": { "suffra": { "type": "http", "url": "https://api.suffra.fit/mcp" } } }

Check it works

Call get_profile. It answers with the user's FTP and time zone. Then show the user something useful, such as list_rides for their last week or get_calendar for the days ahead. If a calendar tool answers that the user didn't allow it, they left the box unticked. If they now want calendar changes, they remove Suffra, add it again and tick the box when they sign in.

Working with Suffra

  • Days are YYYY-MM-DD, in the user's time zone (get_profile has it).
  • Suffra's numbers are Effort (weighted power divided by FTP) and Load (an hour at FTP is 100). Use those names.
  • Read get_calendar for the ids a change needs, and check each change with the user before you make it.
  • A change reaches the user's devices the next time Suffra syncs.