Lists available Apify Actors that can be run
Runs an Apify Actor with the specified parameters and returns the results
Provides information about available tools and how to use them
Apify Actors MCP Server provides a bridge between AI assistants and Apify's ecosystem of web scraping and automation tools. It implements the Model Context Protocol (MCP) standard, allowing AI models to discover and execute Apify Actors - cloud-based programs that can scrape websites, process data, and automate various web tasks. This integration enables AI assistants to perform complex web operations without requiring users to write code.
The Apify Actors MCP Server allows AI assistants to interact with Apify's ecosystem of web automation tools through the Model Context Protocol (MCP). This server enables AI models to discover available Actors (cloud-based programs for web scraping and automation) and execute them with specified parameters.
You can install the Apify Actors MCP Server in several ways:
npm install @apify/actors-mcp-server
docker pull apify/actors-mcp-server
The server requires an Apify API token to function. You can set this up using environment variables:
.env
file in your project root (based on the .env.example
template)APIFY_TOKEN=your_apify_token_here
npx @apify/actors-mcp-server
docker run -p 3000:3000 -e APIFY_TOKEN=your_apify_token_here apify/actors-mcp-server
By default, the server runs on port 3000. You can customize this by setting the PORT
environment variable.
To connect an AI assistant to the Apify Actors MCP Server, you'll need to configure the assistant to use the server's endpoint. The exact configuration depends on the AI platform you're using.
For example, to integrate with Claude or other compatible assistants, add the server to your configuration:
{
"mcpServers": {
"apify-actors": {
"url": "http://localhost:3000"
}
}
}
Once integrated, AI assistants can discover available Apify Actors and execute them. The server provides tools for:
The AI assistant can use these capabilities to perform web scraping, data processing, and other automation tasks based on user requests.
The server supports several advanced configuration options through environment variables:
PORT
: The port on which the server listens (default: 3000)APIFY_API_BASE_URL
: Custom Apify API URL (default: https://api.apify.com)LOG_LEVEL
: Controls verbosity of logs (options: debug, info, warn, error)For more detailed information and advanced usage scenarios, visit the official documentation.