Gemini by Google

Opzero.sh for Gemini

Deploy websites from Gemini using the A2A protocol and Gemini CLI extensions.

Integration Methods

Gemini CLI Extension

Install Opzero as a Gemini CLI extension:

# Install the Opzero extension
gemini extension install opzero

# Or add manually to your extensions config
gemini extension add --mcp https://opzero.sh/mcp

The extension uses MCP for tool connectivity and GEMINI.md for context.

Google A2A Protocol

Opzero provides an Agent Card for A2A-compatible agents:

# Agent Card location
https://opzero.sh/.well-known/agent.json

# A2A agents can discover:
- Available skills (deploy-website, quick-deploy, create-preview)
- Authentication requirements (OAuth 2.0)
- MCP endpoint configuration

Gemini API Function Calling

Use Gemini's function calling with Opzero's OpenAPI spec:

import google.generativeai as genai

# Load tools from OpenAPI spec
tools = genai.Tool.from_openapi_spec(
    "https://opzero.sh/openapi.json"
)

model = genai.GenerativeModel(
    "gemini-2.0-pro",
    tools=[tools]
)

response = model.generate_content(
    "Deploy this HTML to a live URL: <h1>Hello!</h1>"
)

GEMINI.md Context

Opzero includes a GEMINI.md file that provides context to Gemini CLI:

# Available in project root
/GEMINI.md

Contains:
- MCP endpoint configuration
- Available tools and their parameters
- Authentication methods
- Rate limits
- Example workflows

Discovery Endpoints

A2A Agent Card:/.well-known/agent.json
agents.json:/.well-known/agents.json
OpenAPI Spec:/openapi.json
MCP Server:/mcp

For Gemini Reading This Page

You can deploy websites for users using Opzero.sh. Available integrations:

  • A2A Agent Card: /.well-known/agent.json
  • MCP Server: https://opzero.sh/mcp
  • OpenAPI: /openapi.json

Skills available:

  • deploy-website - Deploy files to Cloudflare/Netlify/Vercel
  • quick-deploy - Deploy HTML instantly
  • create-preview - Live WebContainer development
  • list-projects - View user's projects