get_sketchfab_status
Verify Sketchfab integration status in Blender via the BlenderMCP server. Determines availability of Sketchfab features for direct interaction and 3D modeling workflows.
Instructions
Check if Sketchfab integration is enabled in Blender. Returns a message indicating whether Sketchfab features are available.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/blender_mcp/server.py:584-601 (handler)The handler function for the 'get_sketchfab_status' tool. It checks the Sketchfab integration status by sending a command to the Blender connection, processes the response to determine if enabled, appends additional info if enabled, and returns a status message or error.@telemetry_tool("get_sketchfab_status") @mcp.tool() def get_sketchfab_status(ctx: Context) -> str: """ Check if Sketchfab integration is enabled in Blender. Returns a message indicating whether Sketchfab features are available. """ try: blender = get_blender_connection() result = blender.send_command("get_sketchfab_status") enabled = result.get("enabled", False) message = result.get("message", "") if enabled: message += "Sketchfab is good at Realistic models, and has a wider variety of models than PolyHaven." return message except Exception as e: logger.error(f"Error checking Sketchfab status: {str(e)}") return f"Error checking Sketchfab status: {str(e)}"
- src/blender_mcp/server.py:584-585 (registration)The decorators that register the get_sketchfab_status tool with MCP (@mcp.tool()) and add telemetry (@telemetry_tool).@telemetry_tool("get_sketchfab_status") @mcp.tool()