Account integrations

AI assistants (MCP)

Connect Claude, ChatGPT or another AI assistant to your account through the AcademyOS MCP server: it reads and acts as you, within your role.

What it does

AcademyOS runs a remote MCP server (Model Context Protocol), so an AI assistant such as Claude or ChatGPT can answer questions about your school or creator account and do a few things for you: "which learners haven't studied this week?", "how far is Ana in the B1 course?", "enrol these three people in the October class".

The assistant signs in as you, in one account you choose, and sees and does only what your role there allows. It cannot take payments, refund, delete or change content.

Server address: https://content.academyos.app/mcp

Connect an assistant

  1. In your assistant, add a custom connector (also called a remote MCP server) and paste the server address above. In Claude this is under Settings β†’ Connectors; other assistants have a similar setting for MCP servers.
  2. The assistant opens AcademyOS. Sign in if you are not signed in already.
  3. On the consent screen, check the app's name and where it sends you back, choose the account it will work in, and choose Authorize.
  4. Ask the assistant something. In AcademyOS, Settings β†’ AI assistants shows your connection and every call it makes.

You need to be on the staff of the account: an admin, a manager or a teacher of a school, or the owner of a creator account. Learners cannot connect assistants. When your school requires two-step sign-in for staff, set it up first.

Assistants register themselves with AcademyOS, so the consent screen says the app is not verified. Only authorize a connection you started yourself, from an assistant you trust.

What an assistant may see and do

Every call is checked twice: against what you granted on the consent screen, and against what your role in the account allows today.

  • mcp:read: Read your courses, classes, people, learner progress and sales, as far as your role in the account lets you see them.
  • mcp:write: Enrol people in courses and invite learners and teachers, each only after you confirm it.
  • A teacher's assistant sees the learners and courses of that teacher's own classes, as the teacher does in the app. A manager or admin sees the whole school.
  • A connection works in the one account you chose. To use another account, connect again and choose it.
  • If you are suspended or removed, lose your staff role, or your school starts requiring two-step sign-in you have not set up, the assistant is refused on its very next call.
  • While the account's plan is not active, assistants can still read but cannot change anything.

Tools

An assistant only sees the tools your role and account can use. Lists return 25 records by default and at most 100, with a next_cursor to get the next page. Ids are public ids such as pers_… or lo_….

ToolScopeAccountsWhat it does
get_account mcp:read Schools and creators The account, your roles in it, what the connection was granted and which tools it can use.
list_courses mcp:read Schools and creators The courses you can see, drafts included, filtered by status.
get_course_outline mcp:read Schools and creators A course's sections and lessons in the order learners see them.
list_classes mcp:read Schools The classes you can see, with their courses and teachers.
list_people mcp:read Schools and creators Members you can see, filtered by role, status, class or a search.
get_person mcp:read Schools and creators One member with their roles, status and enrolments in the courses you can see.
get_learner_progress mcp:read Schools and creators A learner's progress in each course they are enrolled in, or in one course.
list_learners_at_risk mcp:read Schools The learners at risk among those you can see, with the reasons and their last activity.
get_sales_summary mcp:read Creators and schools that sell Sales over a period: paid orders, what buyers paid, refunds and the best-selling products. Never fees or payouts.
enroll_person mcp:write Schools Enrols a member or an email in a course, optionally through a class. Preview first, then confirm.
invite_person mcp:write Schools Invites a learner or a teacher by email. Preview first, then confirm.

Tools that write course content (outlines, lessons) will come with course drafts, so that nothing an assistant writes reaches learners before a person publishes it.

Changes need your confirmation

enroll_person and invite_person change your account, so they work in two steps:

  1. Called without confirm: true, the tool checks everything and answers a preview of exactly what would happen. Nothing changes. The assistant should show it to you and ask.
  2. Called again with the same arguments and confirm: true, it acts, through the same rules as the app's own screens. The activity log names you, "via AI assistant" and the app.

