# `Wardrik.MCPServer`

An MCP server an owner added for their agents: its `name`, `url`, and `auth`. `auth` is how
agents sign in to it: `:oauth`, `:secret` or `:none`.

# `t`

```elixir
@type t() :: %Wardrik.MCPServer{auth: term(), name: term(), url: 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*
