OpZero
Multi-cloud deployment MCP server — deploy to Cloudflare Pages, Vercel, or Netlify from a single tool with 26 MCP tools.
OpZero CLI
Deploy websites from your terminal. Powered by opzero.sh
Deploy HTML, React components, and full websites to Cloudflare Pages, Netlify, or Vercel — in seconds.
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
| Command | Description |
|---|---|
opzero login | Authenticate (API key or browser OAuth) |
opzero logout | Clear stored credentials |
opzero whoami | Show current user and plan info |
Deploying
| Command | Description |
|---|---|
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
| Command | Description |
|---|---|
opzero projects | List 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 cleanup | Find stale/duplicate projects |
Deployments
| Command | Description |
|---|---|
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
| Command | Description |
|---|---|
opzero domains set <project> <domain> | Set custom domain |
opzero init [dir] | Scaffold from template |
opzero templates | List available templates |
opzero status | Platform status and usage |
opzero open <project> | Open project in browser |
opzero mcp | Start 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
| Package | npm | Description |
|---|---|---|
opzero | CLI tool | |
@opzero/mcp | MCP server for AI tools | |
@opzero/core | API 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
相關伺服器
AWS SSO
Interact with AWS resources using Single Sign-On (SSO). Supports SSO login, listing accounts/roles, and executing AWS CLI commands.
DataWorks
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface. This implementation is based on the Aliyun Open API and enables AI agents to perform cloud resources operations seamlessly.
HubSpot MCP Server by CData
A read-only MCP server for querying live HubSpot data, powered by CData.
Remote MCP Server (Authless)
A remote MCP server without authentication, deployable on Cloudflare Workers.
MCP Pool
A curated collection of 11 MCP servers for popular SaaS APIs — Stripe, Sentry, Notion, Linear, Datadog, Vercel, PagerDuty, HubSpot, Intercom, Shopify, and Google Workspace.
Grok MCP Plugin
Integrate with the Grok AI API to access its powerful language models.
mcp-server-insumer
On-chain token verification across 31 blockchains. 16 tools for ECDSA-signed attestations, discount codes, merchant discovery, and autonomous onboarding.
GDPR Compliance Toolkit
Generate GDPR-compliant privacy policies, data processing agreements, cookie consent text, and DPIA templates for EU businesses.
Infactory MCP Server
Interact with Infactory APIs using Claude and other large language models.
Unsplash MCP Server
An MCP server for accessing the Unsplash API to search for and retrieve photos.