Modules
The main behaviour for MCP servers.
Error raised when a behaviour implementation callback does not respect return signatures.
Helper module used to transform application errors into MCP/RPC error payloads and HTTP status codes.
Helpers for building MCP payload structs from Servers, Tools or repositories.
Represents a GET request from the StreamableHTTP client.
A GenServer based module used for processes representing an ongoing MCP session.
A GenMCP implementation providing tools, resources, and prompts through a
composable extension system.
A behaviour describing extensions to the GenMCP.Suite server.
This module represents data that must be persisted in session storage
when using a GenMCP.Suite.SessionController implementation that persists and
restore long lived sessions.
Defines the behaviour for implementing prompt repositories.
Defines the behaviour for resource repositories and handles their execution.
Behaviour for session controllers.
An implementation of GenMCP.Suite.SessionController that persists the
session to disk.
Defines the behaviour for implementing MCP tools in GenMCP.Suite.
A :telemetry event listener that produces logs for events emitted by the
:gen_mcp application.
Handles incoming MCP requests over HTTP with SSE support.