Implements a Model Context Protocol (MCP) server and client using WebSockets for improved communication with local language models.
WebSocket MCP provides a robust and flexible Model Context Protocol (MCP) server and client implementation leveraging a custom WebSocket transport layer. Designed to overcome limitations of standard I/O and SSE transports, it facilitates efficient message exchange between clients and local language models (LLMs). The included demo showcases a complete local LLM chatbot, enabling users to interact with models via a client that can connect to a local or remote server. The solution provides a foundation for building sophisticated applications that require real-time interaction with LLMs.