Sake is MCP for Elixir and Phoenix.

See Sake.Server to expose tools, Sake.Plug to mount the endpoint, Sake.Auth to protect it with your own login, and Sake.Client to call other servers.

Summary

Functions

The child for the host's supervision tree

The package version.

Functions

child_spec(opts)

The child for the host's supervision tree:

{Sake, secret_key_base: {MyAppWeb.Endpoint, :config, [:secret_key_base]}, pubsub: MyApp.PubSub, auth: [...]}

auth: takes the Sake.Auth.Config options; without it only the stream registry runs.

version()

@spec version() :: String.t()

The package version.