API Reference AttestoMCP v#0.11.0

Copy Markdown View Source

Modules

Authentication helpers for HTTP-based Model Context Protocol servers.

Bridge a verified resource-server identity into the Anubis MCP frame.

Produce a JSON-safe copy of an MCP session-state map before it is written to a jsonb column.

Horde.Registry-backed session registry for the Anubis MCP transports.

Persisted Anubis MCP session state, backing AttestoMCP.Anubis.SessionStore.Ecto.

Postgres-backed Anubis.Server.Session.Store for the Anubis MCP transports.

Builders for OAuth metadata used by HTTP MCP authorization.

Phoenix controller that serves RFC 9728 protected-resource metadata.

Authenticate a protected MCP endpoint with Attesto.

Protect an HTTP MCP endpoint in one plug.

Require scopes on a request authenticated by AttestoMCP.Plug.Authenticate.

Phoenix router macros for OAuth protected-resource metadata discovery.

MCP-oriented scope naming conventions.

Shipped ExUnit assertions for the DPoP sender-constraint contract.

Minimal DPoP replay callback for tests.

Test fixtures for exercising a host MCP server's Attesto pipeline.

Mix Tasks

Generates an Ecto migration that creates the attesto_mcp_sessions table backing AttestoMCP.Anubis.SessionStore.Ecto (a Postgres-backed Anubis.Server.Session.Store adapter).

Scaffolds an MCP protected resource into a Phoenix application

Wires the Ecto-backed Anubis MCP session store into a host application