MCPInstall
xiaozhi_mcp_examples logo

xiaozhi_mcp_examples

by hlym123 3 stars hlym123/xiaozhi_mcp_examples

xiaozhimcpexamples provides a quick start for testing MCP services with commands and hardware setup.

READMEmaster

MCP 控制测试


快速开始

git clone https://github.com/hlym123/xiaozhi_mcp_examples.git
cd xiaozhi_mcp_examples
pip install -r irequirement

设置 MCP_ENDPOINT

先获取你设备的 MCP_ENDPOINT,进入 xiaozhi 控制台 ,点击配置角色,再点击右下角的 MCP接入点,复制。

export MCP_ENDPOINT=<you_mcp_endpoint>

运行 MCP 服务

python mcp_pipe.py server.py

命令测试

# 发布消息测试
mosquitto_pub -h test.mosquitto.org -t esp32/temphumi -m '{"temperature":24.8,"humidity":55.3}'
# 订阅消息测试
mosquitto_sub -h test.mosquitto.org -t "esp32/rgbled"
# 订阅消息测试
mosquitto_sub -h test.mosquitto.org -t "esp32/fan"

唤醒 xiaozhi,语音对话,说 “开灯,关灯,获取温湿度” 等命令测试。

硬件测试

硬件准备:

  1. 复制程序 m5_device.py 内容到编辑区
  1. 连接设备
  1. 运行程序

More Security & Testing MCP servers

Similar servers from the same category.

Enables deepfake detection in images through Proofly API integration, providing detailed analysis results including real/fake probability scores and individual model results for each detected face.

Security & Testing

CASB provides comprehensive visibility and control over your SaaS applications, so you can easily eliminate the risk of compromise, prevent data loss, and avoid compliance violations.

Security & Testing

Audit logs summarize the history of changes made within your Cloudflare account. Audit logs include account level actions like zone configuration changes.

Security & Testing

YaraFlux

threatflux

Provides YARA-based malware scanning capabilities with support for local and MinIO storage backends, enabling security professionals to manage rules, scan files/URLs, and analyze results for threat detection.

filesystemstorage