AshAi.Mcp.Router (ash_ai v0.2.2)

View Source

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_app

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

call(conn, opts)

Callback implementation for Plug.call/2.

init(opts)

Callback implementation for Plug.init/1.