Builds public MCP Server Cards and optional site-wide AI Catalog documents.
Only use public identity metadata and URLs when publishing these documents.
Summary
Functions
Builds a v1 Server Card from a runtime and its public Streamable HTTP URL.
Builds an AI Catalog v1.0 from a list of {identifier, hosted_card_url} pairs.
The media type of a hosted MCP Server Card.
Functions
@spec build(Snodo.Server.Runtime.t(), String.t()) :: map()
Builds a v1 Server Card from a runtime and its public Streamable HTTP URL.
The runtime's name must use the schema's namespace/name format, and its
description is required. Invalid card metadata raises ArgumentError.
Builds an AI Catalog v1.0 from a list of {identifier, hosted_card_url} pairs.
Serve the result as application/ai-catalog+json at your site's
/.well-known/ai-catalog.json route.
@spec media_type() :: String.t()
The media type of a hosted MCP Server Card.