← 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:
- Go to Settings → Apps → Advanced settings
- Enable Developer mode
- Add MCP server URL:
https://opzero.sh/mcp - 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:
- Create a new GPT in ChatGPT
- Go to Configure → Actions → Create new action
- Import from URL:
https://opzero.sh/openapi.json - Configure OAuth authentication
- 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.jsonAI Plugin (legacy):
/.well-known/ai-plugin.jsonMCP Server:
/mcpFor 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