A confirmed call happens once. Sending it again within 10 minutes, by the assistant or by a network retry, returns the first result with "replayed": true; after that, the same arguments are a new request (enrolling someone again after they were withdrawn works). An assistant may send its own idempotency_key, which holds for 24 hours; the same key with other arguments is refused.

invite_person invites only teacher and learner roles. A learner's invitation email goes out only with send_email: true; a teacher's invitation always waits until someone sends it from People β†’ Invitations, so an assistant never hands out a staff login by itself: until then, signing in with Google or Apple with that address does not accept it either.

Learners at risk

list_learners_at_risk returns the learners the dashboard shows as at risk, for the learners you can see, with the reasons:

  • no_recent_activity: they have not studied for the account's idle-days threshold.
  • low_completion: their average completion is under the account's threshold.
  • streaks_at_risk: they studied on at most one day in their latest week.
  • content_dropoff: they stopped in the middle of a course for the account's stale-days threshold.

Admins change the thresholds in the account's settings. The tool returns the thresholds it used, and each learner's last study activity.

Course text is untrusted input

  • Read the preview before you confirm a write, and confirm only what you asked for.
  • Grant mcp:write only when you need the assistant to enrol or invite.
  • Check Settings β†’ AI assistants for calls you do not recognise, and disconnect the assistant if you see one.

Activity log and limits

Every tool call is logged with the tool, the person, the assistant, the result and the time, and kept for 90 days. What the assistant asked for (names, emails, search text) is never stored. Admins see every call in the account in Settings β†’ AI assistants; other staff see their own.

Going over a budget answers 429 with Retry-After; the windows are one minute, or one hour for registrations.

Budget forLimit
Each connection: one person, one account, one assistant120 requests a minute
Each person, across all their connections480 requests a minute
Requests without a working token, from one IP address600 requests a minute
Client registrations from one IP address60 an hour

Disconnect an assistant

Open Authorized apps in your profile settings (linked from Settings β†’ AI assistants) and choose Revoke. The assistant's access ends at once: its next call is refused and it would have to ask you to sign in again. Changing your password disconnects every assistant you connected, too. An assistant's registration that nobody signs in with is removed after a week.

For developers

The server speaks MCP over Streamable HTTP: JSON-RPC 2.0 messages sent with POST /mcp, answered with plain JSON. It keeps no session and offers no event stream, so GET and DELETE answer 405. Methods: initialize, notifications/initialized, ping, tools/list and tools/call.

Sign-in discovery and errors

A call without a valid token answers 401 with a pointer to the protected resource metadata (RFC 9728), which names AcademyOS as the authorization server. Its metadata (RFC 8414, OpenID Connect discovery) lists the authorization, token and registration endpoints.

HTTP
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://content.academyos.app/.well-known/oauth-protected-resource/mcp"

A token without the scope a tool needs answers 403 with error="insufficient_scope". A tool that refuses (not found, not allowed, bad arguments) answers a normal result with isError: true and a code to branch on:

JSON
{ "content": [{ "type": "text", "text": "{\"error\":{\"code\":\"forbidden\", …}}" }],
  "structuredContent": { "error": { "code": "forbidden", "message": "This person's role does not allow this here.", "details": {} } },
  "isError": true }

Client registration

Clients register with POST /oauth/register (RFC 7591). AcademyOS accepts public clients only: no client secret, token_endpoint_auth_method none, the authorization code flow with PKCE (S256 only), and the scopes mcp:read and mcp:write. Redirect URIs must be https, or http on a loopback address (127.0.0.1, [::1] or localhost, any port). Access tokens last two hours and are renewed with the refresh token.

Protocol versions

Protocol versions: 2025-11-25, 2025-06-18, 2025-03-26. An unknown version in initialize is answered with the newest; an unknown MCP-Protocol-Version header on later requests answers 400. JSON-RPC batches are not accepted. Results carry the data twice, as JSON text in content and as structuredContent.

Was this page useful?

Last updated November 26, 2026