import { type Token } from "../core.js"; import { type FolderRef } from "../refs.js"; import { type ActionUse } from "./actions.js"; import type { CapabilitySpec } from "./agent.js"; import type { FolderHandle } from "./folder.js"; export type McpServerSpec = { name?: string; description?: string; /** * Everything the server exposes, in one array — tools, agents, connector * actions, native actions, and data models. Each entry is a handle (bare or * `{ ref, …options }`): a `defineTool` / `defineAgent` / `defineModel` handle, * a connector action `connector.`, or a native action * (`sendEmail` / `nativeActionRef("sendEmail")`). See `ActionUse`. */ uses?: ActionUse[]; capabilities?: CapabilitySpec[]; folder?: FolderHandle | FolderRef; }; export type McpServerHandle = { readonly slug: string; readonly uuid: Token; readonly resource: "mcpServer"; }; export declare function defineMcpServer(slug: string, spec: McpServerSpec): McpServerHandle; //# sourceMappingURL=mcpServer.d.ts.map