Skip to content

Varity MCP Server

Varity Team Core Contributors Updated March 2026

The Varity MCP server (@varity-labs/mcp) gives AI editors 7 tools for the full build → deploy → monetize workflow. It runs locally via stdio — no API keys, no accounts.

  • Node.js 18+ — runs the MCP server
  • Python 3.10+ — needed for varitykit CLI (used by deploy tools)
  • varitykit — install with pip install varitykit

Add to .cursor/mcp.json in your project root:

{
"mcpServers": {
"varity": {
"command": "npx",
"args": ["-y", "@varity-labs/mcp"]
}
}
}

Restart Cursor. The Varity tools appear in the MCP tool list.

The server exposes 7 tools. Read-only tools run safely with no side effects. Destructive tools create files or deploy infrastructure.

varity_search_docs — Search documentation

Section titled “varity_search_docs — Search documentation”

Search Varity docs for guides, API references, and tutorials.

ParameterTypeRequiredDefaultDescription
querystringYesSearch query (e.g., “database setup”, “how to deploy”)
maxResultsnumberNo3Maximum results to return

Annotations: readOnlyHint: true

Example prompt: “Search the Varity docs for how to set up authentication”


Compare Varity hosting costs against AWS, Vercel, and other platforms.

ParameterTypeRequiredDefaultDescription
usersnumberYesEstimated monthly active users
storage_gbnumberNo10Storage needed in GB
has_databasebooleanNotrueWhether the app uses a database
has_authbooleanNotrueWhether the app uses authentication

Annotations: readOnlyHint: true

Example prompt: “How much would it cost to host a SaaS app with 500 users on Varity?”


Scaffold a production-ready app with auth, database, and payments.

ParameterTypeRequiredDefaultDescription
namestringYesProject name (lowercase, hyphens allowed)
template"saas-starter"No"saas-starter"Template to use
pathstringNoCurrent directoryDirectory to create the project in

Example prompt: “Create a new Varity app called invoice-tracker”


Build and deploy the current project. Auto-detects framework (Next.js, React, Vue), builds it, and returns a live URL.

ParameterTypeRequiredDefaultDescription
pathstringNoWorkspace rootPath to the project directory
submit_to_storebooleanNofalseAlso submit to the Varity App Store (90% revenue to you)

Annotations: destructiveHint: true — deploys real infrastructure

Example prompt: “Deploy this project to Varity”


varity_deploy_status — Check deployments

Section titled “varity_deploy_status — Check deployments”

List all deployments or get status of a specific one. Shows URL, status, framework, size, and creation time.

ParameterTypeRequiredDefaultDescription
deployment_idstringNoSpecific deployment ID (omit to list all)

Annotations: readOnlyHint: true

Example prompt: “Show me the status of my deployments”


Get build and deployment logs for debugging failed or recent deployments.

ParameterTypeRequiredDefaultDescription
deployment_idstringYesThe deployment ID to get logs for
limitnumberNo100Maximum log lines to return

Annotations: readOnlyHint: true

Example prompt: “Show me the build logs for deployment abc123”


varity_submit_to_store — Publish to App Store

Section titled “varity_submit_to_store — Publish to App Store”

Submit a deployed app to the Varity App Store marketplace. Revenue split: 90% to you, 10% to Varity.

ParameterTypeRequiredDefaultDescription
deployment_idstringYesDeployment ID from a previous varity_deploy
namestringYesDisplay name on the store
descriptionstringYesShort description shown to users
pricenumberYesMonthly price in USD (use 0 for free apps)

Annotations: destructiveHint: true — publishes to a public store

Example prompt: “Submit my last deployment to the Varity App Store at $9.99/month”


All tools return JSON with a consistent structure:

// Success
{
success: true,
data: { /* tool-specific data */ },
message: "Human-readable summary"
}
// Error
{
success: false,
error: {
code: "ERROR_CODE",
message: "What went wrong",
suggestion?: "How to fix it"
}
}

Here’s the full build-to-monetize flow using the MCP tools:

  1. “Create a Varity app called my-saas”varity_init
  2. “What will this cost for 200 users?”varity_cost_calculator
  3. (Build your features)
  4. “Deploy this”varity_deploy
  5. “Did the deploy succeed?”varity_deploy_status
  6. “Show me the build logs”varity_deploy_logs
  7. “Submit to the app store at $14.99”varity_submit_to_store

“Cannot find module @varity-labs/mcp” Make sure Node.js 18+ is installed. Run node --version to check.

Deploy tools fail with “varitykit not found” Install the CLI: pip install varitykit. Run varitykit doctor to verify.

Server not showing in Cursor Restart Cursor after adding the config. Check that .cursor/mcp.json is valid JSON.

Server not showing in Claude Code Run claude mcp list to verify the server is registered. Re-add with claude mcp add varity -- npx -y @varity-labs/mcp.

The MCP server currently supports stdio transport only, which works with local editors like Cursor, Claude Code, VS Code, and Windsurf.

For browser-based LLMs like ChatGPT or Gemini, use the llms.txt files instead:

  • Summary context: https://docs.varity.so/llms.txt
  • Full context: https://docs.varity.so/llms-full.txt

Paste the URL or its contents into your conversation to give the LLM full Varity context. The docs site also includes “Ask ChatGPT” links on each page that pre-load the relevant context.