elixir_mcp_server
4
The Elixir MCP Server is an implementation of the Model Context Protocol that allows AI models to interact securely with resources. It features tool extensibility and supports Server-Sent Events for data transport.
Elixir MCP Server
An Elixir implementation of the Model Context Protocol (MCP) server. This project is a basic example of an MCP server using SSE (Server-Sent Events) as the transport protocol. Feature highlights include listing files in a directory, echoing messages, and fetching weather information. Prerequisites include Elixir 1.18 or higher and Erlang/OTP 27 or higher. The server includes endpoints for SSE and messaging.
Prerequisites
- Elixir 1.18 or higher
- Erlang/OTP 27 or higher
Getting Started
- Install dependencies:
- Start the server with a weather API key.
- Connect via SSE at the specified endpoint.
Available Tools
- List files in a directory
- Echo a message
- Get weather information
Adding Custom Tools
Update specific functions to include custom tools.