Apify MCP server
# apify-platform
p
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?
j
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.
Copy code
{
  "mcpServers": {
    "Apify": {
      "url": "https://mcp.apify.com/?actors=clockworks/tiktok-scraper,apify/instagram-scraper"
    }
  }
}
`
If you are running local server:
Copy code
{
  "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"
      }
    }
  }
}