View as Markdown

API reference: @salmonui/mcp

loadIndexfunction

import { loadIndex } from '@salmonui/mcp';
function loadIndex(path?: string): McpIndex;

Reads and checks an index file. Throws with an actionable message when it is missing or of another format.