---
name: cloudnerve-mcp-apps
description: Build, submit, and interact with live-telemetry 3D Three.js web apps and MCP Apps hosted on apps.cloudnerve.com.
---

# CloudNerve 3D MCP Apps

CloudNerve hosts dual-mode 3D Three.js web applications and inline MCP Apps at **https://apps.cloudnerve.com**.

## Streamable HTTP MCP Endpoint

- **MCP URL**: `https://apps.cloudnerve.com/mcp`
- **Transport**: Stateless Streamable HTTP (`application/json`, `text/event-stream`)
- **UI Resource MIME Type**: `text/html;profile=mcp-app`

### Available MCP Tools

- `get_cyber_pulse_globe` — Live CISA KEV vulnerability telemetry & 6-provider CloudNerve health globe (`ui://cloudnerve-apps/cyber-pulse-globe`).
- `get_seismic_cloud` — Live USGS global earthquake magnitude & depth globe with tsunami triage (`ui://cloudnerve-apps/seismic-cloud`).
- `get_skywatch_space` — Live ISS orbital ground-track & NOAA Kp-index geomagnetic aurora globe (`ui://cloudnerve-apps/skywatch-space`).
- `get_faa_nas_radar` — Live FAA National Airspace System (NAS) ground stops, ground delay programs, and airport closure NOTAMs radar (`ui://cloudnerve-apps/faa-nas-radar`).
- `get_stratos_radar` — Live 3D ADS-B airspace telemetry radar (STRATOS) with swept-wing chevrons, altitude layers, contrails, and click-to-lock tracking (`ui://cloudnerve-apps/stratos-radar`, also served directly at `/radar`).
- `get_fselx_silicon_pulse` — Live Fidelity Select Semiconductors Portfolio (FSELX) NAV, weighted intraday estimate, Raw vs Total Return with ex-distribution markers, and 3D Silicon Wafer (`ui://cloudnerve-apps/fselx-silicon-pulse`).
- `get_test_orbit_beacon` — Deterministic procedural 3D orbital telemetry beacon (`ui://cloudnerve-apps/test-orbit-beacon`).
- `list_cloudnerve_3d_apps` — Returns the approved catalog of built-in, community, and forked 3D apps.

## Live Telemetry JSON Feeds & Endpoints

All feeds return normalized JSON snapshots with `Cache-Control` edge caching and stale-while-error fallback:

- `GET https://apps.cloudnerve.com/api/feeds/cyber-pulse`
- `GET https://apps.cloudnerve.com/api/feeds/test-telemetry`
- `GET https://apps.cloudnerve.com/api/feeds/seismic-cloud`
- `GET https://apps.cloudnerve.com/api/feeds/skywatch-space`
- `GET https://apps.cloudnerve.com/api/feeds/faa-nas`
- `GET https://apps.cloudnerve.com/api/feeds/stratos-adsb`
- `GET https://apps.cloudnerve.com/api/feeds/fselx-semi` — Live Yahoo Finance v8 FSELX NAV, weighted intraday estimate from top-10 semiconductor weights + `SOXX`, 1Y/10Y `^GSPC` & `SOXX` benchmarks, and ex-distribution markers (120s TTL cache).
- `GET https://apps.cloudnerve.com/api/telemetry?region=oklahoma` — STRATOS regional/radius ADS-B telemetry proxy (`region=oklahoma|dfw-okc|northeast|socal` or `lat=...&lon=...&dist=1..250`, `adsb.fi v3` → OpenSky OAuth2 → fallback, 12s TTL cache, rate-limited).
- `GET https://apps.cloudnerve.com/radar` — Direct standalone alias serving the STRATOS 3D Airspace Radar (`/v/stratos-radar`).

## Connecting AI Agents

### Gemini CLI (`~/.gemini/settings.json` or `.gemini/settings.json`)

```json
{
  "mcpServers": {
    "cloudnerve-apps": {
      "httpUrl": "https://apps.cloudnerve.com/mcp"
    }
  }
}
```

You can also point agents to `https://apps.cloudnerve.com/skill.md` for live authoring and submission instructions.

### Google ADK Python (`McpToolset`)

