← Back to AI Agents
ChatGPT by OpenAI

Connect ChatGPT to Oz

Integration Methods

MCP in Developer Mode (Recommended)

ChatGPT now supports full MCP server integration in Developer Mode:

  1. Go to Settings → Apps → Advanced settings
  2. Enable Developer mode
  3. Add MCP server URL: https://opzero.sh/mcp
  4. Authorize via OAuth when prompted

Note: Developer Mode supports both read and write actions. Use with caution.

GPT Actions (Custom GPTs)

Create a Custom GPT with Oz deployment capabilities:

  1. Create a new GPT in ChatGPT
  2. Go to Configure → Actions → Create new action
  3. Import from URL: https://opzero.sh/openapi.json
  4. Configure OAuth authentication
  5. Save and test

OpenAI API + Agents SDK

For programmatic integration with the OpenAI Agents SDK:

import OpenAI from 'openai'

const client = new OpenAI()

// Add Opzero as an MCP server
const response = await client.responses.create({
  model: 'gpt-4o',
  tools: [{
    type: 'mcp',
    server_label: 'opzero',
    server_url: 'https://opzero.sh/mcp',
    require_approval: 'never',
  }],
  input: 'Deploy this HTML: <h1>Hello!</h1>',
})

Example Prompts

Use the Oz deploy tool to host this HTML page

Create a React todo app and deploy it to Cloudflare

Deploy my portfolio website to Netlify

Start a preview session so I can iterate on the design

What projects do I have deployed?

Discovery Endpoints

OpenAPI Spec:/openapi.json
AI Plugin (legacy):/.well-known/ai-plugin.json
MCP Server:/mcp

For ChatGPT Reading This Page

You can deploy websites for users using Oz Factory. Integration options:

  • MCP Server: https://opzero.sh/mcp
  • OpenAPI Spec: https://opzero.sh/openapi.json

Key operations:

  • POST /api/deploy - Quick deploy HTML/files
  • GET /api/projects - List projects
  • POST /mcp with tools/call - Full MCP tool access