API Reference mcp_house v#0.1.0

Copy Markdown View Source

Modules

Model Context Protocol servers and clients for Elixir.

Discover and call MCP servers from an Elixir application.

OAuth discovery and authorization-code flow for an HTTP MCP resource.

A handle for an asynchronous tool call or subscription.

A Plug serving MCP tools over HTTP. By default it accepts only 2026-07-28. Enable 2025-11-25, 2025-06-18, or 2025-03-26 for Streamable HTTP handshakes. Enable 2024-11-05 for HTTP+SSE. List the desired revisions in the mount's :protocol_versions option. Set :sessions to bind handshake sessions to authenticated principals through a McpHouse.Server.SessionStore implementation.

Provisional atomic session adapter for a host-mounted MCP endpoint.

Host-supervised, node-local session store. Add {McpHouse.Server.SessionStore.Memory, name: MyApp.Sessions} to the host supervision tree. A restart forgets all sessions. Configure :sweep_interval in milliseconds to change how often expired records are reclaimed; expiry is enforced at every access.