← Home

MCP Endpoint

Connect any MCP-compatible client using the Streamable HTTP transport. The endpoint is multi-tenant: each request is authenticated by your personal token, and tools only ever read your own records.

Get connected

Sign in, link your portal account, and copy your personal Server URL + MCP token from the dashboard. Send the token as Authorization: Bearer <token>.

Server URL

/api/mcp

Available tools

  • list_results

    List all trimester results with grades.

  • get_result(year_code)

    Detailed marksheet for one exam.

  • list_rv_applications

    Revaluation / retotalling application history.

  • rv_status

    Revaluation result status.

  • portal_account_status

    Check that your account is linked.

Linking happens on the dashboard, not over MCP — the endpoint never accepts credentials or a student ID.

Claude Desktop config

Add to claude_desktop_config.json:

Use the token from your dashboard.

{
  "mcpServers": {
    "rait-ai-stack": {
      "type": "streamable-http",
      "url": "/api/mcp",
      "headers": { "Authorization": "Bearer <your-token>" }
    }
  }
}