Phong Thu
Phong Thu•2mo ago

Apify MCP server

Hi everyone, I'm currently try to use Apify MCP. The doc doesn't make it clear how I can use it to call one of my previous rented actor. E.g I rented actor A. But from examining list tools of the MCP, it only return default tools šŸ“” Connected to MCP server šŸ”§ Tool found: get-actor-details šŸ”§ Tool found: apify-actor-help-tool šŸ”§ Tool found: search-actors šŸ”§ Tool found: search-apify-docs šŸ”§ Tool found: fetch-apify-docs šŸ”§ Tool found: add-actor šŸ”§ Tool found: apify-slash-rag-web-browser After I use add-actor to add, for example "clockworks/tiktok-scraper". Now the tool list include this new actor: šŸ”§ Tool found: get-actor-details šŸ”§ Tool found: apify-actor-help-tool šŸ”§ Tool found: search-actors šŸ”§ Tool found: search-apify-docs šŸ”§ Tool found: fetch-apify-docs šŸ”§ Tool found: add-actor šŸ”§ Tool found: apify-slash-rag-web-browser šŸ”§ Tool found: clockworks-slash-tiktok-scraper But when I call to the mcp anew, it doesn't find clockworks-slash-tiktok-scraper tool anymore. __ How do I tell the MCP to prepare list tools based on actors that I rented? Or do I have to "add-actor" everytime I call the MCP?
1 Reply
jiri.spilka
jiri.spilka•2mo ago
Hi, really good question. I agree we should improve the docs. If you are using remote MCP server at mcp.apify.com, you can add the Actor as a query parameter and it will be in the tools, comma separate the Actors you need.
{
"mcpServers": {
"Apify": {
"url": "https://mcp.apify.com/?actors=clockworks/tiktok-scraper,apify/instagram-scraper"
}
}
}
{
"mcpServers": {
"Apify": {
"url": "https://mcp.apify.com/?actors=clockworks/tiktok-scraper,apify/instagram-scraper"
}
}
}
` If you are running local server:
{
"mcpServers": {
"actors-mcp-server": {
"command": "npx",
"args": [
"-y", "(at)apify/actors-mcp-server",
"--actors", "clockworks/tiktok-scraper,apify/instagram-scraper"
],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}
{
"mcpServers": {
"actors-mcp-server": {
"command": "npx",
"args": [
"-y", "(at)apify/actors-mcp-server",
"--actors", "clockworks/tiktok-scraper,apify/instagram-scraper"
],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}

Did you find this page helpful?