← Back to Blog
Claude Code / Cursor

Deploy from Claude Code or Cursor.The developer never leaves their AI IDE.

You built your app with Claude Code or Cursor. Why should deploying it require switching to a browser, reading a dashboard, or running commands you did not write? With the Varity MCP server, you do not have to.

Published April 25, 2026

What this is

Varity ships an MCP server. MCP (Model Context Protocol) lets your AI coding tool call external tools on your behalf. Once the Varity MCP server is installed in Claude Code or Cursor, your AI assistant can deploy, check deployment status, view logs, and manage your app without you leaving the editor.

The conversation goes like this:

You: Deploy this app with Varity

Claude Code (calling varity_deploy):
  Detecting framework: Next.js
  Configuring auth...done
  Configuring database...done
  Deploying...

  Live at https://varity.app/my-app/

The developer never switches windows. The app goes from working locally to live in production in the same session where it was built.

Setup takes about two minutes

There are two steps: get your Varity API key and add the MCP server to your editor config.

Step 1: Get your API key

Create a free account at developer.store.varity.so. Your API key is in the settings page under API Keys.

Step 2: Add the Varity MCP server

For Claude Code, add this to your .claude/settings.json:

{
  "mcpServers": {
    "varity": {
      "command": "npx",
      "args": ["-y", "@varity-labs/mcp"],
      "env": {
        "VARITY_API_KEY": "your-api-key-here"
      }
    }
  }
}

For Cursor, add the same config to your Cursor MCP settings (Settings > MCP > Add Server).

Restart your editor. The Varity tools are now available inside your AI assistant.

What you can do from inside your editor

Once the MCP server is installed, your AI assistant can run any Varity operation. Here are the most common ones:

Deploy your app

You: Deploy this app with Varity
Result: App is live at https://varity.app/my-app/

Check what is running

You: Show me my Varity deployments
Result: Lists your apps and their current status

View recent logs

You: Show me the last 50 lines from my Varity app logs
Result: Streams logs directly into the chat

Estimate your cost

You: How much would this app cost on Varity per month?
Result: Cost estimate based on your app's resource usage

What gets auto-configured

When you say "deploy this with Varity," the MCP server does not just copy your files to a server. It runs Varity's orchestration algorithm, which detects what your app needs and configures the whole stack automatically.

Framework detection

Next.js, React, Vue, Express, FastAPI, Flask

Auth

Sign-in, sign-up, session management

Database

Provisioned and connected automatically

File storage

Upload and serve files with one API

Custom domain

Point your domain, SSL configured automatically

Environment variables

Injected securely at deploy time

You do not write any of this config. The algorithm reads your code, picks the right services, and wires everything together.

Why this matters for AI-assisted development

The non-technical developer using Claude Code or Cursor has a different workflow than a career engineer. They write code by describing what they want. They debug by asking questions. They ship by asking their AI tool to ship it.

Every context switch kills momentum. If deploying requires a browser, a dashboard, and a set of commands the AI tool did not help write, the developer either skips deploying or spends an hour figuring it out.

The Varity MCP server closes that gap. Build, test, and deploy all happen inside the same window, in the same conversation. The developer never has to leave.

"AI gives you the power to build. Varity gives you the power to ship."

Supported AI editors

  • +Claude Code (Anthropic)
  • +Cursor
  • +Windsurf
  • +Any editor that supports the Model Context Protocol

Frequently asked questions

Can I deploy an app directly from Claude Code?

Yes. Install the Varity MCP server in Claude Code and you can deploy any app by typing 'Deploy this with Varity' in the chat window. No terminal switching, no manual config. The deploy runs inside your editor session.

What is an MCP server?

MCP (Model Context Protocol) is a standard that lets AI coding tools like Claude Code and Cursor call external tools. The Varity MCP server adds deploy, build, and status commands that your AI assistant can call on your behalf.

Does this work with Cursor?

Yes. The Varity MCP server works with any editor that supports MCP: Claude Code, Cursor, and Windsurf. The setup takes about two minutes.

What gets auto-configured when I deploy?

Varity detects your framework and auto-configures compute, database, auth, and file storage. For a Next.js app, that means the backend API routes, database connection, auth provider, and CDN are all set up automatically. You do not write any infrastructure config.

Do I need a Varity account to deploy from Claude Code?

Yes. Create a free account at developer.store.varity.so, grab your API key, and add it to the MCP server config. The whole setup takes about two minutes.

Install Varity in your AI IDE today

Two-minute setup. Deploy in 60 seconds. Never leave your editor.