MCP Server — Connect an AI to Your Account

What is this?

Loorex.com provides an MCP (Model Context Protocol) server, which lets AI assistants work with your assessments and courses directly — creating and editing questions, building out courses, and more — without you having to do it by hand.

Connecting an AI through MCP uses the same sign-in and permission screen you'd use for any other app: you approve exactly what the AI can do, the access can be limited to only what's needed, and you can revoke it at any time without affecting anything else.

What it can do

The MCP server covers the same two areas as the Public API:

  • Exams — create, edit, delete assessments, questions, grades and case studies. See the Exam API section for the full list of operations and their exact fields.
  • Courses — create, edit, delete courses and learning pages. See the Course API section for the full list.

Connecting an AI client

Steps will vary slightly depending on which AI client you use, but generally:

  1. In your AI client's settings, look for an option to add a custom connector / MCP server.
  2. Enter the server address: https://loorex.com/mcp
  3. You'll be sent to Loorex.com to sign in (if you aren't already) and shown a permission screen listing exactly what the AI is asking for.
  4. Review the requested permissions and click Allow. Your AI client is now connected.

From this point on, you can simply ask your AI assistant to build a quiz, add questions to an existing assessment, put together a course, and so on — it will use the permissions you approved to do it directly in your account.

Managing and revoking access

Every AI application you've connected is listed on the Connected Apps page of your profile, showing what it can access and when it was last used. You can revoke access for any application at any time — this takes effect immediately.

Permissions (scopes)

Access is broken down into following permissions. An AI client only ever gets the ones you approve on the permission screen:

Permission What it allows
exam:read View your assessments, questions, grades and case studies.
exam:write Create, edit and delete your assessments, questions, grades and case studies.
course:read View your courses and learning pages.
course:write Create, edit and delete your courses and learning pages.

For developers

The MCP server implements the standard Model Context Protocol over Streamable HTTP, authenticated with OAuth 2.1 (authorization code flow with PKCE, and dynamic client registration so MCP clients can connect without any manual setup on our end). Discovery documents are published at the standard locations (/.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource), so any spec-compliant MCP client should be able to connect using nothing more than the server address above.