McpServer

interface McpServer

该接口代表Mcp服务器,具备可关闭特性。

通过此接口可以获取服务器可用的工具集合,方便对服务器上的工具进行管理和使用。

Author

M8Test, [email protected], https://m8test.com

Inheritors

Functions

Link copied to clipboard
abstract fun getTools(): Set<Tool>

获取服务器可用的工具集合。