Mcp Sse icon

Mcp Sse

CreatedkEND

Implements the Model Context Protocol (MCP) over Server-Sent Events (SSE) in Elixir.

About

This Elixir library provides a streamlined implementation of the Model Context Protocol (MCP) leveraging Server-Sent Events (SSE) for transport. It simplifies the integration of MCP into Elixir applications, offering features like automatic session management, JSON-RPC handling, and SSE keepalive. The library supports both Phoenix and Plug applications, making it versatile for various Elixir-based projects needing to interact with the Model Context Protocol.

Key Features

  • SSE connection management
  • SSE Keepalive configuration
  • JSON-RPC message handling
  • Full MCP server implementation
  • Automatic session management
  • 32 GitHub stars

Use Cases

  • Building interactive applications with server-sent event updates
  • Integrating with tools adhering to the Model Context Protocol
  • Enabling real-time communication between Elixir applications and MCP clients