MCP Host CLI
Summary
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.
Available Actions(5)
获取所有工具列表
获取所有连接的服务器上的工具列表。请求方式: GET http://localhost:17925/api/tools
调用工具
调用特定服务器上的工具。请求方式: POST http://localhost:17925/api/tools/toolCall,参数包括 server_name (string), tool_name (string), tool_args (object)
获取所有资源列表
获取所有连接的服务器上的资源列表。请求方式: GET http://localhost:17925/api/resources
读取特定资源
读取特定服务器上的某个资源。请求方式: POST http://localhost:17925/api/resources/read,参数包括 server_name (string), resource_uri (string)
更新 Server 连接
更新服务器连接,Host 会根据更新的配置来新建/重启/删除 Server 连接。请求方式: POST http://localhost:17925/api/connections/update
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation