Skip to main content
Glama

xigua-MCP

by xiguaxiaome
camera_tools.cpython-310.pyc789 B
o ��9hE�@s&ddlZddlmZdefdd�ZdS)�N)�FastMCP�mcpcCs |��ddtdtfdd��}dS)N� � show_time�returnc Ssfzt�d�}|��sddd�WS|��ddd�WSty2}z dt|�d�WYd}~Sd}~ww)NrFu无法打开摄像头)�success�resultTu摄像头已启动)�cv2Z VideoCaptureZisOpened�release� Exception�str)r�cap�e�r�(E:\mcp\xiaozhi-mcp\tools\camera_tools.py� open_cameras   ��z*register_camera_tools.<locals>.open_camera)r)�tool�int�dict)rrrrr�register_camera_toolssr)r �mcp.server.fastmcprrrrrr�<module>s 

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/xiguaxiaome/xigua-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server