Provides an Elixir DSL for defining Model Context Protocol (MCP) tools, prompts, and routers.
Sponsored
McpServer is an Elixir library designed to streamline the creation of Model Context Protocol (MCP) servers. It offers a powerful Domain-Specific Language (DSL) for defining interactive tools with automatic input validation and output schemas, as well as engaging prompts with argument completion. The latest version introduces type-safe Elixir structs for all MCP protocol types, significantly enhancing compile-time safety, developer experience with better IDE support, and automatic camelCase JSON encoding for seamless data exchange.
주요 기능
01Interactive Prompts with argument completion
021 GitHub stars
03Validated Tools with automatic input/output schemas
04Connection Context for session and user data
05Type-Safe Structs for MCP protocol types
06Automatic JSON Encoding for all structs
사용 사례
01Creating and exposing interactive AI tools with robust input validation.
02Developing conversational agents or chatbots with dynamic argument completion for prompts.
03Building custom Model Context Protocol servers to integrate with AI platforms or frontends.