# McpIndex (@salmonui/mcp)

> The McpIndex interface of @salmonui/mcp.

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

```ts
import type { McpIndex } 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 McpIndex {
    readonly format: typeof INDEX_FORMAT;
    readonly version: string;
    readonly generatedFrom: string;
    readonly siteUrl: string;
    readonly packages: readonly IndexPackage[];
    readonly entries: readonly IndexEntry[];
    readonly symbols: readonly IndexSymbol[];
    readonly docs: readonly IndexDoc[];
    readonly demos: readonly IndexDemo[];
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `format` | `readonly format: typeof INDEX_FORMAT;` |  |  |
| `version` | `readonly version: string;` |  | Version of the Salmon UI packages the index was built from. |
| `generatedFrom` | `readonly generatedFrom: string;` |  | Git SHA of the build, or `unknown`. |
| `siteUrl` | `readonly siteUrl: string;` |  | Public docs site, no trailing slash. |
| `packages` | `readonly packages: readonly IndexPackage[];` |  |  |
| `entries` | `readonly entries: readonly IndexEntry[];` |  |  |
| `symbols` | `readonly symbols: readonly IndexSymbol[];` |  |  |
| `docs` | `readonly docs: readonly IndexDoc[];` |  |  |
| `demos` | `readonly demos: readonly IndexDemo[];` |  |  |
