Skip to main content
CodeVeryfront Code

CLI and framework for pro-coders

Veryfront Code

Install

curl -fsSL https://veryfront.com/install.sh | sh

Create a project

veryfront init my-app
cd my-app
The CLI walks you through template selection:
  • minimal: single page, no extras
  • app: dashboard with auth and API routes
  • blog: MDX content with file-based posts
  • ai: agent with tools, prompts, and a chat UI
You can also add features interactively: AI, auth, MDX, Redis, workflows.

Start the dev server

veryfront dev
Open http://localhost:3000. Changes to any file reload instantly.

Project overview

After init, your project looks like this:
my-app/
  app/
    layout.tsx      # Root layout wrapping all pages
    page.tsx        # Home page (/)
  package.json
If you picked the ai template, you also get:
my-app/
  agents/
    assistant.ts    # AI agent definition
  tools/
    calculator.ts   # Tool the agent can call
  prompts/
    assistant.ts    # System prompt
  app/
    layout.tsx
    page.tsx        # Chat UI
    api/
      chat/
        route.ts    # Streaming chat endpoint
Pages live in app/. Agents, tools, prompts, and workflows live at the project root and are auto-discovered by the framework.

Build and deploy

veryfront build
veryfront start
Or deploy to Veryfront Cloud:
veryfront deploy
Your site is live at https://<slug>.veryfront.com.

Connect Your Coding Agent

Veryfront exposes an MCP server that gives AI coding agents access to live dev server state: errors, logs, and HMR triggers.

Claude Code

/plugin install veryfront@veryfront/claude-plugins
Add to your .mcp.json:
{
  "mcpServers": {
    "veryfront": {
      "command": "veryfront",
      "args": ["mcp"]
    }
  }
}

Codex CLI

Add to ~/.codex/config.toml:
[mcp_servers.veryfront]
command = "veryfront"
args = ["mcp"]

Cursor

Add to .cursor/mcp.json:
{
  "mcpServers": {
    "veryfront": {
      "command": "veryfront",
      "args": ["mcp"]
    }
  }
}

Gemini CLI

Add to ~/.gemini/settings.json:
{
  "mcpServers": {
    "veryfront": {
      "command": "veryfront",
      "args": ["mcp"]
    }
  }
}