fitDEGREE MCP by usefulapi
v1.2.1Read locations, classes, sessions, bookings, members, sales and staff in fitDEGREE.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fitdegree_get_account Get the connected account
Return the fitDEGREE account behind the API key: type (fitspot or company), identifier and label. Good first call to check the connection. API: GET /v1/me.
fitdegree_list_fitspots List fitspots
List the studio locations (fitspots) the key can see: id, name, company. Use the ids in the other list tools. API: GET /v1/fitspots.
| Parameter | Type | Description |
|---|---|---|
company_id | string | Only fitspots of this company id. |
ids | array | Only these ids (max 100). |
order | string | Sort direction of last_updated_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
updated_after | string | Only fitspots updated at or after this datetime. |
updated_before | string | Only fitspots updated at or before this datetime. |
fitdegree_list_classes List classes
List the classes (the studio's class definitions, for example a yoga or spin class) with their class group. API: GET /v1/classes.
| Parameter | Type | Description |
|---|---|---|
group_id | string | Only classes of this class group id. |
ids | array | Only these ids (max 100). |
order | string | Sort direction of last_updated_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
updated_after | string | Only classes updated at or after this datetime. |
updated_before | string | Only classes updated at or before this datetime. |
fitdegree_list_registrables List bookable sessions
List the bookable sessions (registrables): one scheduled class at a studio, with start and end time, cancellation flag and class id. Use it for the schedule and for free spots. API: GET /v1/registrables.
| Parameter | Type | Description |
|---|---|---|
class_id | string | Only sessions of this class id. |
ends_after | string | Only sessions ending at or after this datetime. |
ends_before | string | Only sessions ending at or before this datetime. |
fitspot_id | string | Only sessions at this fitspot id. |
ids | array | Only these ids (max 100). |
is_cancelled | boolean | true = cancelled sessions only; false = active sessions only. |
order_by_start | string | Sort by start_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
starts_after | string | Only sessions starting at or after this datetime. |
starts_before | string | Only sessions starting at or before this datetime. |
fitdegree_list_registrations List bookings
List the bookings (registrations): which member is booked on which bookable session, and the status. Cursor pagination is available: pass next_cursor back as cursor. API: GET /v1/registrations.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Only bookings created at or after this datetime. |
created_before | string | Only bookings created at or before this datetime. |
cursor | string | next_cursor of the previous page. Send an empty string for the first cursor page; omit it to page by page number. |
ids | array | Only these ids (max 100). |
order | string | Sort direction of last_updated_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
registrable_ids | array | Only bookings on these session ids (max 100). |
status | string | Only bookings with this status (as the API defines it). |
updated_after | string | Only bookings updated at or after this datetime. |
updated_before | string | Only bookings updated at or before this datetime. |
user_ids | array | Only bookings of these member ids (max 100). |
fitdegree_list_users List members
List the studio's members (users): name and contact fields as the API returns them, and their fitspot. Cursor pagination is available: pass next_cursor back as cursor. API: GET /v1/users.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor of the previous page. Send an empty string for the first cursor page; omit it to page by page number. |
fitspot_id | string | Only members of this fitspot id. |
ids | array | Only these ids (max 100). |
order | string | Sort direction of last_updated_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
updated_after | string | Only members updated at or after this datetime. |
updated_before | string | Only members updated at or before this datetime. |
fitdegree_list_sales List sales
List the sales (purchases of memberships, passes or other items) with the member they belong to. Cursor pagination is available: pass next_cursor back as cursor. API: GET /v1/sales.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor of the previous page. Send an empty string for the first cursor page; omit it to page by page number. |
ids | array | Only these ids (max 100). |
order | string | Sort direction of last_updated_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
updated_after | string | Only sales updated at or after this datetime. |
updated_before | string | Only sales updated at or before this datetime. |
user_ids | array | Only sales of these member ids (max 100). |
fitdegree_list_team_members List team members
List the studio's staff (team members): name, role fields and whether they are active. Use it to match instructors to sessions. API: GET /v1/team_members.
| Parameter | Type | Description |
|---|---|---|
fitspot_id | string | Only staff of this fitspot id. |
ids | array | Only these ids (max 100). |
is_active | boolean | true = active staff only; false = inactive staff only. |
order | string | Sort direction of last_updated_datetime. |
page | integer | Page number for offset pagination (default 1). |
page_size | integer | Items per page, 1 to 1000. |
updated_after | string | Only staff updated at or after this datetime. |
updated_before | string | Only staff updated at or before this datetime. |