How to build an MCP server (and when you don't need to) Teams should check for an existing MCP server before building their own, since a November 2026 probe of 300 randomly sampled remote servers from the official MCP Registry found about 9% were down or returned errors, according to Apify's guide. The guide recommends Agent Skills or a CLI when an agent only needs instructions or local tools, the Apify MCP server for web data from popular sites, and a vendor's official server for well-known SaaS tools, reserving custom MCP servers for proprietary data or business logic shared across several apps or people. Skills became an official MCP extension in September 2026, and the official MCP Registry listed more than 50,000 unique servers in November 2026. A coding agent can build an MCP server in minutes, but by default that server runs only on your laptop. A team needs it hosted, popular sites often block requests from datacenter IPs, and a server for your use case may already exist. MCP, short for Model Context Protocol https://blog.apify.com/mcp-for-beginners/ , is the open standard that ChatGPT, Claude, Cursor, and other clients use to call tools and read data. This guide shows you when to build an MCP server, then builds a price-check server with Python, Amazon Product Scraper https://apify.com/junglee/amazon-crawler , and Apify. The short answer • If the agent needs instructions or a workflow, write an Agent Skill, a folder of instructions for the agent. If it only runs local tools, a CLI is often enough. • For web data from popular sites, use the Apify MCP server https://apify.com/mcp and its ready-to-run tools, which Apify calls Actors. A scraper you already have works as a tool once you deploy it as an Actor. • For a popular SaaS tool, use the vendor's official MCP server when there is one. • Build an MCP server when several apps or people need your proprietary data or business logic. Deploy it on Apify from the Python MCP server template https://apify.com/templates/python-mcp-empty , and connect it to ChatGPT and Claude through the Apify MCP server. When you don't need to build an MCP server An MCP server gives an agent live access to tools and data. Many agent tasks don't need that. Follow the questions in order to find the right option for your task. For instructions or local tools, use a skill or a CLI If the agent only needs instructions, such as your coding conventions or a review checklist, an Agent Skill is enough. A skill is a folder that holds a SKILL.md file with instructions, plus optional supporting files such as scripts. In September 2026, skills became an official MCP extension https://modelcontextprotocol.io/extensions/skills/overview , so one skill can work across many clients. If the agent only runs local tools, a CLI is often enough, because coding agents are good at running shell commands. MCP is better for remote services, because the server keeps the credentials and the agent never sees them. Both options work with Apify Actors too. Apify Agent Skills https://docs.apify.com/agents/skills let a coding agent get web data, build Actors, and run them through the Apify CLI https://docs.apify.com/cli . The Apify plugin https://docs.apify.com/agents/plugins installs these skills together with the Apify MCP server in one step. For a well-known service, use an existing server If the agent works with a well-known service or website, search these places for an existing server first. 1. Apify Store https://apify.com/store , a marketplace of thousands of ready-to-run tools, which Apify calls Actors. They get web data and automate work on the web. Through the Apify MCP server, an agent can search the marketplace and run Actors from it. Its MCP servers https://apify.com/store/categories/mcp-servers category includes thousands of Actors that run their own MCP server. 2. Your AI app's own directory. In Claude, MCP servers are called connectors, and Claude's Connectors Directory https://claude.com/docs/connectors/directory includes Apify. ChatGPT has a similar directory. 3. The official MCP Registry https://registry.modelcontextprotocol.io/ , which listed more than 50k unique servers from vendors and the community in November 2026, including the Apify MCP server. 4. The vendor's docs, because many SaaS vendors, such as GitHub, publish an official MCP server. A registry listing shows that a server exists. It's not a security review or an uptime guarantee. In a random sample of 300 remote servers from the registry, probed once in November 2026, about 9% were down or returned errors. So before you connect a server, check three things. - Who publishes it? Prefer the vendor or a publisher you trust. - Is it maintained? Look for recent releases and answered issues. - What can it do with your token? Prefer read-only access, and use a scoped token with only the permissions it needs least privilege . For web data, use ready-to-run tools A fetch tool is easy to write, but reliably bypassing anti-bot systems https://blog.apify.com/crawl-without-getting-blocked/ on popular sites is much harder. To test this, a simple MCP fetch tool requested one page from each of 10 sites on the same day, with a plain HTTP GET request. The sites were Wikipedia, Amazon, Google, Instagram, LinkedIn, G2, Zillow, Indeed, Walmart, and TripAdvisor. A page counted as a success only if it contained real content, because some sites send a block page, a CAPTCHA, or a JavaScript challenge with a normal HTTP 200 response a soft block . | Approach | Sites that returned real content | |---|---| | The fetch tool, from a residential IP | 5 of 10 | | The same tool, from datacenter network A without a proxy | 1 of 10 | | The same tool, from datacenter network B without a proxy | 3 of 10 | | The right Apify Actor per site Web Fetch https://apify.com/apify/web-fetch apify/web-fetch or a site-specific Actor | 10 of 10 | The Walmart request below, sent from a datacenter IP with a browser user agent, got a CAPTCHA page with HTTP 200. From datacenter IPs, which cloud servers use, the fetch tool failed on most of these sites. The Apify Actors handled proxy rotation https://blog.apify.com/rotating-proxies/ and anti-bot systems on the same sites and returned real content from all 10. Site-specific Actors, such as Amazon Product Scraper https://apify.com/junglee/amazon-crawler junglee/amazon-crawler , are maintained by the builders who publish them, so you don't have to maintain that code yourself. For a site that has no ready-to-run Actor, your tool can route its requests through Apify Proxy https://docs.apify.com/proxy , which includes residential IPs. To use these Actors from your agent, add the Apify MCP server to Cursor https://blog.apify.com/how-to-add-mcp-server-to-cursor/ with this config, or follow the setup for other clients on mcp.apify.com https://mcp.apify.com/ . { "mcpServers": { "apify": { "url": "https://mcp.apify.com/?tools=apify/web-fetch,junglee/amazon-crawler" } } } The tools query parameter loads only the Actors you pick. On the first connection, you sign in to Apify with OAuth, or create a free Apify account. For large crawls, such as every product on a site, a batch job works better than single tool calls. Run the Actor directly or on a schedule https://docs.apify.com/actors/running/schedules , and read the results from its dataset. For an existing scraper, deploy it as an Actor If you already have a scraper or a script, deploy it as an Actor. The Apify MCP server then exposes it as an MCP tool, so you write no MCP code. The Actor's input schema https://blog.apify.com/apify-actor-input-schema-design/ becomes the tool's input schema, and its output schema tells the agent what the Actor returns before it runs https://blog.apify.com/your-ai-agent-used-to-guess-what-actors-return-now-it-knows-before-running-them/ . The Apify MCP server also adds tools that check the run status and read the dataset. A coding agent with the apify-actorization skill from Apify Agent Skills can convert a JavaScript, TypeScript, or Python project into an Actor https://docs.apify.com/academy/build-and-publish/how-to/actorization for you. If you publish the Actor in Apify Store, agents connected to mcp.apify.com can find it as a tool. For the details, read What the Apify MCP server does to your Actor before an AI agent ever sees it https://blog.apify.com/fixing-actors-invisible-to-agents/ . For example, the price check that this guide later builds as an MCP server also runs as a minimal plain Actor, price-check-tool , that returns the price for one stock-keeping unit SKU . The Apify MCP server exposes it as a tool with ?tools=