Give VS Code and Copilot live web data
Create .vscode/mcp.json with a servers entry of type http pointing at Apify's MCP URL, and an inputs prompt for the token. Start the server from the file; VS Code asks for the token once and Copilot Chat can call the Actors in agent mode.
One click, signs in with Apify on first use:
Any other client, one command (writes the config for 25+ agents, including Windsurf, Zed, Cline and Goose):
npx add-mcp "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/google-maps-business-lead-finder-with-email" --name google-maps-business-lead-finder-with-email Method
-
Save as .vscode/mcp.json in your workspace.
VS Code config for Google Maps Business Lead Finder with Email & Social Links.vscode/mcp.json
{ "inputs": [ { "type": "promptString", "id": "apify-token", "description": "Apify API token", "password": true } ], "servers": { "google-maps-business-lead-finder-with-email": { "type": "http", "url": "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/google-maps-business-lead-finder-with-email", "headers": { "Authorization": "Bearer ${input:apify-token}" } } } } -
Start the server from the file or the MCP servers view. VS Code asks for the token once and stores it securely.
-
Use the tools from Copilot Chat in agent mode.
The example uses Google Maps Business Lead Finder with Email & Social Links. Every Actor page and every website page below has the same config, pre-filled.
Apify plugin or a scoped URL?
Apify recommends its own plugin for VS Code: one install adds the whole Apify MCP server and five Agent Skills, with a sign-in in your browser. The config above is the other route: a URL scoped to the Actors you pick, so VS Code sees only their tools, which keeps the tool list short and the context small. Use the plugin to explore Apify; use a scoped URL when the agent should do one job with known Actors.
- Open the Extensions view and search for @agentPlugins apify.
- Select Install on the apify entry from the Awesome Copilot marketplace, confirm the trust prompt, then Allow the MCP sign-in.
@agentPlugins apify From Apify's plugin documentation and Apify's VS Code guide, checked 2026-11-12. With the Apify CLI, apify mcp install cursor (or another client name) writes the MCP config for you.
Good to know
- VS Code's workspace file uses the servers key, not mcpServers.
- The
${input:apify-token}variable keeps the token out of the file and in VS Code's secret storage. - The same entry can be added from the command line with code --add-mcp.
VS Code configs by website
Each page opens on the VS Code tab.
- LinkedIn19 Actors
- Google Maps17 Actors
- TikTok17 Actors
- YouTube17 Actors
- Snapchat13 Actors
- Amazon12 Actors
- X (Twitter)12 Actors
- Facebook10 Actors
- Reddit9 Actors
- Zillow8 Actors
- Pinterest6 Actors
- Naver5 Actors
- eBay4 Actors
- GitHub4 Actors
- Google Search4 Actors
- Google Workspace Marketplace4 Actors
- Instagram4 Actors
- Quora4 Actors
- Yandex4 Actors
- Booking.com3 Actors
- Google Ads Transparency Center3 Actors
- Steam3 Actors
- AutoScout242 Actors
- ESPN2 Actors
- Glassdoor2 Actors
- Indeed2 Actors
- MercadoLibre2 Actors
- Meta Ad Library2 Actors
- MLB.com2 Actors
- Tripadvisor2 Actors
- Trustpilot2 Actors
- Willhaben2 Actors
- Yelp2 Actors
- ZipRecruiter2 Actors
- 2GIS1 Actor
- 99acres1 Actor
- Ahrefs1 Actor
- Airbnb1 Actor
- Alibaba.com1 Actor
- AliExpress1 Actor
- Allegro1 Actor
- Apartments.com1 Actor
- Apple App Store1 Actor
- Ashby job boards1 Actor
- Baidu1 Actor
- Bayt1 Actor
- Best Buy1 Actor
- Bilibili1 Actor
- Bing1 Actor
- Bing Maps1 Actor
- BizBuySell1 Actor
- Bluesky1 Actor
- Bol.com1 Actor
- Brazil CNPJ registry1 Actor
- Built In1 Actor
- Capterra1 Actor
- Coupang1 Actor
- Craigslist1 Actor
- Crexi1 Actor
- Crunchbase1 Actor
- Dailymotion1 Actor
- DeviantArt1 Actor
- DEX Screener1 Actor
- DoorDash1 Actor
- Etsy1 Actor
- Eventbrite1 Actor
- Expedia1 Actor
- Fiverr1 Actor
- Flipkart1 Actor
- Florida Sunbiz1 Actor
- Fotocasa1 Actor
- Freelancer.com1 Actor
- G21 Actor
- Goodreads1 Actor
- Google Flights1 Actor
- Google News1 Actor
- Google Patents1 Actor
- Google Play1 Actor
- Google Scholar1 Actor
- Google Shopping1 Actor
- Google Trends1 Actor
- Greenhouse job boards1 Actor
- GulfTalent1 Actor
- Hacker News1 Actor
- Handshake1 Actor
- Hepsiburada1 Actor
- Himalayas1 Actor
- Hostelworld1 Actor
- Houzz1 Actor
- Idealista1 Actor
- IKEA1 Actor
- IMDb1 Actor
- Immowelt1 Actor
- ImportYeti1 Actor
- IndiaMART1 Actor
- JobStreet1 Actor
- Kayak1 Actor
- Lever job boards1 Actor
- LinkedIn Ad Library1 Actor
- LinkedIn Jobs1 Actor
- Lowe's1 Actor
- Medium1 Actor
- Meetup1 Actor
- Mercari Japan1 Actor
- Myntra1 Actor
- Naukri1 Actor
- Nike1 Actor
- Noon1 Actor
- OP.GG1 Actor
- Ozon1 Actor
- Pexels1 Actor
- Product Hunt1 Actor
- Property Finder1 Actor
- QuintoAndar1 Actor
- Realtor.com1 Actor
- Redfin1 Actor
- Reed1 Actor
- Sephora1 Actor
- Shein1 Actor
- Shopee1 Actor
- Shopify stores1 Actor
- Similarweb1 Actor
- SimplyHired1 Actor
- Skool1 Actor
- SofaScore1 Actor
- SoundCloud1 Actor
- Spotify1 Actor
- StockTwits1 Actor
- StockX1 Actor
- Substack1 Actor
- Target1 Actor
- The Home Depot1 Actor
- Threads1 Actor
- Ticketmaster1 Actor
- TikTok Ads Library1 Actor
- Tokopedia1 Actor
- Totaljobs1 Actor
- Trading Economics1 Actor
- Transfermarkt1 Actor
- Trendyol1 Actor
- Trip.com1 Actor
- Trulia1 Actor
- TrustRadius1 Actor
- Twitch1 Actor
- Uber Eats1 Actor
- Ubersuggest1 Actor
- Udemy1 Actor
- Unsplash1 Actor
- Vimeo1 Actor
- Vinted1 Actor
- VivaReal1 Actor
- Vivino1 Actor
- Vrbo1 Actor
- Walk Score1 Actor
- Wallapop1 Actor
- Walmart1 Actor
- Wayback Machine1 Actor
- We Work Remotely1 Actor
- Welcome to the Jungle1 Actor
- Wellfound1 Actor
- Wikipedia1 Actor
- Workday career sites1 Actor
- Y Combinator1 Actor
- Yahoo Finance1 Actor
- Yahoo News1 Actor
- Yahoo! Auctions Japan1 Actor
When VS Code does not connect
Why does the client say Unauthorized or invalid token?
Every Apify Actor tool needs a signed-in Apify account. Reconnect the server so the OAuth sign-in runs again, or switch to the token variant: an Authorization: Bearer header with an API token from Apify Console, Settings, API and integrations. For a local server the token must be in the server's own env block, not only in your shell.
Source: Apify MCP server README
Why did my agent's tool list change after an update?
Without a tools parameter Apify's server loads its default tool set, which changes between releases. The URLs on this site pin the tools with ?tools=, so the agent always gets the same Actor tool plus fetch-actor-details. Apify's README gives the same advice for production.
Source: Apify MCP server README
What happens when the agent sends input the Actor rejects?
The server answers with the Actor's input schema, so the agent can fix the arguments and call again. The fetch-actor-details tool in every scoped URL lets it read that schema before the first call.
Source: Apify MCP server README
VS Code says the OAuth app is not registered. What now?
Run the command Authentication: Remove Dynamic Authentication Providers, pick Apify, then start the server again and sign in.
Source: Apify MCP server README
My old config uses mcp.apify.com/sse and stopped working. Why?
Apify retired the SSE transport on 1 April 2026. Use https://mcp.apify.com with the streamable HTTP transport, as every config on this site does.
Why does VS Code block my Apify MCP server in Restricted Mode?
Workspace MCP configurations inherit Workspace Trust, and Restricted Mode prevents those servers from starting. Review the repository and its MCP configuration, then trust the workspace if appropriate; MCP: Reset Trust does not reset Workspace Trust.
Source: VS Code MCP troubleshooting
Questions
Why servers and not mcpServers?
That is VS Code's documented format for .vscode/mcp.json. The newer root .mcp.json format uses mcpServers instead.
Sources
- VS Code MCP configuration reference, checked 2026-11-10
- Apify MCP server documentation, checked 2026-11-10
- Apify documentation: install the Apify plugin in your AI agent, checked 2026-11-12
- Apify's VS Code guide
- Apify MCP server documentation (apify mcp install), checked 2026-11-12