xiaozhi后台获取的mcp 的ws的token,频繁失效

Author: kcon0305Created Aug 7, 2026Updated Sep 9, 2026
Labelsquestion

Before submitting

  • I have searched the repository and existing issues and did not find an answer.

Relevant device, version, or code area

云端 MCP 接入点(api.xiaozhi.me)/ 78/mcp-calculator 的 mcp_pipe.py / WebSocket 长连接

Goal and question

这不是 ESP32 固件问题,而是 xiaozhi.me 提供的云端 MCP 接入点问题。

Issue 页面中的 “Other cloud services and account requests” 只会跳转到 xiaozhi.me 首页,但网站中没有找到可提交技术反馈的入口,因此在这里咨询。 如果存在更合适的云服务反馈渠道,请告知。

问题描述

我们使用 xiaozhi.me 控制台生成的 MCP 接入点,通过基于 78/mcp-calculatormcp_pipe.py 建立 WebSocket 长连接。

连接可以正常建立,但运行一段时间后,会被服务端以 WebSocket 私有状态码 4004 Internal server error 主动关闭。能否有什么方式保证token一直不失效呢

What have you tried?

No response