Backplane.McpProtocol.Server.Modern.Discovery (backplane_mcp_protocol v0.6.0)

Copy Markdown

Builds the raw result for the mandatory modern server/discover method.

This module intentionally does not add common result metadata or cache fields. The executor isolates callback evaluation, then passes this map through Server.Modern.Result outside the callback failure boundary.

Summary

Types

snapshot()

@type snapshot() :: %{
  :supported_versions => [String.t()],
  :capabilities => map(),
  optional(:instructions) => String.t() | nil
}

Functions

execute(server_module, context)