-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Description
At present, Nacos go SDK only supports regular configuration management and service registration and discovery, and the latest MCP management function of Nacos is not integrated. As a developer who mainly uses Golang language for personal development, I also extensively use NACOS in my personal project development. Therefore, I need to be able to easily manage my MCP based on NACOS and help with intelligent transformation of applications.
Based on the implementation of annotations related to nacos mcp in spring ai alibaba, I personally developed a sdk: nacos mcp go (I am not sure if it is appropriate to propose pr to nacos go sdk, so it has been independently created as a library), with the main functions of:
-MCP Tool based on go tag parsing
-Support registering MCP Server to Nacos cluster through a similar service registration method
-Support starting MCP Server under HTTP protocol
At present, after testing in a personal server environment, MCP can be correctly instantiated and published to the Nacos cluster through the methods in this library, and can be managed in the console.
The repo address: https://github.com/Feizekai/nacos-mcp-go
I hope this can be adopted by Nacos group and looking forward to anyone's comments and exchanges!
目前nacos-go-sdk只支持常规的配置管理和服务注册与发现,nacos最新的MCP管理功能并没有集成。作为在个人开发中主要使用golang语言进行开发的开发者,我亦在个人项目开发中大量的使用nacos,因此很需要基于nacos能很方便地管理我的MCP,帮助应用进行智能化改造。
基于对spring-ai-alibaba中nacos-mcp相关注解的实现,我个人开发了一个sdk:nacos-mcp-go(我不确定提pr到nacos-go-sdk是否合适,所以独立成了一个库),主要功能:
- 基于go tag解析MCP Tool
- 支持通过类似服务注册的方式将MCP Server注册到nacos集群
- 支持在HTTP协议下启动MCP Server
目前经过在个人服务器环境中的测试,可通过这个库中的方法将MCP正确实例化并发布到Nacos集群,且可在控制台进行管理。
仓库地址:https://github.com/Feizekai/nacos-mcp-go
希望这个sdk能为nacos-group采纳,期待大家的评论和交流!