
How to add Apify Actors MCP (RAG Web Browser) to Windsurf
Run Apify's RAG Web Browser and 5,000+ Actors as MCP tools — web search and scrape to clean markdown. Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.
Last updated June 15, 2026 · 600★ · stdio · apikey · official
Windsurf config for Apify Actors MCP (RAG Web Browser)
npx -y @apify/actors-mcp-server{
"mcpServers": {
"apify-actors-mcp-rag-web-browser": {
"command": "npx",
"args": [
"-y",
"@apify/actors-mcp-server"
],
"env": {
"APIFY_TOKEN": "<your-apify-api-token>"
}
}
}
}Setup steps
- 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
- 2Paste the Apify Actors MCP (RAG Web Browser) config below.
- 3Fill in placeholder secrets, then save.
- 4Click Refresh in the MCP panel.
- 5Apify Actors MCP (RAG Web Browser)'s tools become available to Cascade.
Before you start
- Node.js v22+ for the local stdio server (or just an OAuth-capable client for the hosted server)
- An Apify account and API token (APIFY_TOKEN) from apify.com — the hosted server can also authenticate via OAuth without manual token entry
- An MCP client such as Claude Desktop/Claude.ai, VS Code, Cursor, or ChatGPT
What Apify Actors MCP (RAG Web Browser) can do in Windsurf
apify-slash-rag-web-browserPreconfigured RAG Web Browser Actor: web search and scrape pages to clean markdown for grounding LLMs.
search-actorsDiscover Actors in the Apify Store by query.
fetch-actor-detailsRetrieve an Actor's specs, README, pricing, and input/output schemas.
call-actorRun an Actor with given input and return its results.
add-actorDynamically add a specific Actor as a callable tool (experimental).
get-actor-runInspect the status and metadata of a specific Actor run.
get-dataset-itemsFetch and paginate the dataset output produced by an Actor run.
get-key-value-store-recordRead a stored value from an Actor's key-value store.
Security
The APIFY_TOKEN bills against your Apify account and the add-actor flow can dynamically grant new tools, so review which Actors a session can run. Scraped web content is untrusted and may contain prompt-injection aimed at your model.
Apify Actors MCP (RAG Web Browser) + Windsurf FAQ
Where is the Windsurf config file?
Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Paste the Apify Actors MCP (RAG Web Browser) config there under the "mcpServers" key and restart the client.
Is Apify Actors MCP (RAG Web Browser) safe to use with Windsurf?
The APIFY_TOKEN bills against your Apify account and the add-actor flow can dynamically grant new tools, so review which Actors a session can run. Scraped web content is untrusted and may contain prompt-injection aimed at your model.
Hosted server or local stdio — which should I use?
The hosted Streamable HTTP server at mcp.apify.com is recommended: it supports OAuth and is the only way to dynamically use rental/paid Actors. Use the local stdio npm server when you need a fully local setup with your own APIFY_TOKEN.
How do I authenticate?
Locally, set the APIFY_TOKEN env var to your Apify API token. With the hosted server you can authenticate via OAuth or send the token as a Bearer header.
Is the SSE endpoint still supported?
No. The legacy /sse endpoint is deprecated; connect to the base https://mcp.apify.com URL using Streamable HTTP instead.