What2REG@UM 澳大選咩課

Registre officiel Autres

Read-only University of Macau course, instructor and review data.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http what2reg-um 'https://umeh.top/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "what2reg-um": {
            "type": "http",
            "url": "https://umeh.top/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. UMHelper Next Web
  2. Quick Start
  3. 关于 migrations
  4. 本地数据库 SQL
  5. 备用方案
  6. 详细说明

UMHelper Next Web

UMHelper Next Web 是一个 Next.js 15 + Supabase 项目。

仓库里已经包含本地开发所需的核心资产:

Quick Start

推荐方案是 Docker + Supabase CLI,这样本地会同时跑起:

  • Supabase API
  • Postgres
  • Supabase Studio
  • Next.js 应用
macOS
cp .env.example .env.local
npm install
brew install supabase/tap/supabase
supabase start
# Fill .env.local with the local anon/service_role keys printed by Supabase CLI
./scripts/bootstrap-local-db.sh
npm run dev
Linux
cp .env.example .env.local
npm install
npx supabase start
# Fill .env.local with the local anon/service_role keys printed by Supabase CLI
./scripts/bootstrap-local-db.sh
npm run dev
Windows PowerShell
Copy-Item .env.example .env.local
npm install
npx supabase start
# Fill .env.local with the local anon/service_role keys printed by Supabase CLI
.\scripts\bootstrap-local-db.ps1
npm run dev

启动后应当能访问:

  • App: http://localhost:3000
  • Supabase Studio: http://127.0.0.1:54323

本地数据库默认连接串:

  • postgresql://postgres:postgres@127.0.0.1:54322/postgres

.env.example 里不再放任何真实或默认可用的 secret。运行 supabase start 后,把 CLI 输出的本地 key 填到 .env.local。

关于 migrations

仓库里有 supabase/migrations,但当前本地初始化流程不会逐条执行这些 migration。

原因是:

  • supabase/schema.sql 已经是包含这些 migration 结果的当前结构快照
  • onboarding 的目标是先让新成员最快把本地库跑起来

当前规则是:

  • 本地初始化:导入 schema.sql + seed.sql
  • 后续新改动:继续新增 supabase/migrations/*.sql
  • 不要在已经导入 schema.sql 后,再把现有 migration 手工重放一遍

本地数据库 SQL

建表 SQL:

种子数据:

导入脚本:

备用方案

如果你不想跑 Docker,也可以只安装本地 PostgreSQL,再手动导入:

  • supabase/schema.sql
  • supabase/seed.sql

但这种方式只适合调 SQL 或看表结构,不适合完整跑起网站,因为项目运行时依赖 Supabase API 层,而不只是 Postgres。

详细说明

跨平台完整文档见:

Questions fréquentes

Qu'est-ce que What2REG@UM 澳大選咩課 ?

Read-only University of Macau course, instructor and review data.

Comment installer What2REG@UM 澳大選咩課 ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http what2reg-um 'https://umeh.top/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour What2REG@UM 澳大選咩課 ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

What2REG@UM 澳大選咩課 est-il open source ?

Oui. Son code est sur GitHub sous licence GPL-3.0.

Qui maintient What2REG@UM 澳大選咩課 ?

Il est publié par UMHelper. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.