OpZ_cli logo

OpZ_cli

Organization
OpZero-sh

Deploy websites from your terminal. Powered by opzero.sh

PublisherOpZero-sh
RepositoryOpZ_cli
LanguageTypeScript
Forks
0
Stars
1
Available tools
20
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    OpZ_cli exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 20 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    1 stars and 0 forks from the linked repository.

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

bash
# Install globally
npm install -g opzero

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

Authenticate

bash
opzero login

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

Deploy

bash
# 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:

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

Or use the standalone package:

json
{
  "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:

bash
npm install @opzero/core
typescript
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

bash
# 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

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Available Tools

  • 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

  • update_deployment

    Update an existing deployment

  • list_projects

    List all projects in the account

  • create_project

    Create a new project

  • project_delete

    Delete a project

  • project_archive

    Archive a project

  • project_cleanup

    Clean up stale or duplicate projects

  • get_deployment

    Get details of a specific deployment

  • list_deployments

    List deployment history for a project

  • redeploy

    Redeploy the latest version of a project

  • rollback_deployment

    Rollback to a previous deployment version

  • get_build_logs

    View build logs for a deployment

  • delete_deployment

    Delete a specific deployment

  • set_custom_domain

    Set a custom domain for a project

  • get_template

    Get available project templates

  • get_system_status

    Check platform status and usage information

Use OpZ_cli MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once OpZ_cli is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add OpZ_cli as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the OpZ_cli MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "opz-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@opzero/mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the OpZ_cli MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the OpZ_cli MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use OpZ_cli to help me with this task?
OpZ_cli
Sure. I read it.
Here is what I found using OpZ_cli.

Frequently asked questions

What is the OpZ_cli MCP server used for?

OpZ_cli is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use OpZ_cli MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use OpZ_cli with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use OpZ_cli MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With OpZ_cli connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect OpZ_cli MCP to TypingMind?

OpZ_cli runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does OpZ_cli MCP provide in TypingMind?

OpZ_cli exposes 20 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use OpZ_cli MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If OpZ_cli requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