# `Snodo.ServerCard`
[🔗](https://github.com/joshrotenberg/snodo/blob/v0.5.0/lib/snodo/server_card.ex#L1)

Builds public MCP Server Cards and optional site-wide AI Catalog documents.

Only use public identity metadata and URLs when publishing these documents.

# `build`

```elixir
@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`.

# `catalog`

```elixir
@spec catalog([{String.t(), String.t()}]) :: map()
```

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.

# `media_type`

```elixir
@spec media_type() :: String.t()
```

The media type of a hosted MCP Server Card.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
