@traversymediaNoteUpdated November 12, 2026
MCP Crash Course
Written guide for the MCP Crash Course, in video order, from installing MCP servers and a local order-status server to connecting Apify and Notion and saving and researching a list of agencies.
MCP Crash Course
This is the written guide for my MCP Crash Course, with the commands and prompts we run in the video, in the same order. You'll see how MCP servers get installed, add a small local order-status server, then connect Apify to Claude Code, pull five web development agencies in Boston from Google Maps, save them to a Notion database, research one of them, and add that research to its row.
What you need
- Claude Code (in the terminal or the Claude desktop app), Codex, or Cursor
- Node.js, for the order-status server
- An Apify account (step 3)
- A Notion account (the free plan's fine)
1. Installing MCP servers
There's a few ways to install an MCP server, depending on the tool you use and whether you're in the desktop app or the CLI.
In the Claude desktop app, a lot of services have a connector. A connector is the service's hosted MCP server, linked to your Claude account with OAuth. You find it in the app's connector directory and connect it. In Codex, these come as plugins, and a lot of those plugins are just an MCP server with some skills on top.
If you're in the CLI, or there isn't a connector for the service, you install it with a command or a config file.
Claude Code:
claude mcp add --transport [TRANSPORT_TYPE] --scope [SCOPE] [MCP_NAME] [URL_OR_COMMAND]The transport is stdio for a local server that runs on your machine and http for a remote one. For a local server, put -- before the command that starts it.
Codex:
codex mcp add [MCP_NAME] --url [URL]
codex mcp add [MCP_NAME] -- [COMMAND]Codex has no scope option. Its servers go in ~/.codex/config.toml, so they're available in every project.
Cursor uses an mcp.json file inside a .cursor folder, either in your project or in your home directory (~/.cursor/mcp.json) if you want it in every project. That's where you list the URL of the server and any auth info.
Claude Code has three scopes:
localis the default. It's only for you, and only in the project you added it in.useris basically global. It's still only for you, but it's available in every project on your machine.projectis for teams. It saves the server to a.mcp.jsonfile in the root of your project, and you commit that file so everyone on the team gets the same server.
2. The order-status server
This is the small local server from the video. It's an order status lookup that reads from a JSON file of fake orders, written in TypeScript with the official MCP SDK.
Get the code from the simple-mcp-server-example repo, then install its dependencies from inside the project folder:
npm installAdd it to Claude Code. Replace [PATH_TO_PROJECT] with the full path to the project folder:
claude mcp add --transport stdio --scope local order-status-server -- npm --prefix [PATH_TO_PROJECT] --silent run devThe --silent flag matters. A stdio server talks to the client in JSON over standard output, and the extra lines npm normally prints would get in the way.
Start Claude Code in the same folder you ran that command in, since it's local scope, and ask about an order by its ID:
What's the status of order ORD-1042?3. Create an Apify account
It's free to sign up and you don't need a credit card. The free plan gives you $5 of usage every month, which is more than enough for this guide. The code TRAVERSY25 gives you another $25 in credits if you want to do more with Apify.
4. Add Apify
We're not building an app here, just setting up a workflow, so it doesn't matter which folder you run Claude Code in.
If you're using the Claude desktop app, the easiest way is Apify's connector. Find Apify in the connector directory and connect it.
Otherwise, add Apify as a remote HTTP server. In Claude Code:
claude mcp add --transport http --scope user apify https://mcp.apify.comIn Codex, add the server and then log in to Apify. The login opens a browser sign-in.
codex mcp add apify --url https://mcp.apify.com
codex mcp login apifyYou can also use an API key from Apify's dashboard to skip the sign-in. Treat it like a password and keep it out of anything you share.
claude mcp add --transport http --scope user apify https://mcp.apify.com --header "Authorization: Bearer YOUR_APIFY_TOKEN"export APIFY_TOKEN=YOUR_APIFY_TOKEN
codex mcp add apify --url https://mcp.apify.com --bearer-token-env-var APIFY_TOKENIn Cursor, add Apify to your .cursor/mcp.json. The first time Cursor connects, it has you sign in to Apify in the browser.
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com"
}
}
}If you used a command, you can list your servers from the terminal:
claude mcp listYou should see apify in the list. It may say it needs authentication until step 5.
The rest of this guide uses Claude Code.
5. Sign in to Apify
If you added Apify as a connector in the desktop app, you already signed in when you connected it, so skip down to the list of tools.
If you added it with a command and no API key, Apify needs you to sign in before Claude can use it. Do this from the terminal, even if you plan to use the desktop app, because the desktop app's /mcp can show Apify as connected without giving you a way to sign in.
Start Claude Code in any folder:
claudeInside Claude Code, run:
/mcpThis shows your servers and whether any of them need authentication. Select apify, choose Authenticate, and approve access in the browser.
From here you can keep working in the terminal, or open Claude Code in the Claude desktop app. If you use the desktop app, start a new session after you sign in so it picks up Apify's tools.
Once Apify shows as connected, Claude can see a small set of core tools. These are the ones we care about:
search-actorssearches the Actor Storefetch-actor-detailsinspects one Actorcall-actorruns itget-dataset-itemsretrieves the resulting dataset
6. Find the Actor
We want a short list of web development agencies in Boston that you might want to work with, either for a job or freelance work. Claude shouldn't just run the first thing it finds, so this prompt separates discovery from execution.
Paste this into Claude Code:
Find the best Apify Actor for getting five web development agencies in Boston from Google Maps.
I need the business name, website, public email found on the business website where available, phone number, rating, review count, category, and Google Maps URL.
Before running anything, inspect the Actor's details and input schema. Tell me which Actor you recommend, why it fits, and the exact input you plan to use. Keep the result count at five. Do not run it until I approve.
If you choose Google Maps Scraper, enable website contact enrichment (`scrapeContacts: true`).I'm keeping it to five so it fits on the screen. You can change that to however many you want. Just change it in the next prompt too.
Claude uses one tool to search the catalog and another to inspect the Actor it picked. I'd expect Google Maps Scraper, which is Apify's main Google Maps Actor. If Claude goes with something like Google Maps Email Extractor instead, that works too. What matters is that it tells you why it picked it and the exact input it wants to send.
Before you approve anything, look at that input. With Google Maps Scraper, you want scrapeContacts set to true. It's off by default, and without it the email column comes back empty.
7. Run the Actor
If that all looks good, paste this:
Run the approved Actor with a maximum of five results. Then retrieve the dataset and show a table with business name, website, public email found on the business website where available, phone number, rating, review count, category, and Google Maps URL. Use "Not found" for unavailable emails; do not infer them.
Also include the Actor ID, run ID, dataset ID, result count, run duration, and actual charge when available.Check the call-actor request before you approve it. The Actor input describes the search itself, and the call options put limits around the run, like the maximum number of results.
When the run finishes, call-actor returns information about the run, including the dataset ID. The rows aren't in Claude's answer yet, so Claude makes a second call to get-dataset-items to read them.
If some emails say Not found, that's expected. Google Maps doesn't have email addresses. The contact enrichment visits each business's website and picks up a public email if there is one. If an agency doesn't list one, there's nothing to find.
8. Add Notion to Claude Code
A table in the chat is fine, but it's better to have these somewhere you can work with them. The second server is Notion's official MCP server, and that's where we'll save the results. You'll need a Notion account, but the free plan's fine.
Open a second terminal and run:
claude mcp add --transport http --scope user notion https://mcp.notion.com/mcpIn Codex or Cursor, use the same steps as Apify with the name notion and the URL https://mcp.notion.com/mcp. Notion also has a connector in the Claude desktop app.
Claude Code only loads MCP servers when a session starts, so the session you're working in can't see Notion yet. Sign in to Notion first. In that second terminal, start Claude Code:
claudeRun /mcp, select notion, choose Authenticate, pick your workspace, and approve it. Then type /exit to close that Claude Code.
Now restart the session you've been working in so it loads Notion:
- In the terminal, exit Claude Code and run
claude --continue. It starts again with your conversation, including the Apify results. - In the desktop app, restart the session. Your conversation stays, so the Apify results are still there.
9. Save the agencies to Notion
Notion has over 70 tools, but Claude doesn't load all of them into the conversation. It searches for the ones it needs, like creating a database, adding rows to it, and reading them back.
Paste this into Claude Code:
Use the notion MCP to create a NEW database named "Boston Web Development Agencies" and save the agencies from the retrieved Apify dataset, one business per row. Do not overwrite or reuse an existing database.
Include business name, website, public email where available, phone number, rating, review count, category, and Google Maps URL. Add properties for services, research summary, and research source links, leaving those blank until we research an agency.
Preserve the returned values. Use "Not found" for unavailable emails and do not invent missing details. Read back the saved rows to verify them against the dataset, then give me the database link.Apify and Notion never talk to each other here. Claude got the rows from Apify and now it's passing them to a completely different server. Claude is the one in the middle, coordinating both connections.
Open the database link and you'll see your agencies, plus three empty columns at the end for the research. It lands as a private page in your workspace, so you can move it wherever you like.
Notion can occasionally time out on a write. If that happens, make sure Claude checks what saved before it retries, so you don't get duplicate rows.
10. Research one agency
Pick one agency from the database. This step uses a different Actor called RAG Web Browser. You give it a Google search, it opens the top results, and it gives the page content back to the AI. There's nothing new to set up, because it uses the same Apify connection.
Replace [BUSINESS DOMAIN] with the agency's domain, like example.com. Keep the site: in front of it.
Use Apify's RAG Web Browser to research this agency using the search query `site:[BUSINESS DOMAIN]` (for example, `site:example.com`).
Create a short business brief with:
- what the company does
- its main services
- evidence of recent activity, if the retrieved pages support it
- three useful facts for a developer looking to work with them
- source links for every factual claim
Set `maxResults: 3` and show the planned limits before running it. Wait for my approval before running. If the retrieved pages do not support a requested fact, say so.Claude shows you the planned limits and waits for your approval. Once you approve, it runs the Actor, reads the pages that came back, and writes a short brief with a source link for each fact.
The site: query matters. If you give RAG Web Browser a plain URL, it only fetches that one page. With site:, it searches Google for pages on that website, so the limit of three pages actually applies. It can still come back with fewer than three pages, and it isn't crawling the whole site. It's just the top few search results from that domain.
11. Add the research to Notion
Replace [AGENCY NAME] with the agency's name as it appears in the database.
Use notion to update the existing row for [AGENCY NAME] in the database we just created. Match the agency by its name and website. Fill in services, research summary, and research source links using only the retrieved research, and add the full brief to the body of that row's page. Preserve its existing business details and all other rows. Read back the updated row to verify it, then give me the database link.Open the database again. That one agency now has its services, a summary, and its sources filled in, while the other rows stay the same. Every row in a Notion database is also its own page, so open that row and you'll see the full brief with its source links.
Current web data can still be incomplete. Listings change, websites go stale, and some agencies don't list an email at all. MCP gives the model access to the tools. It doesn't guarantee that every result is correct.