Skip to content
ClaudeClaude

MCP in Claude Code

MCP connects Claude Code to external tools and data sources like Linear, GitHub, and documentation servers. This video covers adding servers, scoping them for your team, and managing context costs. Take the full course: claude.com/courses

May 9, 20263mWatch on YouTube ↗

CHAPTERS

  1. 0:02 – 0:33

    What MCP is and why Claude Code needs it for real-world context

    The video defines Model Context Protocol (MCP) as an open standard that connects Claude Code to external tools and data sources. It emphasizes that critical context often lives outside the code editor—like databases, apps, and public repos—and MCP is the bridge to bring that context in when needed.

    • MCP is an open standard for connecting Claude Code to tools and data sources
    • Claude can decide when to use tools to answer a query better
    • A lot of useful context is external (databases, productivity apps, repos)
    • MCP helps Claude access that external context during development work
  2. 0:33 – 0:48

    Understanding “tools” in agentic AI (actions vs. text-only outputs)

    This chapter explains the concept of tools in agentic AI: they enable the agent to take actions rather than only returning text. It contrasts traditional chat outputs with tool-augmented workflows where Claude can fetch, query, or act to complete tasks.

    • Tools give Claude Code the ability to perform actions
    • Agentic AI differs from text-only models by leveraging tool use
    • Tool access improves task completion and accuracy
    • Tooling is framed as a core concept for understanding MCP
  3. 0:48 – 1:03

    Practical examples: Linear issues and dependency documentation via MCP servers

    Concrete examples show how MCP servers enhance day-to-day engineering workflows. Adding a Linear MCP server can pull issue details, while a documentation-oriented server can provide up-to-date dependency references.

    • Linear MCP server can surface team-specific issue details
    • Documentation MCP servers can fetch current dependency docs
    • Examples demonstrate MCP as a workflow accelerator
    • MCP servers are tailored connectors to specific systems
  4. 1:03 – 1:13

    Finding and adding connectors: directories and the `claude mcp add` command

    The video points to a large ecosystem of available connectors and explains how to install them. MCP servers are added via a CLI command, making it straightforward to extend Claude Code with new integrations.

    • Hundreds of connectors are available (claude.com/connectors)
    • Add MCP servers using `claude mcp add`
    • Connectors expand Claude Code’s reach into external systems
    • Server setup is positioned as quick and modular
  5. 1:13 – 1:23

    Two MCP server types: HTTP (remote) vs. STDIO (local processes)

    This segment distinguishes between network-hosted services and local machine integrations. HTTP servers connect to remote providers over the network, while STDIO servers run locally as processes on your computer.

    • HTTP servers are for remote services hosted by providers
    • HTTP connects over the network
    • STDIO servers run as local processes on your machine
    • Choosing server type depends on where the tool/service runs
  6. 1:23 – 1:33

    Managing MCP connections inside Claude Code with `/mcp`

    Here, the video covers operational control: seeing what’s connected, checking status, and disabling servers you don’t want active. The `/mcp` command is presented as the main in-session management interface.

    • Use `/mcp` to list connected servers
    • View server status within a session
    • Disable servers you don’t want to use
    • Ongoing management helps keep setup clean and efficient
  7. 1:33 – 2:05

    Scoping servers for personal vs. team use (local, user, and project)

    This chapter explains how MCP servers can be configured to apply at different levels. You can keep servers local to a project, apply them across all your projects as a user setting, or standardize them for a team via version-controlled configuration.

    • Local scope: available only in the current project
    • User scope: available across all projects for a user
    • Project scope: shared via a checked-in `.mcp.json` file
    • Project scoping ensures teammates get identical server setup
  8. 2:05 – 2:20

    Context window tradeoffs: MCP tool definitions consume persistent context

    The video warns that MCP servers add tool definitions into the context window even when unused, which can reduce available space for your actual task context. It recommends regularly auditing and disabling servers that aren’t needed.

    • Tool definitions are added to context even when not used
    • Too many configured servers reduce usable context
    • Use `/mcp` to audit what’s connected
    • Disable inactive/unneeded servers to preserve context
  9. 2:20 – 2:35

    When CLI tools are better than MCP (and why they’re more context-efficient)

    If an integration has a command-line equivalent, the CLI can be preferable because it doesn’t require persistent tool definitions in the context. The video cites examples like GitHub’s `gh` and AWS’s CLI.

    • CLI equivalents can be more context efficient than MCP
    • CLIs avoid adding persistent tool definitions to context
    • Examples: `gh` for GitHub, AWS CLI for AWS
    • Choose the integration method that minimizes context overhead
  10. 2:35 – 2:50

    Using “skills” as an alternative: load instructions on demand

    This segment introduces skills as a way to keep context lean: only the skill name/description is present until Claude decides it needs the full content. Skills can encapsulate workflows such as how to use CLI tools effectively.

    • Skills include a name and description loaded into context
    • Claude loads skill details only when needed
    • Skills can store CLI-based procedures and tool usage patterns
    • This can reduce persistent context usage vs. always-on tools
  11. 2:50 – 3:05

    Tool search mode: what triggers it and the potential downside

    If MCP tools consume more than 10% of the context window, Claude Code switches to tool search mode to discover tools on demand. The video notes this may be less effective because tools aren’t already present in context.

    • Tool search mode triggers when tools exceed 10% of context
    • Mode discovers the right tools on demand
    • Discovery can be less reliable than having tools in context
    • Keeping tool footprint low helps avoid this switch
  12. 3:05 – 3:36

    Final recap: connect tools, add servers, share via `.mcp.json`, and monitor context

    The closing recap reiterates the main takeaways: MCP connects Claude Code to external tools and data, servers are added via the CLI, team sharing is handled through a project config file, and context usage should be actively managed.

    • MCP connects Claude Code to external tools and data sources
    • Add servers with `claude mcp add`
    • Use `.mcp.json` to scope servers to a project for team-wide consistency
    • Monitor and reduce context usage by disabling unused servers

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.