Skip to content

[Feature] Support MCP Extension #2248

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
zhengrenjie opened this issue Apr 13, 2025 · 5 comments
Open

[Feature] Support MCP Extension #2248

zhengrenjie opened this issue Apr 13, 2025 · 5 comments

Comments

@zhengrenjie
Copy link

zhengrenjie commented Apr 13, 2025

需求描述
Hi, 我希望能够能够在本地支持MCP插件(MCP部署在Host的方式运行),可能包含MCP的以下几个重要能力:

  1. 具备注册和管理新MCP插件的能力,由用户提供MCP的基本信息,如:
  • MCP插件启动命令(例如py or nvm等)以及启动参数
  • 基本描述信息,方便大模型理解MCP插件的主要功能以及决策如何和该插件进行交互
  • 管理Token,部分MCP需要通过特定的Token才能识别身份并提供相应能力
  1. 具备一定程度的MCP管理能力
  • 启动、停止MCP
  • 对启动的MCP进行简单的协议测试
  1. 对于不同模型进行适配
  • 部分模型对function call已经进行了fine-tune,这部分OpenAI提供了function call的标准
  • 未进行fine-tune的模型可以在chatbox中插入特定的提示词信息给大模型
  • (Optional)对不同模型不同MCP插件进行提示词调优(可能是人工或者自动),这一点是要解决目前MCP的识别率较低的问题(模型在是否需要调用MCP的时候做错和预期不符的决策)
  1. 集成MCP-Hub(可选)
    目前MCP Hub可能还不够成熟,也没有比较成熟的交互协议,不过未来可能会成为趋势(例如mcp.so),可以考虑一下设计的问题,MCP-Hub和Custom MCP设计上可能是对等的

  2. 考虑“Remote-MCP”的集成方式(需要讨论)
    部分云厂商(如aliyun新发布的MCP-hub)会选择通过Remote-MCP的模式提供MCP服务的能力(可能主要考虑到组织规模以及AKSK管理等问题),这种模式还比较新,需要讨论一下集成方式

解决思路
【WIP】

如果本项目确定要支持这个Feature,我可以协助开发,工作日晚和周末有时间

@Bin-Huang

@wkwkwk666
Copy link

2 similar comments
@hehekeke
Copy link

@jacksalad
Copy link

@themez
Copy link
Contributor

themez commented Apr 15, 2025

MCP支持已经在开发中了,感谢建议

@zhengrenjie
Copy link
Author

MCP支持已经在开发中了,感谢建议

♥️,有大致的release时间吗?
(如果已经计划支持,这个issue可以关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@themez @hehekeke @zhengrenjie @jacksalad @wkwkwk666 and others