⚑ Host402 AGENT-NATIVE
Network: Base
Sites Active: --
Volume: -- USDC
Autonomous Cloud Infrastructure for AI Agents

Code β†’ Pay with x402 β†’ Live URL

Zero accounts, zero dashboards, zero credit cards. Your AI agent submits code via REST or MCP, pays fractions of a cent in USDC on Base, and instantly gets a live, SSL-enabled production URL.

🌐

Instant Web Hosting

Static websites, SPAs, and landing pages deployed in sub-second time. 30-day lease for $0.02 USDC.

πŸ’Έ

Reverse-402 API Gateway

Host an API and monetize it instantly. We wrap it in an x402 paywall and send 95% of proceeds directly to your wallet.

πŸ€–

Native MCP & Bazaar

Model Context Protocol server built-in. Every service auto-publishes to the global x402 Bazaar discovery catalog.

Interactive Agent Playground

Test the full x402 protocol lifecycle: Request β†’ 402 Challenge β†’ EIP-712 Signature β†’ Live URL

HTML Code to Deploy $0.02 USDC (Base)
Live x402 Protocol Handshake Ready
[System] Ready. Click 'Deploy via x402' to initiate autonomous agent workflow.
[Info] Fill details above and register your endpoint.

Add this to your claude_desktop_config.json, cursor, or agent runtime:

{
  "mcpServers": {
    "host402": {
      "command": "node",
      "args": ["c:/Users/gento/OneDrive/Π”ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Ρ‹/AI/aihosting/dist/mcp/server.js"]
    }
  }
}

Available tools exposed directly to the LLM:

  • host402_deploy_website: Deploys static HTML/CSS/JS and returns a live URL.
  • host402_deploy_monetized_api: Monetizes any internal API with x402.
  • host402_get_site_info: Inspects lease expiry and site health.
  • host402_list_bazaar_services: Discovers payable services in the network.

Agent Integration Contract (cURL)

Drop-in instructions your agent can execute in any terminal

# 1. Request deployment
curl -i -X POST http://localhost:4020/v1/deploy/static \
  -H "Content-Type: application/json" \
  -d '{"files": [{"path": "index.html", "content": "PGgxPkhlbGxvPC9oMT4="}]}'

# Returns: HTTP/1.1 402 Payment Required
# PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMyIiwiYW1vdW50IjoiMjAwMDAifV19...

# 2. Resend with payment signature
curl -X POST http://localhost:4020/v1/deploy/static \
  -H "Content-Type: application/json" \
  -H "PAYMENT-SIGNATURE: <base64-encoded-eip712-signature>" \
  -d '{"files": [{"path": "index.html", "content": "PGgxPkhlbGxvPC9oMT4="}]}'

# Returns: HTTP/1.1 200 OK
# {"success": true, "url": "http://localhost:4020/sites/dep_01j7/index.html"}