/** * MCP Server Card Generator * * Generates `.well-known/mcp-server` metadata documents from loaded photon info. * Server Cards enable discovery of MCP server capabilities without connecting. * * @see https://spec.modelcontextprotocol.io (Server Cards roadmap) */ import type { AnyPhotonInfo } from './auto-ui/types.js'; export interface ServerCard { name: string; description: string; version: string; protocol: string; transport: Array<{ type: string; url?: string; }>; capabilities: string[]; tools: Array<{ name: string; description: string; }>; photons: Array<{ name: string; description: string; methods: string[]; stateful: boolean; icon?: string; }>; experimental?: Record; } export interface ServerCardOptions { baseUrl?: string; } /** * Generate an MCP Server Card from loaded photon metadata. * * Produces a JSON-serializable document describing this server's capabilities, * transport endpoints, loaded photons, and available tools. */ export declare function generateServerCard(photons: AnyPhotonInfo[], options?: ServerCardOptions): ServerCard; //# sourceMappingURL=server-card.d.ts.map