DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to give an agent a single, focused Apify tool with Apify MCP Server

Load only the tools you need, such as one Actor plus docs, so the agent stays focused and cannot run anything else.

Short answer: Pick the tools you want in the MCP configurator at mcp.apify.com; then For one Actor on the hosted server, use https://mcp.apify.com?tools=apify/instagram-scraper; For a local server, run npx @apify/actors-mcp-server --tools actors,docs,apify/web-search,apify/web-fetch. All steps.

  • Data and analytics
  • Intermediate
  • 20 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

cost. Even a single Actor bills per run or result; set maxItems or maxTotalChargeUsd in callOptions.

Who it is forA builder wiring a narrow data task into an agent workflow.

The problemA full tool list confuses agents and widens what they can spend money on.

The outcomeAn MCP connection exposing only the chosen Actor and the tools needed to read its results.

What you need first

  • An MCP client such as Claude Code, Cursor or VS Code
  • An Apify account (the free plan includes $5 of monthly platform usage) or an Apify API token
  • Node.js 22 or later for the local server

Steps

  1. Pick the tools you want in the MCP configurator at mcp.apify.com
  2. For one Actor on the hosted server, use https://mcp.apify.com?tools=apify/instagram-scraper
  3. For a local server, run npx @apify/actors-mcp-server --tools actors,docs,apify/web-search,apify/web-fetch
  4. Confirm the agent sees only the selected tools before giving it a task

Prompt for your agent

Configure apify/apify-mcp-server for my agent with only the tools for <one Actor>, using the tools URL parameter, and verify the tool list before running anything.

Caveat. The README says a single Actor still comes with the four tools the agent needs to read its results.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for apify/apify-mcp-server and "Give an agent a single, focused Apify tool"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer