AttestoMCP.Server.UrlElicitationStore.Ecto (attesto_mcp_server v2.8.0)

Copy Markdown View Source

Optional Ecto-backed implementation of AttestoMCP.Server.UrlElicitationStore.

The adapter is stateless and wraps a repository, namespace, and optional schema prefix. It targets PostgreSQL (Ecto.Adapters.Postgres).

Summary

Functions

Builds a stateless store handle for a host repository.

Types

store()

@type store() :: %{
  repo: module(),
  namespace: String.t(),
  schema_prefix: String.t() | nil
}

Functions

new(opts \\ [])

@spec new(keyword()) :: {:ok, store()} | {:error, term()}

Builds a stateless store handle for a host repository.