You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the first deployment, I re-deployed following the new environment variables in order to use the mcp function:
I've used a new environment variable in the worker:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
YARN_VERSION=1.22.19
PHP_VERSION=7.4
ENABLE_MCP=true
Then redeploy
However, unexpectedly, the cloudflare page after redeployment does not have an MCP button
At the same time, I found in the browser log:
page-11392df71ff8766e.js:1 [SideBar] MCP enabled: undefined
It is suspected that it is an error in obtaining the MCP enabled environment
(I'm sorry I don't know if this is a problem with NextChat or a problem with Cloudflare worker/page, so I posted this issue here, I hope the author and all the predecessors can help)
📷 Reproduction steps
According to the cloudflare deployment documentation provided by the project, try to deploy NextChat in cloudflare
I first kept configuring using the recommended environment variables below:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
OPENAI_API_KEY=My APIkey
YARN_VERSION=1.22.19
PHP_VERSION=7.4
BASE_URL=My baseurl
After the first deployment, I re-deployed following the new environment variables in order to use the mcp function:
I've used a new environment variable in the worker:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
YARN_VERSION=1.22.19
PHP_VERSION=7.4
ENABLE_MCP=true
Then redeploy
🚦 Expected results
Expect the deployed website to have the MCP function button
📦 部署方式
Other
📌 软件版本
v2.15.8
💻 系统环境
Other Linux
📌 系统版本
N/A
🌐 浏览器
Chrome
📌 浏览器版本
132.0.6818.0
🐛 问题描述
我根据项目所提供的cloudflare部署文档,尝试在cloudflare部署NextChat
我首先保持使用如下推荐的环境变量进行了配置:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
OPENAI_API_KEY=我的APIkey
YARN_VERSION=1.22.19
PHP_VERSION=7.4
BASE_URL=我的baseurl
在首次部署后,我为了使用mcp功能,按照下列新的环境变量,重新进行了部署:
我在worker 中 使用了新的环境变量:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
YARN_VERSION=1.22.19
PHP_VERSION=7.4
ENABLE_MCP=true
然后重新部署
然而意外的是重新部署后的cloudflare page并没有MCP按钮
同时我在浏览器日志中发现了:
page-11392df71ff8766e.js:1 [SideBar] MCP enabled: undefined
疑似是MCP enabled环境获取失误
(很抱歉我不知道这属于NextChat的问题还是Cloudflare worker/page的问题,所以在这里发了这个issues,希望作者和各位前辈能提供帮助)
📷 复现步骤
根据项目所提供的cloudflare部署文档,尝试在cloudflare部署NextChat
我首先保持使用如下推荐的环境变量进行了配置:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
OPENAI_API_KEY=我的APIkey
YARN_VERSION=1.22.19
PHP_VERSION=7.4
BASE_URL=我的baseurl
在首次部署后,我为了使用mcp功能,按照下列新的环境变量,重新进行了部署:
我在worker 中 使用了新的环境变量:
NODE_VERSION=20.1
NEXT_TELEMETRY_DISABLE=1
YARN_VERSION=1.22.19
PHP_VERSION=7.4
ENABLE_MCP=true
然后重新部署
🚦 期望结果
期望部署后的网站拥有MCP功能按钮
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: