Skip to content
AnthropicAnthropic

Building with MCP and the Claude API

Anthropic’s Alex Albert (Claude Relations), John Welsh (Engineering, MCP team), and Michael Cohen (Engineering, Claude API team) discuss the origins of the Model Context Protocol (MCP), the open standard for connecting AI applications to external systems, best practices for getting started with MCP, and how MCP and Claude work together to enable more powerful agentic systems. 00:00 - Introductions 00:30 - What is MCP? 1:30 - The origins of MCP 2:50 - Open sourcing MCP 5:00 - Remote MCP support 6:15: MCP registries 7:40 - Favorite MCPs: Context7 & Playwright 10:40 - Using the Claude API MCP connector 11:50 - Prompt engineering with MCP 14:20 - Best practices for managing context and tools with MCP 18:20 - How John and Michael use MCP servers for project management, home automation, and more 20:00 - Understanding the “emergent” behaviors when Claude and MCP servers work together 22:50 - The future of MCP: growth of the protocol and ecosystem Learn more about MCP: https://modelcontextprotocol.io/docs/getting-started/intro Learn more about the Claude Developer Platform: https://www.claude.com/platform/api Learn more about how to write effective tools for AI agents: https://www.anthropic.com/engineering/writing-tools-for-agents

Alex AlberthostMichael CohenguestJohn Welshguest
Oct 9, 202525mWatch on YouTube ↗

