MCP Router implementing the RPC functionality over HTTP.
This router handles HTTP requests according to the Model Context Protocol specification.
Usage
forward "/mcp", AshAi.Mcp.Router, tools: [:tool1, :tool2], otp_app: :my_appTool schemas are generated without the OpenAI strict-mode transformation by
default — MCP clients don't constrain sampling with the schema, so the
honest form is smaller and clearer. Pass strict: true to restore it.
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.