需要通过 HTTP 服务打开这个页面。/ This page must be served over HTTP.

浏览器不允许 file:// 协议下的页面读取同目录的 openapi.yaml(同源策略限制), 所以直接双击打开会是空白页。Browsers block file:// pages from fetching openapi.yaml, so double-clicking this file shows a blank page.

在本目录下执行 / Run in this directory:

python3 -m http.server 8910

然后访问 / then open http://127.0.0.1:8910/。正式部署到 nginx 后没有这个问题。

MCP 接入 中文 English