{
    "service": "GearHost Instant Publish \u2014 MCP server (Streamable HTTP, JSON-RPC 2.0)",
    "what": "Publish a website to a live public https URL in seconds. No account, no git, no FTP/SSH, no credentials.",
    "how_to_publish": "POST a JSON-RPC tools/call to THIS url (https://mcp.gearhost.com/). It is a PUBLIC endpoint \u2014 you do NOT need to connect it, add a git remote, or authenticate. Just POST the example below.",
    "example": {
        "curl": "curl -s -X POST https://mcp.gearhost.com/ -H \"Content-Type: application/json\" -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"publish_website\",\"arguments\":{\"html\":\"<h1>Hello, World!</h1>\"}}}'",
        "request_body": {
            "jsonrpc": "2.0",
            "id": 1,
            "method": "tools/call",
            "params": {
                "name": "publish_website",
                "arguments": {
                    "html": "<h1>Hello, World!</h1>"
                }
            }
        },
        "response": "result.structuredContent.url is your live https://<name>.gearhost.io site (usually live at once: live_now:true; a brand-new chosen name can need ~10s of DNS - confirm with the get_site_status tool)."
    },
    "discover_tools": "POST {\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"} here to see every tool.",
    "add_as_mcp_server": {
        "note": "Optional: add as an MCP server for native tools. You do NOT need to \u2014 POSTing the example above already publishes.",
        "transport": "http (Streamable HTTP)",
        "url": "https://mcp.gearhost.com/",
        "auth": "none",
        "claude_code": "claude mcp add --transport http gearhost https://mcp.gearhost.com/",
        "mcp_json": {
            "mcpServers": {
                "gearhost": {
                    "type": "http",
                    "url": "https://mcp.gearhost.com/"
                }
            }
        }
    },
    "alternatives": {
        "rest_openapi": "Not using MCP at all? POST JSON to https://octane.gearhost.com/preview/ \u2014 OpenAPI 3.1 at https://octane.gearhost.com/preview/?openapi (Swagger 2.0 at ?openapi=2.0).",
        "guide": "https://octane.gearhost.com/preview/integrations/",
        "terms": "https://octane.gearhost.com/preview/terms/",
        "privacy": "https://octane.gearhost.com/preview/privacy/"
    },
    "note": "If you were told to \"publish to mcp.gearhost.com\", THIS is it \u2014 there is no connector to install, git remote, FTP, SSH, or login. Either POST the example above, or add it as an MCP server with the details in add_as_mcp_server."
}