关于
This project demonstrates how to create an MCP (Model Context Protocol) tool that allows language models to interact with external systems. The included calculator example showcases how to perform mathematical calculations, and the framework provides a simple interface for creating custom tools for various use cases, such as email operations, knowledge base search, and remote device control. It features bidirectional communication, automatic reconnection, real-time data streaming, and secure WebSocket communication.
主要功能
- Secure WebSocket communication
- Real-time data streaming
- Easy-to-use tool creation interface
- Bidirectional communication between AI and external tools
- 25 GitHub stars
- Automatic reconnection with exponential backoff
使用案例
- Knowledge base search
- Email operations
- Mathematical calculations