OpZ_cli

OpZ_cli

opzero-sh

Deploy websites from AI assistants via MCP. Support for React components, static sites, markdown to Cloudflare Pages, Ne

An MCP server that enables AI assistants to deploy websites, React components, and static files directly to hosting platforms like Cloudflare Pages, Netlify, and Vercel through OpZero.sh.

164 viewsLocal (stdio)

About OpZ_cli

OpZ_cli is a community-built MCP server published by opzero-sh that provides AI assistants with tools and capabilities via the Model Context Protocol. Deploy websites from AI assistants via MCP. Support for React components, static sites, markdown to Cloudflare Pages, Ne It is categorized under cloud infrastructure. This server exposes 20 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install OpZ_cli in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

OpZ_cli is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (20)

quick_deploy

Quickly deploy a website or application

deploy_website

Deploy a complete website from files

deploy_artifact

Deploy a single React component or artifact

deploy_themed

Deploy with OpZero brand theme styling

deploy_markdown

Deploy markdown files as styled web pages

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

Alternatives

Related Skills

Browse all skills
database-cloud-optimization-cost-optimize

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

6
terraform-module-library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

4
aws-skills

AWS development with infrastructure automation and cloud architecture patterns

4
senior-devops

Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup, infrastructure as code, deployment automation, and monitoring. Use when setting up pipelines, deploying applications, managing infrastructure, implementing monitoring, or optimizing deployment processes.

3
hybrid-cloud-networking

Configure secure, high-performance connectivity between on-premises infrastructure and cloud platforms using VPN and dedicated connections. Use when building hybrid cloud architectures, connecting data centers to cloud, or implementing secure cross-premises networking.

2
vertex-agent-builder

Build and deploy production-ready generative AI agents using Vertex AI, Gemini models, and Google Cloud infrastructure with RAG, function calling, and multi-modal capabilities. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

2