Skip to content

MCP Tools Reference

Based Page exposes tools through the Model Context Protocol (MCP). Claude and Cursor call these tools automatically based on your natural-language requests.

Authentication

ToolDescription
loginSign in via browser-based email verification
logoutSign out and clear stored credentials
whoamiShow the currently authenticated user

Requirements

ToolDescription
gather_requirementsGet structured questions to ask before building a page

Composition

ToolDescription
list_blocksList available composable blocks for building pages
list_stylesList available style presets (colors, fonts, spacing)
compose_pageAssemble a full HTML page from blocks and a style preset
list_frameworksList available CDN frameworks and usage patterns

Templates

ToolDescription
list_templatesList all available deployment templates
use_templateGet the full HTML source of a template

Deployments

ToolDescription
deployDeploy HTML or files to a live URL instantly
updateUpdate an existing deployment with new content
teardownDelete a deployment permanently
get_statusGet deployment status, URL, and metadata
list_deploysList all active deployments

Deployment Flow

gather_requirements → compose_page / use_template / custom HTML → deploy (live URL)
  1. Gather requirements — Claude asks structured questions to understand what you want (optional if you've provided enough detail)
  2. Build the page — using blocks + styles (compose_page), templates, or custom HTML
  3. Deploydeploy returns a live URL at {slug}.based.page immediately

Every deployed page automatically gets title, description, favicon, OG tags, and a social sharing preview image generated from your metadata.

MCP Annotations

Each tool declares annotations that describe its behavior:

AnnotationMeaning
readOnlyHintDoes not modify any state
destructiveHintPermanently deletes resources
openWorldHintInteracts with external services

Deploy apps from conversation.