Elixir icon

Elixir

4

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.

主要功能

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

使用案例

  • Enabling AI models to interact with local file systems
  • Providing AI models with real-time data from external APIs
  • Creating a standardized interface for AI models to access various resources
Craft Better Prompts with AnyPrompt
Sponsored