Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by GuillaumeMilan • Uncategorized
An Elixir library to build Model Context Protocol (MCP) servers with tools, prompts, and resources.
Expose validated tool endpoints with structured input and output schemas.
Create interactive prompts with argument completion support.
Serve and manage resources with URI templates and metadata.
McpServer is an Elixir library that provides a DSL for defining MCP tools, prompts, and routers with type-safe structs and compile-time validation. It enables developers to expose tool endpoints with input/output schemas, create interactive prompts with argument completion, and manage resources with URI templates. The library supports automatic JSON encoding, connection context handling, and attaching metadata such as icons. It also integrates with Bandit HTTP server for easy deployment.