Course HomeCitiesReserve Your Seat
Day 3 of 5 50 minutes

MCP — Connect Claude to Everything

Install your first MCP servers. Give Claude direct access to your local files, repositories, and data — without copy-pasting anything.

What you'll accomplish today

Understand how MCP works. Install the filesystem MCP server. Give Claude read/write access to a directory on your computer. By the end you'll ask Claude to read, summarize, and modify your actual local files — no upload required.

1
What MCP Is

Model Context Protocol: the architecture

MCP is an open standard that lets Claude connect to external tools and data sources through a simple server/client architecture. Here's what's actually happening:

  1. An MCP server is a small program running on your computer. It exposes tools — functions Claude can call.
  2. Claude Desktop acts as an MCP client. It discovers your installed servers when it starts.
  3. When you ask Claude to read a file, Claude calls the read_file tool on the filesystem server. The server reads the file and returns the content.
  4. Claude uses that content in its response — as if you had pasted the file in yourself.

The key insight: MCP turns Claude from a language model into an agent that can take actions on your system. The model doesn't change. The capability does.

Security model: MCP servers only have the permissions you give them. The filesystem server only accesses directories you explicitly allow. Nothing runs without your configuration. We cover security in depth on Day 5.

The most useful MCP servers

Filesystem

Read and write files on your computer. The most essential server. Install this first.

@modelcontextprotocol/server-filesystem

GitHub

Browse repos, read code, create issues and PRs. Works with any GitHub repo you have access to.

@modelcontextprotocol/server-github

PostgreSQL

Query your databases directly. Claude can write SQL and explain results in plain English.

@modelcontextprotocol/server-postgres

Brave Search

Give Claude real-time web search. Useful for research tasks where current info matters.

@modelcontextprotocol/server-brave-search

All official MCP servers are open source at github.com/modelcontextprotocol/servers. There are hundreds of community servers for Slack, Notion, Linear, Jira, and more.

2
Prerequisites

Before you install: Node.js

Most MCP servers are Node.js packages. You need Node 18+ installed. Check if you have it:

Terminal
node --version
# Should output v18.x.x or higher

# If you don't have Node, install it:
# macOS: brew install node
# Windows: download from nodejs.org

You also need npx, which comes with Node. The MCP servers run via npx — no global install required.

3
Filesystem MCP

Install the filesystem server

The filesystem MCP server gives Claude read and write access to directories you specify. This is the server you'll use most.

Step 1: Find your Claude Desktop config file

Config file location
# macOS
~/Library/Application Support/Claude/claude_desktop_config.json

# Windows
%APPDATA%\Claude\claude_desktop_config.json

Open this file in any text editor. If it doesn't exist, create it.

Step 2: Add the filesystem server config

JSONclaude_desktop_config.json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/yourname/Documents",
        "/Users/yourname/Projects"
      ]
    }
  }
}

Replace the paths with the directories you want Claude to access. You can add multiple directories. The server will only access those directories — nothing else.

Step 3: Restart Claude Desktop

Quit Claude Desktop completely and reopen it. When it starts, it will connect to the filesystem server. You'll see a small hammer icon (🔨) in the conversation input — that means MCP tools are available.

Verify it worked: Type "List the files in my Documents folder" (or whichever directory you configured). Claude should respond with your actual file listing, not a generic answer about how to list files.

4
GitHub MCP

Connect Claude to your GitHub repos

The GitHub MCP server lets Claude read your code, browse issues, create PRs, and more. You'll need a GitHub personal access token.

Create a GitHub token

Go to GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens. Create a token with these permissions: Contents (read/write), Issues (read/write), Pull requests (read/write). Copy the token.

Add to your config

JSONclaude_desktop_config.json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/yourname/Projects"
      ]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Keep your token safe: The config file stores your token in plaintext. Don't commit it to a git repo. On macOS, consider using a reference to an environment variable: "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}" and set the env var in your shell profile.

5
Exercise

Put MCP to work

With filesystem MCP installed, try these prompts on your own files:

Prompts to try
1. "Read the file at /path/to/your/document.txt and summarize it in 3 bullets."

2. "Look at the files in /path/to/your/project and give me a high-level overview of the structure."

3. "Read my README.md and identify any sections that are unclear or missing."

4. "Read the last 3 files I modified in /path/to/your/folder."

5. (If using GitHub MCP)
   "List the open issues in my [repo-name] repository and group them by theme."

The first time Claude reads your actual files and responds with real, specific information about them, the shift in capability becomes obvious. This is what makes the desktop app different.

Day 3 Challenge

Complete before Day 4

  1. Install the filesystem MCP server and verify it works (file listing)
  2. Have Claude read and summarize a real document you've been meaning to review
  3. If you have code repos: install GitHub MCP and have Claude explain a PR or issue
  4. Find one workflow where MCP saves you 10+ minutes of manual work

Tomorrow: Advanced Workflows. Artifacts, multi-turn analysis, and completing a full work task end-to-end through Claude Desktop.