ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] MCP execution failed
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 📦 部署方式
Other, Docker
### 📌 软件版本
docker.io/yidadaa/chatgpt-next-web:v2.16.0
### 💻 系统环境
Other, Ubuntu
### 📌 系统版本
kubernetes v1.23.15
### 🌐 浏览器
Safari
### 📌 浏览器版本
none
### 🐛 问题描述
1. 在kubernetes中部署NextChat和自定义的mcp-server
这个是我的环境变量配置:
```yaml
- name: BASE_URL
value: 'https://openapi.coreshub.cn'
- name: OPENAI_API_KEY
value: xxxx
- name: ENABLE_MCP
value: 'true'
- name: CUSTOM_MODELS
value: '-all,DeepSeek-V3,DeepSeek-R1'
- name: DEFAULT_MODEL
value: DeepSeek-V3
```
这是我的mcp_config配置:
```json
{
"mcpServers": {
"kubesphere": {
"args": [
"-y",
"mcp-remote",
"http://ks-mcp-server.kubesphere-system.svc/sse",
"--clean"
],
"command": "npx"
}
}
}
```
2. 页面发起请求后。报错MCP execution failed

**从页面输出来看,已经获取到了我自定义的mcp-server的tool list**
这个是报错日志:

有一点我很困惑,我的mcp-server里面只配置了kubesphere。但是日志里面报错的是kubernetes的mcp-client找不到。
### 📷 复现步骤
_No response_
### 🚦 期望结果
_No response_
### 📝 补充信息
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.