Slide 1

Slide 1 text

INTRODUCING THE MODEL CONTEXT PROTOCOL

Slide 2

Slide 2 text

AGENDA • Overview • Model Context Protocol • Implementation and Adoption • Getting Started with MCP • Developer Guide • Community and Collaboration • Technical Details • Quickstart Guide • Advanced Examples • Expanding Capabilities • Additional MCP Clients • Troubleshooting

Slide 3

Slide 3 text

OVERVIEW • Claude • ResearchCompanyCareersNews • Announcements • Introducing the Model Context Protocol • 2024年11月26日●3 min read

Slide 4

Slide 4 text

INTRODUCTION TO MCP • Introduction of MCP • A new standard for connecting AI assistants to data systems • Includes content repositories, business tools, and development environments • Purpose of MCP • Helps frontier models produce better, more relevant responses • Current Industry Challenges • AI assistants are isolated from data • Information silos and legacy systems create barriers • Custom implementations needed for each new data source • Solution Provided by MCP • Universal, open standard for connecting AI systems with data sources • Replaces fragmented integrations with a single protocol

Slide 5

Slide 5 text

CHALLENGES ADDRESSED BY MCP • AI Assistants and Industry Investments • Rapid advances in reasoning and quality • Heavy investment in model capabilities • Challenges of Data Isolation • AI models trapped behind information silos • Legacy systems causing constraints • Custom Implementations for New Data Sources • Difficulty in scaling truly connected systems • MCP Solution • Universal, open standard for connecting AI systems • Replaces fragmented integrations with a single protocol • Simplifies and improves data access for AI systems

Slide 6

Slide 6 text

MODEL CONTEXT PROTOCOL • Model Context Protocol Specification • Detailed protocol specifications • SDKs for implementation • Local MCP Server Support • Integration in Claude Desktop apps • Open-source Repository • Collection of MCP servers

Slide 7

Slide 7 text

IMPLEMENTATION AND ADOPTION • Claude 3.5 Sonnet's Capabilities • Quickly builds MCP server implementations • Connects important datasets with AI-powered tools • Pre-built MCP Servers for Popular Systems • Google Drive, Slack, GitHub, Git, Postgres, Puppeteer • Early Adopters and Collaborators • Block and Apollo have integrated MCP • Development tools companies like Zed, Replit, Codeium, Sourcegraph • Block's Commitment to Open Source • Open source as a foundation and commitment • Model Context Protocol bridges AI to real-world applications • Standard Protocol for Developers

Slide 8

Slide 8 text

BUILDING MCP SERVER IMPLEMENTATIONS • Quick MCP Server Implementations • Rapidly connect important datasets • Utilize AI-powered tools • Pre-built MCP Servers • Google Drive • Slack • GitHub • Git • Postgres • Puppeteer

Slide 9

Slide 9 text

EARLY ADOPTERS AND INTEGRATIONS • Early Adopters of MCP • Block and Apollo have integrated MCP into their systems • Development Tools Companies Working with MCP • Zed, Replit, Codeium, and Sourcegraph are enhancing their platforms with MCP • Enabling AI agents to retrieve relevant information • Producing more nuanced and functional code with fewer attempts • Block's Commitment to Open Source • Open source as a foundation and commitment to meaningful change • Creating technology that serves as a public good • Benefits of Open Technologies like MCP • Connecting AI to real-world applications • Ensuring innovation is accessible, transparent, and collaborative

Slide 10

Slide 10 text

STANDARD PROTOCOL BENEFITS • Unified Standard Protocol • Eliminates the need for separate connectors for each data source • Streamlines the development process • AI Systems Maintaining Context • Ensures seamless movement between different tools and datasets • Replaces fragmented integrations • Sustainable Architecture • Promotes a more sustainable and efficient system • Supports the maturation of the ecosystem

Slide 11

Slide 11 text

GETTING STARTED WITH MCP • Building and Testing MCP Connectors • Developers can start today • Supported by all Claude.ai plans • Claude for Work Customers • Test MCP servers locally • Connect Claude to internal systems and datasets • Future Developer Toolkits • Deploy remote production MCP servers • Serve entire Claude for Work organization

Slide 12

Slide 12 text

TESTING MCP SERVERS LOCALLY • Local Testing of MCP Servers • Allows connection of Claude to internal systems • Enables integration with internal datasets • Upcoming Developer Toolkits • Facilitate deployment of remote production MCP servers • Support for entire Claude for Work organization

Slide 13

Slide 13 text

CONNECTING MCP SERVERS • Availability of MCP Connectors • Developers can start building and testing MCP connectors immediately • Support for MCP Servers • All Claude.ai plans support connecting MCP servers • Claude Desktop App Integration • MCP servers can be connected to the Claude Desktop app

Slide 14

Slide 14 text

DEVELOPER GUIDE • Install MCP Servers • Use the Claude Desktop app for pre-built servers • Quickstart Guide • Build your first MCP server with our guide • Contribute to Open-Source • Participate in our repositories of connectors and implementations

Slide 15

Slide 15 text

COMMUNITY AND COLLABORATION • Commitment to Collaboration • Building MCP as an open-source project • Encouraging community feedback • Engagement with Various Stakeholders • AI tool developers • Enterprises leveraging existing data • Early adopters exploring new frontiers • Invitation to Shape the Future • Collaborate on context-aware AI

Slide 16

Slide 16 text

FEEDBACK AND COLLABORATION • Commitment to Collaboration • Building MCP as a collaborative project • Open-source initiative • Seeking Feedback • Encouraging input from AI tool developers • Inviting enterprises to leverage existing data • Welcoming early adopters to explore the frontier • Future of Context-Aware AI • Invitation to build the future together

Slide 17

Slide 17 text

OPEN COMMUNITY COMMITMENT An open community

Slide 18

Slide 18 text

TECHNICAL DETAILS • Overview of MCP Protocol • Enables secure connections between host applications and local services • Open protocol, usable by any application • Setting Up SQLite Database • Instructions to set up a local SQLite database • Connecting Claude Desktop to SQLite • Steps to connect through MCP • Querying and Analyzing Data • Securely query and analyze data • Integration Limitations • Currently supports only local MCP servers • Available only in Claude Desktop app

Slide 19

Slide 19 text

HOW MCP WORKS • Introduction to MCP • MCP stands for Model Context Protocol • It is an open protocol • Functionality of MCP • Enables secure interactions • Allows controlled interactions • Application of MCP • Used between AI applications • Can interact with local or remote resources

Slide 20

Slide 20 text

GENERAL ARCHITECTURE • Client-Server Architecture • MCP follows a client-server model • Host application connects to multiple servers • MCP Hosts • Programs like Claude Desktop, IDEs, or AI tools • Access resources through MCP • MCP Clients • Protocol clients • Maintain 1:1 connections with servers • MCP Servers • Local Resources • Remote Resources

Slide 21

Slide 21 text

SETTING UP LOCAL SQLITE DATABASE • Set up a local SQLite database • Install SQLite on your local machine • Create a new database file • Connect Claude Desktop to SQLite through MCP • Configure MCP settings in Claude Desktop • Establish a secure connection to the SQLite database • Query and analyze your data securely • Use SQL queries to interact with your data • Analyze data within Claude Desktop • Open protocol for integration • Any application can integrate MCP • Standardized connection for IDEs, AI tools, and other software

Slide 22

Slide 22 text

CONFIGURING CLAUDE DESKTOP • Open Configuration File • Navigate to ~/Library/Application Support/Claude/claude_desktop_config.json • Use a text editor like VS Code • Add Configuration • Insert the provided JSON configuration • Replace YOUR_USERNAME with your actual username • Configuration Details • Defines an MCP server named “sqlite” • Launches it using uvx mcp-server-sqlite • Connects to your test database • Save and Restart • Save the configuration file

Slide 23

Slide 23 text

TESTING MCP INTEGRATION • Verification Process • Send a prompt to Claude Desktop • Example prompt: Connect to SQLite database and list products with prices • Claude Desktop Actions • Connects to SQLite MCP server • Queries the local database • Formats and presents the results • Successful Query • Claude Desktop successfully queries the SQLite database

Slide 24

Slide 24 text

ADVANCED EXAMPLES • Basic Queries • Simple data retrieval tasks • Data Analysis • In-depth examination of data • Complex Operations • Advanced data manipulation

Slide 25

Slide 25 text

EXPANDING CAPABILITIES • Local Integration Capabilities • Add servers to configuration for enhanced integration • Required MCP Servers • File System Access • PostgreSQL Connection • Node.js Installation • Ensure Node.js is installed on your machine

Slide 26

Slide 26 text

ADDITIONAL MCP CLIENTS • Zed Editor • High-performance code editor • Multiplayer support • Built-in MCP support for AI- powered coding assistance • Cody • Code intelligence platform • Features MCP integration • Enhanced code search and analysis capabilities

Slide 27

Slide 27 text

TROUBLESHOOTING • Common Issues with Claude Desktop • Nothing showing up on the screen • Potential MCP errors • Database errors affecting performance • Steps to Diagnose • Check for MCP errors • Verify database connections

Slide 28

Slide 28 text

NEXT STEPS • Create Your Own MCP Servers • Enhance LLM clients with new capabilities • Explore Examples • Browse example servers • Discover potential applications