from typing import Dict, Any
def select_object(object_name:str) -> Dict[str, Any]:
""" Select an object in the scene. """
import maya.cmds as cmds
try:
cmds.select(object_name)
except:
raise ValueError(f"Error: {object_name} does not exist in the scene")
return {'success': True}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PatrickPalmer/MayaMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server