A simple and easy-to-use MCP Host CLI that provides a command-line interface for creating and managing MCP hosts. Built by Liu Jilong, this tool leverages the Model Context Protocol SDK to establish connections between AI assistants and external services. The implementation includes both client and server components, allowing users to quickly set up an MCP host environment through a streamlined CLI experience. It's particularly useful for developers looking to integrate AI capabilities with their applications without dealing with complex configuration processes.
获取所有已连接服务器的工具列表,通过 GET 请求访问 http://localhost:17925/api/tools
调用特定服务器上的工具,使用 POST 请求访问 http://localhost:17925/api/tools/toolCall,参数包括 server_name (服务器名称), tool_name (工具名称), tool_args (工具参数)
获取所有已连接服务器的资源列表,通过 GET 请求访问 http://localhost:17925/api/resources
读取特定服务器上的资源,使用 POST 请求访问 http://localhost:17925/api/resources/read,参数包括 server_name (服务器名称), resource_uri (资源URI)
更新服务器连接,使用 POST 请求访问 http://localhost:17925/api/connections/update,无需参数
No reviews yet. Be the first to review!
Sign in to join the conversation