CHAPTERS

  1. 0:00 – 0:30

    Cold open: Claude-generated status updates and who’s on the panel

    A playful opener reveals how deeply Claude is already embedded in day-to-day work, then the hosts introduce themselves and tee up the discussion on MCP and the Claude API.

    • Michael jokes he no longer writes messages—Claude does
    • Alex frames the episode focus: MCP + Claude API
    • Introductions of Alex (Claude Relations), Michael (API team), John (MCP team)
  2. 0:30 – 1:32

    MCP explained: giving models external context and the ability to act

    John defines the Model Context Protocol (MCP) as a standardized way to provide external context and actions to a model beyond the chat transcript. It’s positioned as the “universal connector” between Claude and outside tools/data.

    • MCP = Model Context Protocol for external context beyond chat history
    • Enables access to things like internet services or booking systems
    • Analogy: a universal connector between apps and the model
    • Goal: let Claude take actions in the “outer world” on your behalf
  3. 1:32 – 2:32

    Why build a universal protocol: stop re-implementing tool integrations everywhere

    Michael explains the practical origin: tool use was being rebuilt independently across products and surfaces. MCP standardizes the integration so capabilities can be implemented once and reused broadly.

    • Tooling was duplicated across editor assistants, claude.ai, and other surfaces
    • Unify implementations to avoid rebuilding the same web search/tooling repeatedly
    • “Build once and configure everywhere” across different Claude experiences
    • Consistent behavior from the same tool across products
  4. 2:32 – 5:06

    Why open source MCP: ecosystem benefits and multi-model interoperability

    John argues open standards create better outcomes for users and developers—especially companies that don’t want to implement separate connectors for every model provider. Open sourcing turned an internal protocol into a fast-growing industry standard.

    • Open standards enable broad ecosystems across companies and individuals
    • Avoids “connector explosion” (Claude + OpenAI + Gemini + etc.) for vendors
    • External context benefits everyone—“rising tide” logic
    • MCP quickly saw massive adoption and prompted foundation-style governance for durability
  5. 5:06 – 6:12

    Major milestone: remote MCP servers reduce setup friction

    The conversation shifts to MCP’s current state, highlighting remote MCP support as a key inflection point. Remote hosting lets official providers run servers users can connect to without clunky local setup.

    • Early MCP required users to run servers themselves, creating setup friction
    • Remote MCP enables providers (e.g., Asana) to host official endpoints
    • First-class remote support simplifies onboarding for end users
    • Reduces “glue work” and makes MCP feel more production-ready
  6. 6:12 – 7:42

    MCP registries: discoverability, official endpoints, and safer trust model

    John describes the release of a central registry plus a standard for federated/extended registries. This changes the trust and discovery story: users can connect to official endpoints rather than random community scripts.

    • Central MCP server registry released under the MCP org
    • Registry can be extended by other organizations (open-source ethos)
    • Growth of official servers (GitHub, Asana, etc.)
    • Shift from “trust a random connector” to “use the official endpoint URL”
  7. 7:42 – 9:00

    Favorite MCP: Context7 for up-to-date documentation beyond the cutoff

    Michael highlights Context7 as a practical solution to stale model knowledge. It keeps documentation current and makes the latest docs available to Claude via a one-time MCP configuration.

    • Addresses knowledge cutoff by pulling fresh docs from sources like Next.js
    • Keeps docs synchronized so Claude references current APIs and guidance
    • Works well with emerging llms.txt-style documentation formats
    • One-time setup makes “latest docs” available during development
  8. 9:00 – 10:34

    Favorite MCP: Playwright for browser-driven debugging and visual feedback loops

    John explains how a Playwright MCP server lets Claude interact with a real browser, including screenshots and navigation. When combined with coding tools, it enables iterative self-correction loops for UI issues like CSS alignment.

    • Playwright MCP gives Claude the ability to browse and “see” pages via automation
    • Useful for UI/CSS work where code alone isn’t enough to judge results
    • Enables iterative loops: change HTML/CSS → reload → screenshot → evaluate → revise
    • Turns visual debugging into an agentic workflow
  9. 10:34 – 11:50

    Using MCP with the Claude API: SDK glue vs the native MCP connector

    Michael lays out two approaches: build the tool loop yourself with the MCP SDK, or use the Claude API’s native MCP connector. The connector lets developers specify remote MCP endpoints and auth, while the API handles the tool-calling loop.

    • Canonical approach: MCP SDK + developer-managed calling loop
    • New approach: Claude API MCP connector as a native feature
    • Provide endpoint URLs (e.g., mcp.github.com) + auth; API manages execution loop
    • Can reduce large amounts of custom “glue code” for tool execution
  10. 11:50 – 14:18

    Prompt engineering for MCP: tools and descriptions are part of the prompt

    John stresses that MCP tool schemas—names, descriptions, examples, parameter labels—directly shape model behavior. Small wording improvements can significantly boost tool use quality, like better prompts for diffusion-based image generation.

    • MCP server/tool design is effectively prompt design
    • Tool names, descriptions, examples, and parameter naming affect behavior
    • Better descriptions can teach Claude how to prompt downstream systems (e.g., diffusion models)
    • Even minor wording changes can yield major output quality improvements
  11. 14:18 – 18:03

    Best practices: manage tool sprawl, context pollution, and ambiguity across servers

    Michael and John warn against stuffing requests with too many tools/servers, which increases cost and confuses the model—especially when tools overlap. They recommend scoping tools to the task, minimizing irrelevant context, and designing smaller tool sets.

    • Anti-pattern: adding too many tools/servers increases tokens and confusion
    • Overlapping tools (e.g., Asana + Linear both offering “Get Project Status”) create ambiguity
    • Prefer task-relevant subsets over “connect everything all the time”
    • Design MCP servers with fewer, higher-level tools when possible
  12. 18:03 – 22:55

    Real-world use + emergent behavior: project updates, home automation, and flexible “intent-first” interfaces

    Michael shares how MCP helps synthesize updates from scattered internal sources into consistent status reports. John describes home automation and a knowledge-graph memory server, using these to illustrate “emergent” behaviors and how MCP can evolve without classic breaking-change burdens.

    • Work use: aggregate Slack/docs/code into weekly project status updates
    • Personal use: home MCP servers to check/lock doors via Claude
    • Knowledge graph server sparked unexpected “investigative journalist mode” behavior
    • MCP enables intent-first evolution of tool interfaces with less breaking-change pain
  13. 22:55 – 25:58

    Where MCP is headed: invisible infrastructure and competition on MCP server quality

    They predict MCP should fade into the background as plumbing—users shouldn’t need to think about it. John expects a maturation phase where vendors compete on having the best-designed MCP servers, making MCP support a differentiator when choosing services.

    • If MCP succeeds, it becomes “invisible” glue under apps and workflows
    • Hard to compare to past protocols given AI’s rapid pace
    • Ecosystem growth: more companies collaborating to proliferate MCP
    • Future: vendors compete on “best MCP server,” making it a purchasing criterion

Get more out of YouTube videos.

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