Defines read-only templates for MCP servers, providing types for catalog entries, health checks, and placeholder validation. Used to generate server configurations.
// Source: https://github.com/librefang/librefang | License: MIT | Copyright 2024 LibreFang Contributors // Provided via justclaw.it.com; keep this notice with the code. //! MCP catalog and runtime-status schema. //! //! Lives here because the `librefang-types` crate is the schema spine — every //! cross-crate type belongs here, with implementation living in the consuming //! crate. The behaviours that *use* these types (catalog loading, installer //! transforms, health monitoring) stay in `librefang-extensions`. //! //! Distinct from [`crate::config::McpServerConfigEntry`]: catalog entries are //! read-only *templates* shipped with the registry (`~/.librefang/mcp/catalog/ //! *.toml`) that get transformed into a config-side `McpServerConfigEntry` //! when the user installs an MCP server. ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key