Skip to main content
Glama
actors-mcp-server

actors-mcp-server

Official
by apify

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIFY_TOKENYesYour Apify API token
ANTHROPIC_API_KEYNoYour Anthropic API token, required only when running certain example clients

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Apify is the world's largest marketplace of tools for web scraping, data extraction, and web automation. These tools are called Actors. They enable you to extract structured data from social media, e-commerce, search engines, maps, travel sites, and many other sources.

Actor

  • An Actor is a serverless cloud application running on the Apify platform.

  • Use the Actor's README to understand its capabilities.

  • Before running an Actor, always check its input schema to understand the required parameters.

Actor discovery and selection

  • Choose the most appropriate Actor based on the conversation context.

  • Search the Apify Store first; a relevant Actor likely already exists.

  • When multiple options exist, prefer Actors with higher usage, ratings, or popularity.

  • Apify Store lists Actors published by Apify and by independent developers.

Actor execution workflow

  • Actors take input and produce output.

  • Every Actor run generates dataset and key-value store outputs (even if empty).

  • Actor execution may take time, and outputs can be large.

  • Large datasets can be paginated to retrieve results efficiently.

Storage types

  • Dataset: Structured, append-only storage ideal for tabular or list data (e.g., scraped items).

  • Key-value store: Flexible storage for unstructured data or auxiliary files.

  • Unnamed storages are deleted after the account's data-retention period; named storages are kept until deleted.

Apify API resources

  • Any Apify API GET endpoint can be read as an MCP resource. Pass the full https://api.apify.com/v2/... URL to resources/read; the server injects the session's Apify token and returns the response body. Reads require an Apify token — a session without one fails with a JSON-RPC error.

  • Actor and tool results return storage IDs, not resource URLs — build the URL from the ID (e.g. a datasetId becomes https://api.apify.com/v2/datasets/{datasetId}/items) and read it via resources/read.

  • Reads inline up to ~256 KB; a larger response is not downloaded — it returns a short notice with a download URL instead of the body, so page large datasets/lists with limit and offset to stay under the cap.

  • Examples: https://api.apify.com/v2/datasets/{datasetId}/items?clean=true&format=json&limit=100, https://api.apify.com/v2/key-value-stores/{storeId}/records/{recordKey}. resources/templates/list enumerates the common shapes with their paging parameters.

Tool dependencies and disambiguation

Tool dependencies

  • call-actor:

    • Use fetch-actor-details first to obtain the Actor's input schema.

    • Then call with proper input to execute the Actor.

    • Supports a waitSecs parameter (default 30, max 45):

      • waitSecs: 0: fire-and-forget — starts the run and returns immediately with a runId.

      • waitSecs > 0: waits up to that many seconds for the run to complete, then returns its current status and storage IDs (never the output rows — fetch those with get-dataset-items).

Tool disambiguation

  • search-actors vs fetch-actor-details: search-actors finds Actors; fetch-actor-details retrieves detailed info, README, and schema for a specific Actor.

  • Dedicated Actor tools vs call-actor: Prefer dedicated tools when available; call-actor runs an Actor that has no dedicated tool, and batch work whose results belong in a dataset.

If a tool or Actor fails, or a step is confusing or takes several attempts, you can report it with report-problem.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{}
logging
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search-actorsA

Search the Apify Store to FIND and DISCOVER what scraping tools/Actors exist for specific platforms or use cases. This tool provides INFORMATION about available Actors - it does NOT retrieve actual data or run any scraping tasks.

Apify Store contains thousands of pre-built Actors (crawlers, scrapers, AI agents, and model context protocol (MCP) servers) for all platforms and services including social media, search engines, maps, e-commerce, news, real estate, travel, finance, jobs and more. Apify Store lists Actors published by Apify and by independent developers.

Use this tool when user wants to:

  • Find what scraping tools exist for a platform (e.g., "What tools can scrape Instagram?")

  • Discover available Actors for a use case (e.g., "Find an Actor for Amazon products")

  • Browse existing solutions (e.g., "Show me scrapers for news sites")

  • Learn about MCP servers or AI agents available in the Store

This tool discovers Actors; it does not retrieve their output. IMPORTANT: When the user wants detailed data from a specific platform or is looking for scraping tools, prefer searching the Store first — a relevant Actor often already exists. When the user names a specific Actor, look up that Actor directly instead of searching.

Usage:

  • Use 1-3 simple terms from the platform and/or data type the user named (e.g. "Instagram posts", "Twitter", "Amazon products"). With neither named, empty keywords return the Store's default ordering. A platform-only query is an option if more specific results do not fit.

Important limitations: This tool does not return full Actor documentation or detailed usage instructions - only summary information. Each result lists the Actor's input fields with their types (e.g. url: string, maxResults?: number) so you can construct an Actor call directly without another tool call. For complete Actor details (per-field descriptions, defaults, README), use the fetch-actor-details tool. The search is limited to publicly available Actors and excludes rental and restricted Actors.

Returns list of Actor cards with the following info:

  • Title: Markdown header linked to the Store page, followed by the full Actor name in code format

  • URL: Direct Store link

  • Description: Actor description or fallback

  • Pricing: Details with pricing link

  • Stats: Total and monthly users

  • Rating: Out of 5 (if available)

  • Developed by: Username linked to profile, marked (Apify) or (community)

  • Categories: Formatted or "Uncategorized"

  • Last modified: Date (if available)

  • Input fields: Inline list of input field names and types (e.g. url: string, maxResults?: number); ? marks optional fields, ... (+N more) marks a truncated list

fetch-actor-detailsA

Get detailed information about an Actor by its ID or full name (format: "username/name", e.g., "apify/rag-web-browser").

Requires the exact ID or full name — do not construct a plausible-looking name and call this tool with it. If you only have a description, a partial name, or a name you have not seen in this conversation, find it with search-actors first.

Use 'output' to control returned information:

  • Default: all fields except outputSchema and serverInterface. Server Actors always get a one-line server interface summary unless serverInterface is true or a selector.

  • Selective: set only the fields you need to true, e.g. output: { inputSchema: true }

  • Common patterns: inputSchema only, description + readme, serverInterface: true (every operation in full when they fit, an index of them otherwise) or "GET /search" (one operation in full) for Server Actors

The 'readme' field returns the summary when available, full README otherwise. Use when querying Actor details, documentation, or input requirements. It does not connect to an MCP server Actor; fetch-actor-mcp-tool-list lists its MCP tools.

EXAMPLES:

  • What does apify/web-fetch do?

  • What is the input schema for apify/web-scraper?

  • What HTTP operations does this Server Actor expose?

call-actorA

Call any Actor from the Apify Store.

WORKFLOW:

  1. Use fetch-actor-details to get the Actor's input schema

  2. Call this tool with the actor name and proper input based on the schema

If the actor name is not in "username/name" format, use search-actors to resolve the correct Actor first.

An MCP server Actor with no input schema is not run here; call-actor-mcp-tool calls its MCP tools.

For Server Actors (Actors with an HTTP API):

  • This tool starts a batch run and stores the results in a dataset; use it when you need batch results

  • For one or a few results, send-server-actor-request returns them in the HTTP response, without a batch run

  • fetch-actor-details with output={ serverInterface: true } lists its HTTP operations

IMPORTANT:

  • Waits up to waitSecs (default 30s) for completion; returns run status and storage IDs, and with waitSecs > 0 also reports dataset field metadata

  • Use get-dataset-items with the datasetId to fetch results; non-terminal runs include a nextStep with polling instructions

There are two ways to use an Actor:

  1. Its dedicated tool, when the session has one: a Server Actor's tool sends one HTTP request to its API, an MCP server Actor's tools call its MCP server, and any other Actor's tool starts a run.

  2. The generic call-actor tool: starts a run of any Actor and stores the results in a dataset.

USAGE:

  • Prefer the dedicated tool when the session has one for the Actor

  • call-actor runs an Actor that has no dedicated tool, and batch work whose results belong in a dataset.

  • Use waitSecs (0–45) to control how long to wait. Default 30s returns results for fast actors. Use waitSecs: 0 to start and return immediately for long-running actors.

EXAMPLES:

  • user_input: Get instagram posts using apify/instagram-scraper

get-actor-runA

Get detailed information about a specific Actor run.

Returns run result: status, storages (datasets/keyValueStores alias map), stats, summary, nextStep.

  • summary describes the past (e.g. "SUCCEEDED in 22s. 47 items; 3 fields available.").

  • nextStep prescribes one primary follow-up action with identifiers interpolated (e.g. "Use get-dataset-items with datasetId=...").

  • waitSecs (0–45, default 30) waits up to that many seconds for terminal status before returning.

USAGE:

  • Use to check the status of a run started by any Actor-running tool.

  • Pass waitSecs > 0 to block until terminal (or until the cap elapses).

USAGE EXAMPLES:

  • user_input: Show details of run y2h7sK3Wc

  • user_input: Wait for run y2h7sK3Wc to finish

get-dataset-itemsA

Get items (rows) from a dataset — the output/results produced by an Actor run. Returns the rows themselves, not dataset metadata, counts, or a schema. When the user provides a datasetId and asks to retrieve results, output, data, or rows, call this tool directly. Default limit is 20. Use clean=true to skip empty items and hidden fields.

USAGE:

  • Use when you need to read data from a dataset (all items or only selected fields).

USAGE EXAMPLES:

  • user_input: Retrieve results from dataset abc123

  • user_input: Get only metadata.url and title from dataset username~my-dataset

get-key-value-store-recordA

Get the value stored under a specific key in a key-value store — a single record, not a listing of all keys. Requires the exact key name. The response preserves the original Content-Encoding; most clients handle decompression automatically. A record over 262144 bytes is returned as a link to download it, not as its value.

USAGE:

  • Use when you need to retrieve a specific record (JSON, text, or binary) from a store.

USAGE EXAMPLES:

  • user_input: Get record INPUT from store abc123

  • user_input: Get record data.json from store username~my-store

abort-actor-runA

Abort an Actor run that is currently starting or running. For runs with status SUCCEEDED, FAILED, ABORTING, ABORTED, or TIMED-OUT, this call has no effect. The results will include the updated run details after the abort request.

USAGE:

  • Use when you need to stop a run that is taking too long or misconfigured.

USAGE EXAMPLES:

  • user_input: Abort run y2h7sK3Wc

  • user_input: Gracefully abort run y2h7sK3Wc

fetch-actor-mcp-tool-listA

List an Actor's MCP tools with each tool's name, description, input schema, annotations, and metadata, as the server reports them. call-actor-mcp-tool calls one of them by name. Each call asks the server again; nothing is cached. It connects with your Apify API token. Connecting can start a Server Actor run in your account, kept until its idle timeout; a multi-tenant Server Actor charges per event.

USAGE:

  • Use when the user asks which MCP tools an Actor provides, or before calling one of them.

USAGE EXAMPLES:

  • user_input: What tools does username/name provide?

call-actor-mcp-toolA

Call one tool on an Actor's MCP server and return its result. fetch-actor-mcp-tool-list lists the Actor's MCP tools and their input schemas. It connects with your Apify API token. Connecting can start a Server Actor run in your account, kept until its idle timeout; a multi-tenant Server Actor charges per event. What the tool itself does depends on the Actor.

Example call: {"actor": "username/name", "tool": "search", "arguments": {"query": "apify"}}

USAGE:

  • Use when the user asks to call a tool on an Actor's MCP server.

USAGE EXAMPLES:

  • user_input: Use the search tool of username/name to look up apify

send-server-actor-requestA

Send one HTTP request to an Actor Server: the HTTP API of a Server Actor, documented in its API schema (OpenAPI) and README. fetch-actor-details with output.serverInterface returns the documented operations with their parameters. Give the method, the path, and optionally query parameters and a JSON body; the Actor Server's host and your Apify API token are added for you. Only an Actor with an Actor Server and an API schema takes requests here; the Actor accepts or rejects the method and path. A request to a single-tenant Actor Server can start a run of the Actor in your account, kept until its idle timeout; a multi-tenant Actor Server charges per event. The request is sent once, with no retries and without following redirects. A JSON, text, or XML response body is returned as text, cut at 262144 bytes; other content types are not returned.

Example call: {"actor": "apify/rag-web-browser", "method": "GET", "path": "/search", "query": {"query": "AI news", "maxResults": 3}}

USAGE:

  • Use when the Actor that fits the user's request has an Actor Server, and its API schema or README names the endpoint for the task.

  • Fits requests for one or a few results returned in the HTTP response. Larger batches depend on the endpoint and the response size and time limits.

USAGE EXAMPLES:

  • user_input: Search the web for the latest AI news and read the top pages with apify/rag-web-browser

  • user_input: Read https://docs.apify.com as Markdown with apify/rag-web-browser

search-apify-docsA

Search Apify and Crawlee documentation using full-text search. Do not also search the Apify Store unless the user asks to find Actors.

You must explicitly select which documentation source to search using the docSource parameter:

• docSource="apify" - Apify: Apify Platform documentation including: Platform features, SDKs (JS, Python), CLI, REST API, Academy (web scraping fundamentals), Actor development and deployment

• docSource="crawlee-js" - Crawlee (JavaScript): Crawlee is a web scraping library for JavaScript. It handles blocking, crawling, proxies, and browsers for you.

• docSource="crawlee-py" - Crawlee (Python): Crawlee is a web scraping library for Python. It handles blocking, crawling, proxies, and browsers for you.

The results will include the URL of the documentation page (which may include an anchor), and a limited piece of content that matches the search query.

Fetch the full content of the document using the fetch-apify-docs tool by providing the URL.

When results contain both platform documentation (docs.apify.com/platform) and Academy content (docs.apify.com/academy) on the same topic, prefer the platform documentation.

fetch-apify-docsA

Fetch the full content of an Apify or Crawlee documentation page by its URL. Use this after finding a relevant page with the search-apify-docs tool.

USAGE:

  • Use when you need the complete content of a specific docs page for detailed answers.

USAGE EXAMPLES:

report-problemA

Report a problem with Apify's MCP tools or Actors to the Apify team.

Reports can describe missing tools or Actors, errors, timeouts, confusing results, steps that took several attempts, or tasks that the available tools could not complete. Reports help fix the problem for other users.

Put what you were doing and what went wrong in "message". Do NOT include personal data, credentials, secrets, or verbatim private conversation content — describe the issue in your own words.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 13 tools

Disambiguation4/5

Most tools target clearly distinct actions (search, fetch details, run, abort, read dataset, docs search/fetch). The only murky cluster is call-actor vs call-actor-mcp-tool vs send-server-actor-request, which all 'invoke' something, but the descriptions clearly differentiate generic runs, MCP tool calls, and HTTP endpoint requests.

Naming Consistency5/5

All 13 tools use consistent kebab-case verb-first naming: fetch-*, search-*, get-*, call-*, abort-*, send-*, report-*. No mixing of conventions or casing styles.

Tool Count5/5

13 tools sits squarely in the well-scoped range for an Actor hub that must cover discovery, execution, storage retrieval, docs, and reporting. Each tool maps to a distinct step in the workflow.

Completeness4/5

The surface covers the full Actor lifecycle (discover, inspect, run, poll, abort) plus dataset and key-value access, docs, MCP tool invocation, server HTTP requests, and problem reporting. Minor gaps remain: no listing of a user's own runs/actors or dataset/key-value-store enumeration, though agents can work around these with known IDs.

Maintenance

ActivityActive
ResponsivenessSyncing