# `OzMcp.Structs.Implementation`
[🔗](https://github.com/oz-elixir/oz_mcp/blob/v0.9.0/lib/oz_mcp/structs/implementation.ex#L1)

Helper module used to build `Implementation` structure.

_(MCP protocol: 2025-11-25)_

## Short example:

```elixir
%Implementation{}
  |> Implementation.name("my-server")
  |> Implementation.title("My MCP Server")
  |> Implementation.version("1.0.0")
  |> Implementation.build()
```

Result:

```elixir
%{name: "my-server", version: "1.0.0", title: "My MCP Server"}
```

Specification: [Implementation](https://modelcontextprotocol.io/specification/2025-11-25/schema#implementation)

## Fields

| Field | Setter | Type | Required |
|---|---|---|---|
| `icons` | `icons/2` | list of `t:OzMcp.Structs.Icon.t/0` | no |
| `name` | `name/2` | string | yes |
| `title` | `title/2` | string | no |
| `version` | `version/2` | string | yes |
| `description` | `description/2` | string | no |
| `websiteUrl` | `website_url/2` | string | no |

# `t`

```elixir
@type t() :: %OzMcp.Structs.Implementation{
  description: String.t() | nil,
  icons: [OzMcp.Structs.Icon.t()] | nil,
  name: String.t(),
  title: String.t() | nil,
  version: String.t(),
  websiteUrl: String.t() | nil
}
```

# `build`

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

# `description`

```elixir
@spec description(t(), String.t() | nil) :: t()
```

# `icons`

```elixir
@spec icons(t(), [OzMcp.Structs.Icon.t()] | nil) :: t()
```

# `name`

```elixir
@spec name(t(), String.t()) :: t()
```

# `title`

```elixir
@spec title(t(), String.t() | nil) :: t()
```

# `version`

```elixir
@spec version(t(), String.t()) :: t()
```

# `website_url`

```elixir
@spec website_url(t(), String.t() | nil) :: t()
```

---

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