Elixir

•
7
•

Provides an example implementation of a Model Context Protocol (MCP) server using Elixir and SSE transport.

This project demonstrates how to build an MCP server using Elixir, leveraging Bandit and Plug. The server uses Server-Sent Events (SSE) for transport and offers basic tools like listing files, echoing messages, and fetching weather information. It is designed to interact with AI models, allowing them to securely access local and remote resources through a standardized protocol. The project includes instructions for setup, testing with the NXP Inspector client, and extending the server with custom tools.

主要功能

01Includes example tools for file listing, message echoing, and weather retrieval
02Easy to extend with custom tools by modifying handler functions
03Implements the Model Context Protocol (MCP)
044 GitHub stars
05Integrates with the NXP Inspector client for testing
06Uses Server-Sent Events (SSE) for real-time communication

使用案例

01Enabling AI models to interact with local file systems
02Providing AI models with real-time data from external APIs
03Creating a standardized interface for AI models to access various resources