Next.js Math Course Platform
A modern full-stack Next.js 16 platform with CMS, auth, and Stripe integration - built to manage and sell online math courses with videos, quizzes, LaTeX, and interactive graphs.
Potencialize seu agente
Instalação do publicador. Não é um endpoint do PlugMCP.
Host a copy with our keys and logs.
Ainda não há uma versão empacotada no registro. Siga o README do repositório.
URL remota ou um comando na sua máquina? Como as duas instalações diferem
Rodar no PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirDo publicador
A modern full-stack Next.js 16 platform with CMS, auth, and Stripe integration - built to manage and sell online math courses with videos, quizzes, LaTeX, and interactive graphs.
📚 Next.js 16 platform for selling math courses, with a headless CMS, auth, video lessons, quizzes, LaTeX, interactive graphs, and an MCP server for AI-assisted content management.
git clone https://github.com/maciekt07/nextjs-math-course
cd nextjs-math-course
pnpm install
Create a .env.development file in the root directory. Use .env.example as a template.
Environment variables are fully typed and validated for both dev and build. For production preview, use .env.production file.
Both PostgreSQL (for main app data) and MongoDB (for Payload CMS) run via Docker Compose
pnpm docker:dev
[!TIP] View Database with Drizzle Studio
pnpm db:studio
pnpm db:push
pnpm stripe:webhook
Use these Stripe test card details to simulate a successful payment:
4242 4242 4242 4242Development mode:
pnpm dev
Production preview:
pnpm preview
The application should now be running at http://localhost:3000
Once the app is running, you can access the CMS at:
Create your admin account on first visit
Use the panel to manage courses, lessons, and media
Start the React Email preview server to view and test email templates locally:
pnpm email:dev
QStash periodically calls /api/cron/run, which triggers Payload's Jobs Queue for scheduled course publishing and feedback classification with Jev.
Start local QStash CLI:
pnpm qstash:dev
Register schedule against it:
pnpm qstash:schedules:dev
The CMS exposes an MCP server for managing lessons, chapters, and courses
1. Generate an API key
Go to /admin → MCP → API Keys → Create New, enable the required collections/operations, save, and copy the generated key.
2. Connect your MCP client
Claude Code example:
claude mcp add --transport http Math-Course-CMS http://127.0.0.1:3000/api/mcp \
--header "Authorization: Bearer MCP-USER-API-KEY"
Changes will be automatically saved as draft with version control.
You can add interactive Desmos graphs directly in markdown lessons:
::desmos{url="https://www.desmos.com/calculator/your-graph-id"}
[!NOTE] By default, the embedded version displays only the graph. If you set
noEmbed=true, it will open the full Desmos calculator with all its tools and controls.::desmos{url="https://www.desmos.com/calculator/your-graph-id" noEmbed=true}
You can include math expressions in your lessons using standard Markdown + LaTeX syntax:
Inline math: $E = mc^2$
Block math:
$$
f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}
$$
For more details, see the Markdown + LaTeX documentation
You can add Mermaid diagrams directly in your markdown lessons:
```mermaid
flowchart TD
A["Numbers"] --> B["Natural numbers"]
A --> C["Integers"]
A --> D["Rational numbers"]
A --> E["Real numbers"]
D --> F["$$\frac{a}{b}$$"]
E --> G["Number line"]
```
You can highlight important content or tips using custom callout blocks like note, tip, important, warning, card.
:::note
This is a note
:::
:::tip{title="Remember"}
This is a tip with a custom title
:::

In paid lessons, math formulas are rendered lazily on the client as it scrolls into view, preventing main-thread blocking and avoiding FPS drops on long pages with many formulas. Free lessons are fully SSGed, which requires no special optimization and also benefits SEO.
Pages are also automatically split into semantic <section> tags. Each section uses content-visibility: auto, allowing the browser to skip rendering off-screen content until it is needed.
Illustrations used in this project are from Storyset, modified for personal use.
📚 Next.js 16 platform for selling math courses, with a headless CMS, auth, video lessons, quizzes, LaTeX, interactive graphs, and an MCP server for AI-assisted content management.
Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Este registro não lista nenhuma variável de ambiente obrigatória.
Nextjs Math Course roda localmente via stdio.
Última verificação: 2026-10-27. 📚 Next.js 16 platform for selling math courses, with a headless CMS, auth, video lessons, quizzes, LaTeX, interactive graphs, and an MCP server for AI-assisted content management.