Skip to content

MCP客户端调用ModelScope的MCP链接失败 #353

@RonnyChan96

Description

@RonnyChan96

问题摘要 / Issue Summary

MCP客户端调用ModelScope的MCP链接失败

版本信息 / Version Information

v3.5.4

浏览器 / Browser

Chrome

操作系统 / Operating System

Windows 11

发生了什么?/ What happened?

MCP Client初始化以后 超时60s随后报错。

Image

期望的行为 / Expected Behavior

调用成功

重现步骤 / Steps to Reproduce

使用ModelScope的SSE链接对MCPClient进行初始化,就可以重现

Image

相关日志 / Relevant Logs

额外信息 / Additional Context

Image

除了第一个 event=endpoint的能走进去
后面的message都过不了最外层的if 因为 textEvent.data() 是blank

Image

只有走进去才会使用consumer,从而修改initialized的值。

Image

Image

确认事项 / Confirmations

  • 我已经搜索了现有的issues,确认这不是重复问题
    I have searched existing issues and confirmed this is not a duplicate

  • 我已经阅读了项目文档和 FAQ
    I have read the project documentation and FAQ

  • 我提供的信息准确完整
    The information I provided is accurate and complete

  • 我愿意协助测试问题修复 (可选)
    I'm willing to help test the bug fix (optional)

Metadata

Metadata

Assignees

Labels

in: felIssues in FEL(FIT Expression for LLM) modulestype: bugA general bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions