x icon indicating copy to clipboard operation
x copied to clipboard

[Feature Wanted] AI Agent MCP Server Support

Open VillanCh opened this issue 10 months ago • 3 comments

需求动机

在现在 AI Agent 的方向下,MCP 是一个很重要的协议,它提供了 AI 基本可以使用的工具,允许用户配置 MCP 服务器,可以让 AI 感知 tools 中的内容。AI 在知道 tools 内容之后,可以取得用户授权做一些事情。

提议的 API 是什么样的?

const dataStream = useMCPConfig({
    servers: [ {type: "sse", target: "http://example.com/sse/"}]
})

VillanCh avatar Mar 01 '25 01:03 VillanCh

同求

MichaelPorter0 avatar Apr 18 '25 06:04 MichaelPorter0

我们将在2.0版本中支持!

kimteayon avatar Apr 25 '25 10:04 kimteayon

我们将在2.0版本中支持!

看到2.0版本将支持的消息很振奋,我觉得这绝对是会引起轰动的新闻, 现在大部分AI客户端像是Cursor 等都是以 IDE 客户端 或者 IDE 插件 的形式来做的, 我一直想要能够在Web端实现Agent功能,将WebApp作为AI模型和MCP Server的中转层,实现调用MCP Server 提供的 tools, 这样肯定会激发相当多web app agent使用场景,我搜了搜视乎现在没有什么其他开源组加库提供这种能力, 如果完全自己去集成MCP 官方的SDK 要写很多麻烦的底层实现代码,像是sse/streamable-http 方式连接mcp / 获取mcp tool / 发送问题时携带Tool信息/解析模型的工具调用命令/ 调用mcp tool ..... 都要自己逐步实现。 希望antd x 能够提供开箱即用的组件或react hook ,可以帮助把MCP相关功能快速接入web app

关于MCP 的支持,请问当前是否已经有路线图或时间表?

AfterStories avatar Jun 27 '25 10:06 AfterStories