elixir_mcp_server

elixir_mcp_server

3.4

If you are the rightful owner of elixir_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An Elixir implementation of the Model Context Protocol (MCP) server using Elixir with Bandit and Plug.

The Elixir MCP Server is a basic implementation of the Model Context Protocol (MCP) using Elixir, Bandit, and Plug. MCP is an open protocol designed to enable AI models to securely interact with both local and remote resources through standardized server implementations. This server uses Server-Sent Events (SSE) as the transport protocol, providing endpoints for message exchange and event streaming. The server is designed to be easily extendable, allowing developers to add custom tools and functionalities. It requires Elixir 1.18 or higher and Erlang/OTP 27 or higher to run. The server can be configured to use a weather API by setting the `WEATHER_API_KEY` environment variable.

Features

  • Secure interaction with local and remote resources
  • Uses Server-Sent Events (SSE) for communication
  • Easily extendable with custom tools
  • Standardized protocol implementation
  • Supports weather information retrieval

Tools

  1. list_files

    List files in a directory

  2. echo

    Echo a message back

  3. get_weather

    Get weather information