We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/superdwayne/8thwallmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
RELEASE-0.2.12.md•1.62 kB
# Release Notes - v0.2.12
## 🐛 Bug Fix Release
### Fixed
- **Null Destructuring Error**: Fixed `Cannot destructure property 'scene' of 'XR8.Threejs.xrScene()' as it is null` error
- Added defensive checks before destructuring `xrScene()` return value
- Check for `XR8`, `XR8.Threejs`, and `XR8.Threejs.xrScene` existence before calling
- Verify `xrSceneData` is not null before accessing properties
- Prevents runtime errors when scene is not yet initialized
### Technical Details
The script template in `src/tools/scriptTemplates.ts` now includes:
```typescript
// Check if XR8.Threejs.xrScene is available
if (!XR8 || !XR8.Threejs || !XR8.Threejs.xrScene) {
return; // Not ready yet
}
// Get the xrScene wrapper object
let xrSceneWrapper;
try {
xrSceneWrapper = XR8.Threejs.xrScene();
} catch (e) {
return; // Not ready yet
}
// Check if the wrapper and its properties exist before destructuring
if (!xrSceneWrapper || !xrSceneWrapper.scene || !xrSceneWrapper.camera) {
return; // Not ready yet
}
// Now safe to destructure
scene = xrSceneWrapper.scene;
camera = xrSceneWrapper.camera;
```
### Impact
- All future scripts generated by the MCP will include this defensive initialization pattern
- Existing projects that encounter this error should regenerate their scripts with the updated MCP
- More robust handling of XR8 initialization timing
### Installation
Download `mcp-8thwall-0.2.12.mcpb` and install in Cursor.
**Important**: Restart Cursor after installing for changes to take effect.
---
**Full Changelog**: https://github.com/superdwayne/8thwallmcp/compare/v0.2.11...v0.2.12