mcpField
O
Opzero

Opzero

Local
github.com/opzero-shDeveloper Tools1Updated 19w ago

About Opzero

Opzero is a CLI and MCP server for deploying websites to Cloudflare Pages, Netlify, or Vercel. It also supports project and deployment management, with tools for AI assistants and commands for terminal users.

Key features

  1. 01Deploy websites to three cloud targets
  2. 02Deploy directories, React components, and Markdown
  3. 03Manage projects and deployment history
  4. 04Rollback, redeploy, and view build logs
  5. 05Set custom domains

Use cases

  1. 01Publish a local website directory
  2. 02Deploy a React component or Markdown page
  3. 03Roll back a deployment or inspect build logs
  4. 04Manage projects across supported cloud targets

MCP support

The `opzero mcp` command starts an MCP server with 26 tools for deployment, projects, deployment history, templates, domains, and local tasks.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cli-opzero-sh": {
"command": "npx",
"args": [
"-y",
"@opzero/mcp"
]
}
}
}
Run commandnpx -y @opzero/mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@opzero/mcp

Tools

26

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

OpZero CLI

Deploy websites from your terminal. Powered by opzero.sh

npm version npm downloads License: MIT

Deploy HTML, React components, and full websites to Cloudflare Pages, Netlify, or Vercel — in seconds.

Get Started · Commands · MCP Server · API Client


Quick Start

Install
# Install globally
npm install -g opzero

# Or use directly with npx
npx opzero deploy ./my-site --name my-project
Authenticate
opzero login

Get your API key from opzero.sh/dashboard/api-keys.

Deploy
# Deploy a directory
opzero deploy ./my-site --name my-project

# Deploy a React component
opzero deploy --artifact ./App.tsx --name my-app

# Deploy markdown as a styled page
opzero deploy --markdown ./README.md --name docs

# Deploy with OpZero theme
opzero deploy --themed ./content.html --name landing

That's it. Your site is live.

Commands

Authentication
CommandDescription
opzero loginAuthenticate (API key or browser OAuth)
opzero logoutClear stored credentials
opzero whoamiShow current user and plan info
Deploying
CommandDescription
opzero deploy [dir]Deploy a directory
opzero deploy --artifact <file>Deploy a React component
opzero deploy --markdown <file>Deploy markdown as a page
opzero deploy --themed <file>Deploy with OpZero brand theme
Projects
CommandDescription
opzero projectsList all projects
opzero projects create <name>Create a new project
opzero projects delete <name>Delete a project
opzero projects archive <name>Archive a project
opzero projects cleanupFind stale/duplicate projects
Deployments
CommandDescription
opzero deployments [project]List deployment history
opzero rollback <deployment-id>Rollback to a previous version
opzero redeploy <project>Redeploy latest version
opzero logs <id>View build logs
Other
CommandDescription
opzero domains set <project> <domain>Set custom domain
opzero init [dir]Scaffold from template
opzero templatesList available templates
opzero statusPlatform status and usage
opzero open <project>Open project in browser
opzero mcpStart MCP server for AI tools
Global Flags
  • --help, -h — Show help
  • --version, -v — Show version
  • --json — Output as JSON
  • --target <provider> — cloudflare, netlify, or vercel

MCP Server

The OpZero MCP server lets AI assistants (Claude Code, Cursor, Windsurf, etc.) deploy websites directly.

Setup for Claude Code

Add to your MCP settings:

{
  "mcpServers": {
    "opzero": {
      "command": "opzero",
      "args": ["mcp"]
    }
  }
}

Or use the standalone package:

{
  "mcpServers": {
    "opzero": {
      "command": "npx",
      "args": ["@opzero/mcp"]
    }
  }
}
Available Tools (26)

Deploy: quick_deploy, deploy_website, deploy_artifact, deploy_themed, deploy_markdown, update_deployment

Projects: list_projects, create_project, project_delete, project_archive, project_cleanup

Deployments: get_deployment, list_deployments, redeploy, rollback_deployment, get_build_logs, delete_deployment

Templates & Domains: get_template, set_custom_domain

System: help, ask_agent, get_system_status

Local-only: deploy_local_dir, init_project, open_project, whoami

API Client

Use @opzero/core to build your own integrations:

npm install @opzero/core
import { OpZeroClient } from '@opzero/core'

const client = new OpZeroClient({ apiKey: 'your-api-key' })

// Deploy a website
const result = await client.deploy({
  name: 'my-site',
  files: {
    'index.html': '<h1>Hello World</h1>',
  },
})

console.log(`Live at: ${result.url}`)

Packages

PackagenpmDescription
opzeronpmCLI tool
@opzero/mcpnpmMCP server for AI tools
@opzero/corenpmAPI client library

Development

# Clone the repo
git clone https://github.com/opzero-sh/cli.git
cd cli

# Install dependencies
bun install

# Build all packages
bun run build

# Run the CLI locally
bun run packages/cli/src/index.tsx

License

MIT — see LICENSE


Built with Bun · Powered by OpZero.sh

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.