/** The MCPB manifest schema version this helper emits. */ declare const MCPB_MANIFEST_VERSION = "0.2"; /** Minimum Node the mcp-remote proxy needs on the user's machine. */ declare const MCPB_MIN_NODE = ">=18.0.0"; /** A tool advertised in the bundle manifest (display-only metadata). */ interface McpbTool { name: string; description?: string; } /** Inputs for {@link buildMcpbManifest} / `writeMcpbBundle`. */ interface McpbManifestInput { /** Machine name, e.g. `"decksmith"` (lowercase, no spaces). */ name: string; /** Human display name, e.g. `"Decksmith"`. Defaults to `name`. */ display_name?: string; /** Bundle version, e.g. `"0.2.0"`. */ version: string; /** Short one-line description. */ description: string; /** Optional longer description shown on the extension's detail view. */ long_description?: string; author: { name: string; url?: string; email?: string; }; homepage?: string; documentation?: string; support?: string; /** The remote MCP endpoint the bundle proxies to. */ mcpUrl: string; /** Advertised tools (display metadata only). */ tools?: McpbTool[]; keywords?: string[]; license?: string; /** Entry-point path inside the bundle. Defaults to `"server/proxy.js"`. */ entryPoint?: string; } /** The default entry-point path the proxy stub is written to. */ declare const DEFAULT_MCPB_ENTRY_POINT = "server/proxy.js"; /** * Build the full MCPB `manifest.json` object for a remote MCP server, wrapping * it with `npx -y mcp-remote ` (stdio→HTTP). Returns a plain object ready * to `JSON.stringify`. */ declare function buildMcpbManifest(input: McpbManifestInput): Record; /** * The `server/proxy.js` stub. MCPB requires an `entry_point` file even though * `mcp_config.command` overrides it; if it ever DOES run, it spawns * `npx -y mcp-remote ` itself so the bundle still works. */ declare function buildMcpbProxyStub(mcpUrl: string): string; export { DEFAULT_MCPB_ENTRY_POINT as D, type McpbManifestInput as M, type McpbTool as a, MCPB_MANIFEST_VERSION as b, MCPB_MIN_NODE as c, buildMcpbManifest as d, buildMcpbProxyStub as e };