Codex
Use MCP when your Codex host supports it. Otherwise POST HTML to the API.
Point your Codex MCP host at the remote URL:
{
"mcpServers": {
"aft-page": {
"url": "https://mcp.aft.page/mcp"
}
}
}
No MCP host? Deploy with curl:
curl -X POST https://api.aft.page/v1/deploy \ -H 'content-type: text/html' \ --data '<!DOCTYPE html><html><body><h1>shipped by agent</h1></body></html>'
Ask Codex to return the live URL after deploy:
Deploy this HTML to aft.page