```python
from google.adk.agents import LlmAgent
from google.adk.tools.mcp_tool import McpToolset, StreamableHTTPConnectionParams

cloudnerve_tools = McpToolset(
    connection_params=StreamableHTTPConnectionParams(
        url="https://apps.cloudnerve.com/mcp",
    )
)

agent = LlmAgent(
    model="gemini-2.5-flash",
    name="cloudnerve_3d_agent",
    instruction="Use CloudNerve MCP tools to inspect live 3D telemetry and catalog apps.",
    tools=[cloudnerve_tools],
)
```

### Antigravity / Claude (`.mcp.json`)

```json
{
  "mcpServers": {
    "cloudnerve-apps": {
      "type": "http",
      "url": "https://apps.cloudnerve.com/mcp"
    }
  }
}
```

## Single-Shot Three.js Authoring & Security Rules

Every submitted HTML app is scanned by CloudNerve before hosting and served with a strict per-bundle SHA-256 `Content-Security-Policy`:

1. **Renderer**: Use **WebGL 2** via `new THREE.WebGLRenderer(...)` (never `WebGPURenderer`), cap pixel ratio (`Math.min(window.devicePixelRatio || 1, 1.5)`), and pause `requestAnimationFrame` when hidden/offscreen.
2. **Scripts & Curated CDNs**: Prefer self-contained single-file inline `<script>` blocks or curated JS CDNs ONLY (`cdnjs.cloudflare.com`, `cdn.jsdelivr.net`, `unpkg.com`, `esm.sh`). Non-curated external `<script src>` hosts are rejected.
3. **Zero Unsafe Code or Secrets**: Never embed API keys/tokens (`AIza...`, `sk-...`, `AKIA...`, `ghp_...`, private keys), `eval()`, `new Function()`, string-based `setTimeout`/`setInterval`, or `navigator.sendBeacon()`. Public `https://` `EventSource` (SSE) and `wss://` `WebSocket` streams are allowed via Admin moderation review (`connect-src` CSP), while `ws://` and `http://` endpoints remain blocked.
4. **SSRF Protection**: Never connect (`fetch`, `XMLHttpRequest`, `EventSource`, `WebSocket`) to private/loopback/metadata IPs (`169.254.169.254`, `localhost`, `127.0.0.1`, RFC1918 ranges), `http://`, or `ws://` URLs. Relative `/api/feeds/...` paths and `https://feeds.apps.cloudnerve.com` are allowed automatically; other public `https://` and `wss://` origins (including dynamic stream URLs) enter Admin moderation review for explicit `connect-src` approval.
5. **CSP Compatibility**: Avoid inline event attributes (`onclick="..."`) or dynamic `innerHTML` script injection; CloudNerve hashes exact inline `<script>` blocks (`'sha256-...'`) at serve time.

## Submitting a Single-Shot 3D App

Submit a single HTML bundle via `POST https://apps.cloudnerve.com/api/apps/submit`:

```bash
curl -X POST "https://apps.cloudnerve.com/api/apps/submit" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Orbital Relay Visualizer",
    "description": "Interactive WebGL 2 Three.js orbital telemetry scene.",
    "category": "creative",
    "feedIds": ["test-telemetry"],
    "creationPrompt": "Build a WebGL 2 Three.js orbital relay scene with live telemetry rings and deep-link camera state.",
    "aiModel": "Gemini 2.5 Pro",
    "html": "<!DOCTYPE html><html>...</html>"
  }'
```

- **Allowed `category` values**: `security`, `earth-science`, `space`, `games`, `telemetry`, `creative`
- **Allowed `feedIds` values**: `cyber-pulse`, `test-telemetry`, `seismic-cloud`, `skywatch-space`, `faa-nas`, `stratos-adsb`, `fselx-semi`
- **Optional metadata**: `creationPrompt` (string, max 4000 chars) and `aiModel` (string, max 100 chars) are stored and shown on the app card for inspection and remixing.
- **Response**: `202 Accepted` (queued for admin moderation review, returns `slug`, `status: "pending"`, and full `audit` report) or `201 Created` when submitted with valid admin credentials.
