@apify/actors-mcp-server
Version:
Model Context Protocol Server for Apify
62 lines • 2.63 kB
TypeScript
export declare const ACTOR_README_MAX_LENGTH = 5000;
export declare const ACTOR_ENUM_MAX_LENGTH = 200;
export declare const ACTOR_MAX_DESCRIPTION_LENGTH = 500;
export declare const ACTOR_RUN_DATASET_OUTPUT_MAX_ITEMS = 5;
export declare const ACTOR_MAX_MEMORY_MBYTES = 4096;
export declare const SERVER_NAME = "apify-mcp-server";
export declare const SERVER_VERSION = "1.0.0";
export declare const USER_AGENT_ORIGIN = "Origin/mcp-server";
export declare enum HelperTools {
ACTOR_ADD = "add-actor",
ACTOR_CALL = "call-actor",
ACTOR_GET = "get-actor",
ACTOR_GET_DETAILS = "get-actor-details",
ACTOR_REMOVE = "remove-actor",
ACTOR_RUNS_ABORT = "abort-actor-run",
ACTOR_RUNS_GET = "get-actor-run",
ACTOR_RUNS_LOG = "get-actor-log",
ACTOR_RUN_LIST_GET = "get-actor-run-list",
DATASET_GET = "get-dataset",
DATASET_LIST_GET = "get-dataset-list",
DATASET_GET_ITEMS = "get-dataset-items",
DATASET_SCHEMA_GET = "get-dataset-schema",
KEY_VALUE_STORE_LIST_GET = "get-key-value-store-list",
KEY_VALUE_STORE_GET = "get-key-value-store",
KEY_VALUE_STORE_KEYS_GET = "get-key-value-store-keys",
KEY_VALUE_STORE_RECORD_GET = "get-key-value-store-record",
APIFY_MCP_HELP_TOOL = "apify-actor-help-tool",
STORE_SEARCH = "search-actors",
DOCS_SEARCH = "search-apify-docs",
DOCS_FETCH = "fetch-apify-docs"
}
export declare const defaults: {
actors: string[];
};
export declare const ACTOR_ADDITIONAL_INSTRUCTIONS = "Never call/execute tool/Actor unless confirmed by the user.";
export declare const ACTOR_CACHE_MAX_SIZE = 500;
export declare const ACTOR_CACHE_TTL_SECS: number;
export declare const APIFY_DOCS_CACHE_MAX_SIZE = 500;
export declare const APIFY_DOCS_CACHE_TTL_SECS: number;
export declare const ACTOR_PRICING_MODEL: {
/** Rental actors */
readonly FLAT_PRICE_PER_MONTH: "FLAT_PRICE_PER_MONTH";
readonly FREE: "FREE";
/** Pay per result (PPR) actors */
readonly PRICE_PER_DATASET_ITEM: "PRICE_PER_DATASET_ITEM";
/** Pay per event (PPE) actors */
readonly PAY_PER_EVENT: "PAY_PER_EVENT";
};
/**
* Used in search Actors tool to search above the input supplied limit,
* so we can safely filter out rental Actors from the search and ensure we return some results.
*/
export declare const ACTOR_SEARCH_ABOVE_LIMIT = 50;
export declare const MCP_STREAMABLE_ENDPOINT = "/mcp";
export declare const ALGOLIA: {
appId: string;
apiKey: string;
indexName: string;
};
export declare const PROGRESS_NOTIFICATION_INTERVAL_MS = 5000;
export declare const APIFY_STORE_URL = "https://apify.com";
//# sourceMappingURL=const.d.ts.map