Your courses, invokable by AI.
Every Loopwise school ships with an MCP server, scoped OAuth, and a REST API. Any agent can read courses, enroll students, or surface content — with the user's consent.
Three surfaces, one consent model
Pick the integration depth that fits your agent. All three share the same OAuth token and scope boundaries.
mcp.loopwise.comHosted MCP server
Every school exposes a Model Context Protocol endpoint with pre-built tools for enrolling students, reading courses, and tracking progress. Agent-friendly schemas out of the box.
connect.loopwise.comPer-school OAuth
Scoped OAuth 2.0 per school with PKCE required. Agents request narrow permissions — courses:read, students:write — and users consent once. Tokens are revocable anytime.
api.loopwise.comREST API
The same surface your apps use. Full CRUD for courses, schools, and students. Webhooks for event-driven workflows. OpenAPI spec published.
Real code, not slideware
Every sample is copy-pasteable against a live school. Swap in your own subdomain and token.
import { Client } from '@modelcontextprotocol/sdk/client'
const school = new Client({
name: 'my-agent',
url: 'https://mcp.loopwise.com/{school}',
})
await school.connect()
const tools = await school.listTools()
// → [list_courses, enroll_student, get_progress, ...]
await school.callTool('enroll_student', {
course: 'quantum-101',
email: 'alice@example.com',
})# 1. Send user to consent screen (PKCE is required)
https://connect.loopwise.com/oauth/authorize
?client_id=YOUR_AGENT
&response_type=code
&scope=courses:read+students:write
&redirect_uri=https://your-agent.example.com/callback
&code_challenge=BASE64URL(SHA256(CODE_VERIFIER))
&code_challenge_method=S256
# 2. Exchange code for a scoped access token
curl -X POST https://connect.loopwise.com/oauth/token \
-d "grant_type=authorization_code" \
-d "client_id=YOUR_AGENT" \
-d "code=AUTH_CODE" \
-d "redirect_uri=https://your-agent.example.com/callback" \
-d "code_verifier=YOUR_CODE_VERIFIER"# List all courses in a school
curl https://api.loopwise.com/v1/schools/acme/courses \
-H "Authorization: Bearer $TOKEN"
# Create an enrollment
curl -X POST https://api.loopwise.com/v1/enrollments \
-H "Authorization: Bearer $TOKEN" \
-d '{"course_id":"crs_123","student_email":"..."}'Built for the agentic web
The next generation of course platforms will be judged by whether an agent can act on a learner's behalf. Enrol a student. Fetch the next lesson. Refund a purchase.
Loopwise ships all of that as first class — not an afterthought API bolted onto a 2015 course platform.
Explore the protocol referenceReady to launch your course?
Start free today. No credit card required.
No credit card required.