Skip to content

[Bug] MCP execution failed #6437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
redscholar opened this issue Apr 9, 2025 · 0 comments
Open

[Bug] MCP execution failed #6437

redscholar opened this issue Apr 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@redscholar
Copy link

📦 部署方式

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

@redscholar redscholar added the bug Something isn't working label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant