# `Wardrik.MCPServerAdded`

The result of adding an MCP server. If it isn't `connected` yet, `authorization` says where
someone signs in first.

# `t`

```elixir
@type t() :: %Wardrik.MCPServerAdded{
  authorization: term(),
  connected: term(),
  server: term()
}
```

# `from_json`

```elixir
@spec from_json(map()) :: t()
```

Builds one from the protocol's JSON.

# `to_json`

```elixir
@spec to_json(t()) :: map()
```

Returns it as the protocol's JSON, without fields that are `nil`.

---

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