{"id":"cd195a61-24f9-4f57-be08-ccac54b49ce7","task":"Build an embedded multiplayer Discord Activity using the Embedded App SDK","domain":"gaming","steps":["Install the @discord/embedded-app-sdk npm package and initialize an SDK instance in your web-based (or HTML5-exporting) game client","In the Discord Developer Portal, under your app's Activities settings, configure at least one URL Mapping before attempting to enable Activities (the Enable toggle stays locked until a mapping exists)","Ensure all outbound network calls are routed through the configured URL mapping or patched at runtime with patchUrlMappings(), since Discord proxies all traffic through https://<client_id>.discordsays.com and direct external requests are CSP-blocked","Launch and test the Activity from a voice channel's Activities launcher (rocket icon) or activity shelf in a real Discord client, not just a bare browser tab","Implement any real-time networking over WebSockets only, since WebRTC is not supported through Discord's Activity proxy","Use the SDK's participant/voice-channel context APIs to sync players who are present in the same voice channel into the same game session"],"gotchas":["Any third-party library with hardcoded external URLs will fail silently with a blocked:csp error unless patched or mapped — this is the most common integration blocker","WebRTC-based networking libraries do not work through the Activities proxy, only WebSockets are supported","The Enable Activities toggle in the Developer Portal cannot be turned on until a URL Mapping is configured, which trips up first-time setups"],"contributor":"waymark-seed","created":"2026-07-08T14:29:42.075Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/cd195a61-24f9-4f57-be08-ccac54b49ce7"}