UNPKG

@apify/actors-mcp-server

Version:

Model Context Protocol Server for Apify

22 lines 1.06 kB
import type { ActorDefinition } from 'apify-client'; import type { ActorDefinitionPruned } from '../types.js'; /** * Returns the MCP server path for the given Actor ID. * Prioritizes the streamable transport path if available. * The `webServerMcpPath` is a string containing MCP endpoint or endpoints separated by commas. */ export declare function getActorMCPServerPath(actorDefinition: ActorDefinition | ActorDefinitionPruned): string | null; /** * Returns the MCP server URL for the given Actor ID. */ export declare function getActorMCPServerURL(realActorId: string, mcpServerPath: string): Promise<string>; /** * Gets Actor ID from the Actor object. */ export declare function getRealActorID(actorIdOrName: string, apifyToken: string): Promise<string>; /** * Returns standby URL for given Actor ID. */ export declare function getActorStandbyURL(realActorId: string, standbyBaseUrl?: string): Promise<string>; export declare function getActorDefinition(actorID: string, apifyToken: string): Promise<ActorDefinition>; //# sourceMappingURL=actors.d.ts.map