# ServerOptions (@salmonui/mcp)

> The ServerOptions interface of @salmonui/mcp.

Canonical: https://salmonui.dev/docs/reference/mcp/ServerOptions

```ts
import type { ServerOptions } from '@salmonui/mcp';
```

Entry index: https://salmonui.dev/docs/reference/mcp (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/mcp.md).

## Reference

Kind: interface

```ts
interface ServerOptions {
    readonly index: McpIndex | (() => McpIndex);
    readonly name?: string;
    readonly version?: string;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `index` | `readonly index: McpIndex \| (() => McpIndex);` |  | The index, or a function that loads it on first use. |
| `name` | `readonly name?: string;` | optional |  |
| `version` | `readonly version?: string;` | optional |  |
