# Webcake Landing

Gives AI models the WebCake element catalog to construct valid landing page JSON, run layout checks, and save pages directly to your WebCake account.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 7
- Author: vuluu2k
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vuluu2k/webcake-landing-mcp
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/mcp/webcake-landing

## What it does

This tool connects AI coding assistants to the WebCake platform. It exposes a catalog of 40+ element types, covering forms, countdowns, and product displays. The model learns the canvas coordinate system and builds exact page structures without guessing JSON fields.

Before any page reaches your account, `validate_page` scans for off-canvas blocks, duplicate identifiers, and unlinked buttons. If you already have a layout elsewhere, `ingest_html` and `ingest_url` convert that markup into a structural baseline for the AI.

Without setting `WEBCAKE_JWT`, saving pages directly to an account is impossible: unauthenticated sessions only support schema lookups and page validation. Running the server locally through `npx` requires Node.js 18+.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.toolvn.io.vn/mcp`
- Environment variables: `WEBCAKE_JWT`, `WEBCAKE_ENV`, `WEBCAKE_API_BASE`, `WEBCAKE_ORG_ID`, `PEXELS_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http webcake-landing-mcp https://mcp.toolvn.io.vn/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env WEBCAKE_JWT=<WEBCAKE_JWT> --env WEBCAKE_ENV=<WEBCAKE_ENV> --env WEBCAKE_API_BASE=<WEBCAKE_API_BASE> --env WEBCAKE_ORG_ID=<WEBCAKE_ORG_ID> --env PEXELS_API_KEY=<PEXELS_API_KEY> --transport stdio webcake-landing -- npx -y webcake-landing-mcp
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add webcake-landing --url https://mcp.toolvn.io.vn/mcp
```

2. **Platform CLI**
```bash
codex mcp add webcake-landing --env WEBCAKE_JWT=<WEBCAKE_JWT> --env WEBCAKE_ENV=<WEBCAKE_ENV> --env WEBCAKE_API_BASE=<WEBCAKE_API_BASE> --env WEBCAKE_ORG_ID=<WEBCAKE_ORG_ID> --env PEXELS_API_KEY=<PEXELS_API_KEY> -- npx -y webcake-landing-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "webcake-landing": {
            "url": "https://mcp.toolvn.io.vn/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "webcake-landing": {
            "command": "npx",
            "args": [
                "-y",
                "webcake-landing-mcp"
            ],
            "env": {
                "WEBCAKE_JWT": "<WEBCAKE_JWT>",
                "WEBCAKE_ENV": "<WEBCAKE_ENV>",
                "WEBCAKE_API_BASE": "<WEBCAKE_API_BASE>",
                "WEBCAKE_ORG_ID": "<WEBCAKE_ORG_ID>",
                "PEXELS_API_KEY": "<PEXELS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "webcake-landing": {
            "type": "http",
            "url": "https://mcp.toolvn.io.vn/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "webcake-landing": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "webcake-landing-mcp"
            ],
            "env": {
                "WEBCAKE_JWT": "<WEBCAKE_JWT>",
                "WEBCAKE_ENV": "<WEBCAKE_ENV>",
                "WEBCAKE_API_BASE": "<WEBCAKE_API_BASE>",
                "WEBCAKE_ORG_ID": "<WEBCAKE_ORG_ID>",
                "PEXELS_API_KEY": "<PEXELS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http webcake-landing https://mcp.toolvn.io.vn/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e WEBCAKE_JWT=<WEBCAKE_JWT> -e WEBCAKE_ENV=<WEBCAKE_ENV> -e WEBCAKE_API_BASE=<WEBCAKE_API_BASE> -e WEBCAKE_ORG_ID=<WEBCAKE_ORG_ID> -e PEXELS_API_KEY=<PEXELS_API_KEY> webcake-landing npx -y webcake-landing-mcp
```
Replace <…> with your own values

## When to use it
- generate full WebCake landing page JSON from plain prompts
- validate canvas coordinates and CTA links before writing changes
- convert external HTML layouts into WebCake page skeletons
- publish finished landing pages to a WebCake workspace
- edit specific visual elements without altering the rest of the canvas

## Example prompts
- Build a landing page for a coffee shop with a signup form and three feature cards.
- Check this layout with validate_page before saving it.
- Turn the layout from this link into a WebCake structure using ingest_url.

## Similar
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [tldraw](https://affpapa.org/en/nevibecode/mcp/tldraw.md) — MCP server · ★ 51104
- [Figma-Context-MCP](https://affpapa.org/en/nevibecode/mcp/figma-context-mcp.md) — MCP server · ★ 16073
- [mcp-server-chart](https://affpapa.org/en/nevibecode/mcp/mcp-server-chart.md) — MCP server · ★ 4406
- [Dembrandt](https://affpapa.org/en/nevibecode/mcp/dembrandt.md) — MCP server · ★ 3851
- [RevoGrid DataGrid MCP Pro](https://affpapa.org/en/nevibecode/mcp/revogrid-datagrid-mcp-pro.md) — MCP server · ★ 3451

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
