Skip to content
Studeia Docs
AI-assisted translation β€” last updated 2026-09-05. For original (pt-BR or en-US), use the language switcher.

Connect ChatGPT or Claude to Studeia (MCP server)

How administrators and teachers link their own ChatGPT or Claude account to Studeia via MCP to query data, generate reports, and edit courses and lessons with the same permissions as the web interface.

By Studeia Team 2026-09-05 6 min
Resposta curta

Studeia exposes a remote MCP server per institution at https://<slug>.studeia.com/api/mcp. The administrator enables the connector in Settings β†’ AI Connectors; then each admin or teacher adds the URL in Claude (Settings β†’ Connectors) or ChatGPT (Connectors β†’ Developer Mode), logs in, and authorizes. The AI then acts with the user's real permissions: querying reports, reading and editing courses and lessons, and β€” for admins β€” tenant settings.

How it works

Studeia implements the Model Context Protocol (MCP) with Streamable HTTP transport and OAuth 2.1 (dynamic client registration, PKCE S256, rotating refresh token). The AI assistant connects with your account, not with an institution key: everything it does goes through the same permission rules as the web interface and is recorded in the audit log.

Institutional AdministratorTeacher
ReadEverything in the tenant: courses, lessons, students, classes, grades, reports, settingsCourses they create/collaborate on/teach; students in their classes
WriteCourses, modules, lessons, teacher guides, classes, enrollments, settingsCourses and lessons in their own courses
Out of scopeBilling, SSO/SCIM, provider keys, the connector toggle itselfsame

1. Enable at the institution level (admin)

  1. Go to Settings β†’ AI Connectors (ChatGPT / Claude).
  2. Turn on Allow MCP connections. Optionally disable Teachers can also connect.
  3. Copy the MCP server URL β€” typically https://<slug>.studeia.com/api/mcp (or your verified custom domain).

Disabling the connector immediately revokes all active connections.

2. Connect in Claude

Claude.ai / Desktop / mobile

  1. Settings β†’ Connectors β†’ Add custom connector.
  2. Paste the MCP server URL. Leave Client ID/Secret blank (automatic registration).
  3. Click Connect: you will be taken to the Studeia login (if not already logged in) and the consent screen.
  4. Review the permissions (read, write, 30 days) and the privacy notice β†’ Authorize.

Claude Code

claude mcp add --transport http studeia https://<slug>.studeia.com/api/mcp

Claude Code opens the browser for consent and receives the callback at http://localhost:<port>/callback.

3. Connect in ChatGPT

  1. Settings β†’ Connectors β†’ Advanced β†’ enable Developer Mode.
  2. Create β†’ name (e.g., "Studeia") β†’ MCP server URL β†’ authentication OAuth β†’ Create.
  3. Complete the Studeia login and consent flow.
  4. In the chat, enable the connector under Tools. Write actions require manual confirmation in ChatGPT.

The search and fetch tools follow the ChatGPT contract, so the connector also works in deep research.

4. What to ask the assistant

  • "Generate a report for class 3rd Grade A showing at-risk students and the skills with the lowest mastery."
  • "List the lessons in the Digital Skills course that are missing a teacher guide and create one for lesson 4."
  • "Rewrite the slides for the Digital Vault lesson in simpler language and publish them."
  • "Which users have never accessed the platform? Export as a table."
  • "Show the gradebook API endpoints and submit grade 8 for student X on assessment Y."

Available tools (summary): tenant overview and settings, courses and modules (list, create, edit, publish, reorder), lessons (full content, create, edit validated content by type, teacher guide, delete), users, classes, enrollments, student/course/tutor effectiveness reports, audit logs, search/fetch, and list_api_endpoints + call_institution_api for the rest of the institutional API.

5. Revoke and audit

  • User: Profile β†’ AI Connections β†’ Revoke.
  • Admin: Settings β†’ AI Connectors β†’ connections list β†’ Revoke (or disable the connector).
  • Audit: Logs β†’ mcp.* actions (consent, tokens, each tool call with tool name, ids, and result β€” never the content).

Privacy and limits

  • Data queried by the AI (including data of minor students) is processed by the user's account provider (OpenAI/Anthropic). The institution is responsible for legitimate use β€” the consent screen makes this explicit.
  • Access token: 1 hour. Refresh token: rotating, maximum 30 days per consent (re-authorization required afterward).
  • Rate limit per connection and per IP on OAuth endpoints.
  • Not available via MCP: file uploads, billing, SSO/SCIM, AI/video provider keys, and the connector configuration itself.

For developers

  • Discovery: /.well-known/oauth-protected-resource/api/mcp and /.well-known/oauth-authorization-server (relative to host).
  • POST /api/mcp without a token responds with 401 and WWW-Authenticate: Bearer resource_metadata=….
  • Dynamic registration only accepts callbacks from Claude, ChatGPT, and loopback (http://localhost:<port>/callback).
  • Scopes: read, write, offline_access.

FAQ

Does Studeia have an MCP server for ChatGPT and Claude?

Yes. Each institution exposes a remote MCP server at https://<slug>.studeia.com/api/mcp (Streamable HTTP + OAuth 2.1 with dynamic client registration). It works with Claude.ai, Claude Desktop, Claude mobile, Claude Code, and ChatGPT's custom connectors (Developer Mode).

What can the AI do once connected?

Exactly what the connected user can do on the web: read courses, lessons (including full content and teacher guides), classes, enrollments, student and course reports, and β€” with write permission β€” create and edit courses, modules, lessons, teacher guides, and institution settings. There are ~30 dedicated tools plus a generic tool that reaches the entire documented institutional API.

Can a connected teacher see data from the entire school?

No. The MCP token acts as the real user: teachers can only view and edit the courses they created, collaborate on, or teach (classes), and reports only for students in their classes. Institutional administrators see everything in the tenant. Global platform administrators cannot connect.

How do I revoke the AI's access?

In the user profile (AI Connections) or, for administrators, in Settings β†’ AI Connectors (list of all tenant connections). Disabling the connector revokes all connections immediately. Access tokens last 1 hour; the refresh token lasts at most 30 days and is rotated.

Does student data go to OpenAI or Anthropic?

Data queried by the assistant (including data of minor students) is processed by the AI provider of the user's account. The consent screen explicitly warns about this, and every tool call is recorded in the institution's audit logs. Use only for legitimate educational purposes and comply with applicable data protection regulations.

Veja tambem

Connect ChatGPT or Claude to Studeia (MCP server)