Developers
One endpoint speaks the Model Context Protocol (JSON-RPC 2.0 over Streamable HTTP). Agents discover tools with tools/list; a plain GET returns the manifest without auth. Agent-readable version: /llms.txt.
Connect in two steps
- Create a key: Account → API & MCP (format
mbc_xxxx_…). - Point your client at
https://community.maxbio.link/api/mcp with header Authorization: Bearer mbc_….
curl -s https://community.maxbio.link/api/mcp \
-H "Authorization: Bearer $MBC_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_communities","arguments":{}}}'Tools (54)
Community tools need community (slug) and staff or admin rights. approval = queued as an approval card when called by the in-app Operator.
list_communitiesaccountList the communities you own or help run, with your role and live counts. Call this first to get slugs.
create_communityapprovalaccountCreate a new community you own. It starts with one 'General' category and a 5-level Expedition ladder.
| name * | string | Community name |
| description | string | Who it's for, one sentence |
| slug | string | Optional URL slug |
community_statsstaffCounts and setup progress: members, published/draft courses, posts, upcoming events, cart connection, and the next setup step.
| community * | string | Community slug (run list_communities to see yours) |
community_healthstaffEngagement summary: new members, active posters, posts & comments, unanswered posts, at-risk members (joined but silent), top posts.
| community * | string | Community slug (run list_communities to see yours) |
| days | integer | Look-back window in days (default 14) |
update_settingsapprovaladminChange general settings: name, description, about page, privacy, join mode, posting/DM permissions, office hours.
| community * | string | Community slug (run list_communities to see yours) |
| name | string | Community name |
| description | string | One-line description |
| about | string | About page (Markdown) |
| is_public | boolean | Show the public front door |
| join_mode | string: open | approval | invite | paid | How people join |
| members_can_post | boolean | Members may create posts |
| members_can_dm | boolean | Members may DM each other |
| office_hours_enabled | boolean | Hold member posts outside office hours |
| office_hours_from | string | HH:MM |
| office_hours_until | string | HH:MM |
| office_hours_tz | string | IANA timezone e.g. Europe/London |
| office_hours_days | array | Open days |
update_brandingapprovaladminRestyle the whole community: colours, surface, typeface, corners and images (by URL).
| community * | string | Community slug (run list_communities to see yours) |
| brand_color | string | Hex e.g. #7C3AED (buttons) |
| accent_color | string | Hex (highlights, progress) |
| surface | string: snow | tinted | linen | dusk | midnight | Background style |
| typeface | string: inter | poppins | grotesk | editorial | dm | fraunces | syne | archivo | Font pairing |
| corners | string: soft | sharp | Corner style |
| icon_url | string | Square icon image URL |
| cover_url | string | Cover banner URL (1200×400) |
| header_logo_url | string | Wide header logo URL |
| cover_fit | string: contain | cover | contain = show whole banner, cover = crop to fill |
set_labelsapprovaladminRename tabs (e.g. Members → Club) and Expedition level names/emoji so the room speaks the client's language.
| community * | string | Community slug (run list_communities to see yours) |
| tabs | object | Tab names to rename |
| levels | array | Rename Expedition levels |
list_categoriesstaffList feed categories in order, with post counts and which is the default.
| community * | string | Community slug (run list_communities to see yours) |
create_categoryapprovaladminAdd a feed category (iGloo's AI can't do this — ours can).
| community * | string | Community slug (run list_communities to see yours) |
| name * | string | Category name |
| emoji | string | One emoji |
| staff_only | boolean | Only staff can post here (announcements) |
update_categoryapprovaladminRename a category, change its emoji, staff-only flag, or make it the default.
| community * | string | Community slug (run list_communities to see yours) |
| category_id * | string | Category id |
| name | string | New name |
| emoji | string | Emoji |
| staff_only | boolean | Staff-only posting |
| make_default | boolean | Make this the default |
get_onboardingstaffRead the joining questions and join mode.
| community * | string | Community slug (run list_communities to see yours) |
configure_onboardingapprovaladminSet the joining questions new members answer. Existing answers are kept (old questions are archived, not deleted).
| community * | string | Community slug (run list_communities to see yours) |
| questions * | array | Replaces the joining questions (max 8) |
list_level_rewardsstaffRead the Expedition ladder: level names, thresholds and rewards.
| community * | string | Community slug (run list_communities to see yours) |
set_level_rewardapprovaladminAttach a reward to an Expedition level (and optionally rename it or change its points threshold).
| community * | string | Community slug (run list_communities to see yours) |
| level * | integer | Level number 1-5 |
| type * | string: text | course | chat | webhook | none | text = promise you deliver; course = auto-unlock; chat = owner DMs the text; webhook = signed reward.unlocked |
| text | string | What members see / the DM text |
| course_slug | string | For type=course: which course unlocks |
| threshold | integer | Points needed (optional change) |
| name | string | Rename the level |
| emoji | string | Level emoji |
list_payment_eventsadminRecent cart deliveries and what each one granted or revoked (or why not).
| community * | string | Community slug (run list_communities to see yours) |
| limit | integer | Default 20 |
list_membersstaffList members (name, handle, role, level, points, joined). Email addresses are never exposed to AI.
| community * | string | Community slug (run list_communities to see yours) |
| status | string: active | pending | banned | removed | Default active |
| search | string | Name or handle contains |
| limit | integer | Default 50 |
list_postsstaffList posts with like/comment counts. 'unanswered' = published posts with no comments yet; 'held' = waiting in the office-hours queue.
| community * | string | Community slug (run list_communities to see yours) |
| filter | string: latest | unanswered | drafts | scheduled | held | pinned | Default latest |
| category_id | string | Only this category |
| limit | integer | Default 20 |
read_poststaffRead a post in full with its whole comment thread.
| community * | string | Community slug (run list_communities to see yours) |
| post_id * | string | Post id |
create_postapprovalstaffCreate a feed post as you. Use draft:true to leave it for human review. Staff posts ignore office hours.
| community * | string | Community slug (run list_communities to see yours) |
| title * | string | Headline |
| body | string | Markdown body |
| category_id | string | Category id (list_categories); default category if omitted |
| draft | boolean | Save as draft (recommended — review before publishing) |
| publish_at | string | Schedule: ISO date-time, e.g. 2026-10-05T09:00 (community timezone) |
| pinned | boolean | Pin to the top of the feed |
| video_url | string | Optional YouTube/Vimeo/Loom URL |
update_postapprovalstaffEdit a post's title, body, category or comment setting.
| community * | string | Community slug (run list_communities to see yours) |
| post_id * | string | Post id |
| title | string | New title |
| body | string | New body |
| category_id | string | Move to category |
| comments_off | boolean | Turn comments off/on |
publish_postapprovalstaffPublish a draft, scheduled or held post now.
| community * | string | Community slug (run list_communities to see yours) |
| post_id * | string | Draft/held/scheduled post id |
pin_postapprovalstaffPin or unpin a post (iGloo's AI can't — ours can).
| community * | string | Community slug (run list_communities to see yours) |
| post_id * | string | Post id |
| pinned * | boolean | true to pin, false to unpin |
list_commentsstaffRecent comments across the community (or one post). unanswered:true finds comments still waiting for a reply.
| community * | string | Community slug (run list_communities to see yours) |
| post_id | string | Only this post |
| unanswered | boolean | Only comments nobody has replied to |
| limit | integer | Default 30 |
reply_to_postapprovalstaffComment on a post as you.
| community * | string | Community slug (run list_communities to see yours) |
| post_id * | string | Post id |
| body * | string | Reply text |
reply_to_commentapprovalstaffReply to a specific comment (threads stay one level deep).
| community * | string | Community slug (run list_communities to see yours) |
| comment_id * | string | Comment id |
| body * | string | Reply text |
list_conversationsstaffYour own direct-message threads in this community (never anyone else's).
| community * | string | Community slug (run list_communities to see yours) |
read_conversationstaffRead one of your own DM threads.
| community * | string | Community slug (run list_communities to see yours) |
| conversation_id * | string | Conversation id |
send_chat_messageapprovalstaffSend a direct message as you to a member.
| community * | string | Community slug (run list_communities to see yours) |
| to_handle * | string | Recipient @handle |
| body * | string | Message |
invite_memberapprovaladminCreate an invite link (optionally locked to one email). Share the returned URL — nothing is emailed automatically.
| community * | string | Community slug (run list_communities to see yours) |
| email | string | Email to invite (optional: omit for a shareable link) |
| role | string: member | moderator | admin | client_admin | Default member |
| days_valid | integer | Default 14 |
approve_memberapprovalstaffApprove a pending join request.
| community * | string | Community slug (run list_communities to see yours) |
| handle * | string | Pending member @handle |
set_member_roleapprovaladminChange a member's role. The owner role can only be transferred in the app.
| community * | string | Community slug (run list_communities to see yours) |
| handle * | string | @handle |
| role * | string: member | moderator | client_admin | admin | New role |
list_eventsstaffList events with their next occurrence and RSVP counts.
| community * | string | Community slug (run list_communities to see yours) |
| include_drafts | boolean | Include drafts |
| include_past | boolean | Include past one-off events |
create_eventapprovalstaffCreate an event. Unlike iGloo, events can be drafts and can repeat weekly, fortnightly or monthly.
| community * | string | Community slug (run list_communities to see yours) |
| title * | string | Event name |
| starts_at * | string | Local start, e.g. 2026-10-08T19:00 |
| timezone | string | IANA timezone (default community office-hours tz) |
| duration_min | integer | Default 60 |
| description | string | What it's about |
| platform | string: zoom | meet | teams | gotowebinar | demio | custom | inperson | Where it happens |
| link | string | Joining link |
| location | string | Address if in person |
| recurrence | string: none | weekly | fortnightly | monthly | Repeat (monthly = same weekday of month) |
| repeat_until | string | Stop repeating after this date (YYYY-MM-DD) |
| capacity | integer | Max attendees |
| host_name | string | Host |
| draft | boolean | Save as a draft (not on the calendar yet) — recommended for AI proposals |
update_eventapprovalstaffEdit an event, publish a draft, or cancel it.
| community * | string | Community slug (run list_communities to see yours) |
| event_id * | string | Event id |
| status | string: draft | published | cancelled | Publish, unpublish or cancel |
| title | string | Title |
| description | string | Description |
| link | string | Joining link |
| capacity | integer | Capacity |
| starts_at | string | New local start time |
list_coursesstaffList courses with published state, access type and lesson counts.
| community * | string | Community slug (run list_communities to see yours) |
create_courseapprovalstaffCreate a course (always starts unpublished). Then add modules and lessons.
| community * | string | Community slug (run list_communities to see yours) |
| title * | string | Course title |
| description | string | Card blurb |
| access | string: free | paid | level | free = included with membership |
| cover_url | string | 16:9 cover image URL |
create_moduleapprovalstaffAdd a module to the end of a course.
| community * | string | Community slug (run list_communities to see yours) |
| course_slug * | string | Course slug |
| title * | string | Module title |
| drip_days | integer | Unlock N days after the member joins |
create_lessonapprovalstaffAdd a lesson to the end of a module. Video links auto-embed.
| community * | string | Community slug (run list_communities to see yours) |
| module_id * | string | Module id (from create_module/get_course) |
| title * | string | Lesson title |
| body | string | Lesson notes (Markdown) |
| video_url | string | YouTube / Vimeo / Wistia / Loom URL |
| resource_url | string | Download link |
| minutes | integer | Length in minutes |
update_lessonapprovalstaffEdit a lesson.
| community * | string | Community slug (run list_communities to see yours) |
| lesson_id * | string | Lesson id |
| title | string | Title |
| body | string | Notes |
| video_url | string | Video URL |
| resource_url | string | Download link |
| minutes | integer | Minutes |
get_coursestaffRead a course's whole tree: modules (with drip) and lessons in order.
| community * | string | Community slug (run list_communities to see yours) |
| course_slug * | string | Course slug |
publish_courseapprovalstaffPublish or unpublish a course.
| community * | string | Community slug (run list_communities to see yours) |
| course_slug * | string | Course slug |
| published * | boolean | true = members can open it |
set_course_dripapprovalstaffControl when a module unlocks: N days after a member joins, or on a fixed date.
| community * | string | Community slug (run list_communities to see yours) |
| module_id * | string | Module id |
| drip_days | integer | Days after join (0 or empty = immediately) |
| drip_date | string | Or fixed date YYYY-MM-DD |
set_course_accessapprovaladminMake a course free with membership, paid (unlocked by a cart product), or an Expedition reward.
| community * | string | Community slug (run list_communities to see yours) |
| course_slug * | string | Course slug |
| access * | string: free | paid | level | Who can open it |
| product_ref | string | Cart product id/slug that unlocks it (paid) |
| price_label | string | Display price e.g. £47 |
| checkout_url | string | Buy button link |
delete_itemapprovaladminTwo-step delete. First call returns what would be deleted plus a confirm_token; only a second call with that token deletes. Nothing is deleted on the first call.
| community * | string | Community slug (run list_communities to see yours) |
| type * | string: post | comment | event | course | module | lesson | category | What to delete |
| id * | string | Its id (course accepts slug) |
| confirm_token | string | Leave empty on the first call. Show the human what will be deleted, then call again with the token returned. |
list_support_ticketsstaffMember support tickets, newest activity first.
| community * | string | Community slug (run list_communities to see yours) |
| status | string: open | pending | closed | all | Default open |
read_support_ticketstaffRead a support ticket's full conversation.
| community * | string | Community slug (run list_communities to see yours) |
| ticket_id * | string | Ticket id |
reply_to_support_ticketapprovalstaffReply to a ticket as you (sets it to pending).
| community * | string | Community slug (run list_communities to see yours) |
| ticket_id * | string | Ticket id |
| body * | string | Reply |
set_support_ticket_statusstaffOpen, pend or close a ticket.
| community * | string | Community slug (run list_communities to see yours) |
| ticket_id * | string | Ticket id |
| status * | string: open | pending | closed | New status |
import_prospectsaccountAdd local businesses to your prospect pipeline (duplicates by name+city are skipped).
| prospects * | array | Businesses to add |
list_prospectsaccountList prospects in your pipeline.
| status | string: new | contacted | call_booked | proposal | won | lost | Filter by stage |
| niche | string | Filter by niche |
| limit | integer | Default 50 |
read_prospectaccountRead a prospect with your notes and saved research.
| prospect_id * | string | Prospect id |
save_prospect_workaccountSave research, append notes, or link a demo community to a prospect.
| prospect_id * | string | Prospect id |
| research | string | Research / opportunity write-up (replaces) |
| notes | string | Append a note |
| community_slug | string | Link a demo community |
set_prospect_statusaccountMove a prospect to a pipeline stage.
| prospect_id * | string | Prospect id |
| status * | string: new | contacted | call_booked | proposal | won | lost | Stage |
prospect_pipelineaccountCounts per pipeline stage.
Outgoing webhooks
Events: member.joinedmember.leftreward.unlockedcourse.completedevent.rsvpaccess.grantedaccess.revoked. Headers: x-mbc-event, x-mbc-delivery, x-mbc-signature: sha256=<hex HMAC-SHA256 of raw body>. Retries: 1m, 5m, 30m, 2h, 12h.
// Node.js verification
import { createHmac, timingSafeEqual } from "node:crypto";
const expected = "sha256=" + createHmac("sha256", SECRET).update(rawBody).digest("hex");
const ok = timingSafeEqual(Buffer.from(expected), Buffer.from(req.headers["x-mbc-signature"]));Incoming cart webhooks
POST /api/carts/{provider}/{secret-token} — providers: maxbiopay, stripe, paypal, thrivecart, samcart, jvzoo, custom. Custom payload:
POST /api/carts/custom/<token>
x-mbc-signature: sha256=<HMAC(secret, body)>
{"event":"purchase","email":"jane@example.com","name":"Jane","product":"vip-club","order_id":"A1001"}