Skip to content

[Bug] MCP execution failed #6437

@redscholar

Description

@redscholar

📦 部署方式

Other, Docker

📌 软件版本

docker.io/yidadaa/chatgpt-next-web:v2.16.0

💻 系统环境

Other, Ubuntu

📌 系统版本

kubernetes v1.23.15

🌐 浏览器

Safari

📌 浏览器版本

none

🐛 问题描述

  1. 在kubernetes中部署NextChat和自定义的mcp-server
    这个是我的环境变量配置:
            - 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配置:

{
  "mcpServers": {
    "kubesphere": {
      "args": [
        "-y",
        "mcp-remote",
        "http://ks-mcp-server.kubesphere-system.svc/sse",
        "--clean"
      ],
      "command": "npx"
    }
  }
}
  1. 页面发起请求后。报错MCP execution failed
    Image
    从页面输出来看,已经获取到了我自定义的mcp-server的tool list
    这个是报错日志:
    Image
    有一点我很困惑,我的mcp-server里面只配置了kubesphere。但是日志里面报错的是kubernetes的mcp-client找不到。

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions