The Apify's MCP server (mcp.apify.com) allows AI applications and agents to interact with the Apify platform using Model Context Protocol (MCP). The MCP server enables AI agents to discover and run Actors from Apify Store, access storages and results, and enables AI coding assistants to access Apify documentation and tutorials.
To connect a coding agent such as Claude Code, Cursor, GitHub Copilot, or Codex, install the Apify plugin instead. It sets up this server together with Agent Skills in one step.

This page covers the Apify MCP server, which exposes Apify Actors as tools to outside AI clients. If you are building an Actor that needs to call third-party MCP servers (such as Notion or Slack) on a user's behalf, see MCP connectors instead.
The Apify MCP server and Apify AI share the same Actor search and execution backend, but they serve different audiences:
Actor ranking on both surfaces uses parameters similar to those evaluated by the Actor quality score, so Actors with higher quality scores tend to rank higher.
Due to security reasons, the MCP server intentionally excludes full-permission Actors from search and execution. Running a full-permission Actor is a decision you approve personally, so an LLM can't make it on your behalf.
Before connecting your AI to Apify, you need:
You can connect to the Apify MCP server in two ways: use our hosted service using Streamable HTTP with OAuth, or run the server locally for development and testing using local stdio.
The hosted Apify MCP server at https://mcp.apify.com supports output schema inference for structured Actor results. Actor tools automatically include inferred output schemas with field-level type information. This helps AI agents understand the expected result structure before calling an Actor. The local stdio server does not support this feature.
Add https://mcp.apify.com to your MCP client. On first connection, your browser opens so you can sign in to Apify and approve access. To authorize without signing in, use your Apify API token instead.
This flow authorizes the server without putting your API token in the client configuration.
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com"
}
}
}
You can also use your Apify token directly, instead of OAuth, by setting the Authorization: Bearer <APIFY_TOKEN> header in the MCP server configuration.
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com",
"headers": {
"Authorization": "Bearer <APIFY_TOKEN>"
}
}
}
}
Replace <APIFY_TOKEN> with your actual Apify API token from the API & Integrations section.
For a client-specific configuration, use the MCP configurator: pick the Actors and tools you need, then copy the generated configuration into your client. If you use the Apify CLI, apify mcp install <client> writes the configuration for you, for example apify mcp install cursor.
If your client doesn't support remote MCP servers using the https://mcp.apify.com URL, you can run the server locally instead. This method uses the stdio transport to connect directly through your local environment.
Add this to your configuration file:
{
"mcpServers": {
"actors-mcp-server": {
"command": "npx",
"args": ["-y", "@apify/actors-mcp-server"],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}
The server will download automatically on first use and connect using your API token.
Agents can pay for Actor runs without an Apify account. Payments made per request through the MCP server, such as with Skyfire, work only with pay-per-event Actors. To run any Actor that uses limited permissions, buy a prepaid token through agentic payments and use it as a Bearer token with the MCP server.
By default, the MCP server loads the actors and docs tool categories, the apify/rag-web-browser and apify/web-fetch Actors, and report-problem. You can customize which tools
are available by adding parameters to the server URL:
https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser
For minimal setups where you only need specific Actors:
https://mcp.apify.com?tools=apify/instagram-scraper,apify/google-search-scraper
This configuration approach works for both hosted and local setups. For the CLI version:
npx @apify/actors-mcp-server --tools actors,docs,apify/web-scraper
Use the UI configurator https://mcp.apify.com/ to select your tools visually, then copy the configuration to your client.
The Apify MCP server accepts requests without an API token when the tools query parameter contains only tools enabled for unauthenticated use. These tools cover Actor discovery and documentation lookup:
search-actorsfetch-actor-detailssearch-apify-docsfetch-apify-docsFor example, the following URL connects without authentication:
https://mcp.apify.com?tools=search-actors,fetch-actor-details,search-apify-docs,fetch-apify-docs
If the tools parameter includes any other tool, or you connect to the default endpoint, the server requires an API token. Running Actors and accessing storage or run data always requires authentication.
search-actorsactorsfetch-actor-detailsactorscall-actoractorswaitSecs (0-45, default 30) for it to finish. Pass run limits (memory, timeout, maxItems, maxTotalChargeUsd) in callOptions, not in the Actor input. Returns the run status and storage IDs, not the results themselvesapify/rag-web-browserapify/web-fetchsearch-apify-docsdocsfetch-apify-docsdocsget-actor-runrunsget-actor-run-listrunsget-actor-run-logrunsabort-actor-runrunsget-datasetstorageget-dataset-itemsstorageget-dataset-schemastorageget-key-value-storestorageget-key-value-store-keysstorageget-key-value-store-recordstorageget-dataset-liststorageget-key-value-store-liststorageget-actor-tasktaskscreate-actor-tasktasksupdate-actor-tasktaskspublish-actor-tasktasksunpublish-actor-tasktaskscreate-scheduleschedulesget-scheduleschedulesupdate-scheduleschedulesdelete-scheduleschedulesreport-problemdevcall-actor returns the run's status and storage IDs, not its output. To read the results, use get-dataset-items with the datasetId from the run. It supports limit, offset, and field filtering.
Whenever call-actor or a specific Actor tool such as apify--rag-web-browser is loaded, the server also adds get-actor-run, get-dataset-items, get-key-value-store-record, and abort-actor-run, even if you didn't select them. A default configuration therefore exposes them too.
Your AI can search Apify Store for relevant Actors using the search-actors tool, inspect Actor details to understand required inputs, and call any Actor by name using call-actor - without needing to pre-configure it. This means your AI can adapt to new tasks without manual configuration.
The MCP server collects telemetry data about tool calls and MCP clients to help Apify understand usage patterns and improve the service. Participation in this program is optional and you may opt out if you prefer not to share any information.
All telemetry data is collected and stored securely. We do not collect any sensitive information such as conversations, arguments passed to tools, API tokens, or personal data.
The server collects anonymous information about tool usage, including:
By default, telemetry is enabled for all tool calls.
For the remote server (mcp.apify.com), you can opt out of telemetry by adding the telemetry-enabled=false query parameter to the server URL:
https://mcp.apify.com?telemetry-enabled=false
For the local stdio server, opt out of telemetry using a CLI flag or an environment variable. When both the CLI flag and environment variable are set, the CLI flag takes precedence.
CLI flag: set the --telemetry-enabled CLI flag to false:
npx @apify/actors-mcp-server --telemetry-enabled=false
Environment variable: set the TELEMETRY_ENABLED environment variable to false:
export TELEMETRY_ENABLED=false
npx @apify/actors-mcp-server
For production deployments, explicitly specify which tools to load rather than relying on defaults. This ensures consistent behavior across updates:
https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser
For a local stdio server, always use the latest version of the server by appending @latest to your npm commands.
Monitor your API usage through Apify Console to stay within your plan limits.
The Apify MCP server allows up to 30 requests per second per user. This limit applies to all operations including Actor runs, storage access, and
documentation queries. If you exceed this limit, you'll receive a 429 response and should implement appropriate retry logic.
For Claude Desktop-specific troubleshooting (tools not loading, connection errors, corrupted cache), see Claude Desktop troubleshooting.
APIFY_TOKEN environment variable.node -v in your terminal.@apify/actors-mcp-server package. You can do this by appending @latest to the package name in your npx command or configuration file.The Apify MCP server is an open-source project. Report bugs, suggest features, or ask questions in the GitHub repository.
If you find this project useful, please star it on GitHub to show your support!
To learn more about MCP and Apify integration: