这是用户在 2025-1-8 21:43 为 https://modelcontextprotocol.io/introduction 保存的双语快照页面,由 沉浸式翻译 提供双语支持。了解如何保存?

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.
MCP 是一种开放协议,它标准化了应用程序如何为 LLMs。将 MCP 想象成 AI 应用的 USB-C 端口。正如 USB-C 提供了一种将设备连接到各种外围设备和配件的标准化方式一样,MCP 也提供了一种将 AI 模型连接到不同数据源和工具的标准化方式。

Why MCP?  为什么选择 MCP?

MCP helps you build agents and complex workflows on top of LLMs. LLMs frequently need to integrate with data and tools, and MCP provides:
MCP 可帮助您在 LLMs。LLMs 经常需要与数据和工具集成,MCP 提供:

  • A growing list of pre-built integrations that your LLM can directly plug into
    越来越多的预构建集成,您的 LLM 可以直接插入其中
  • The flexibility to switch between LLM providers and vendors
    在 LLM
  • Best practices for securing your data within your infrastructure
    在基础架构中保护数据的最佳实践

General architecture  一般架构

At its core, MCP follows a client-server architecture where a host application can connect to multiple servers:
MCP 的核心遵循客户端-服务器架构,其中主机应用程序可以连接到多个服务器:

  • MCP Hosts: Programs like Claude Desktop, IDEs, or AI tools that want to access data through MCP
    MCP 主机:希望通过 MCP 访问数据的 Claude Desktop、IDE 或 AI 工具等程序
  • MCP Clients: Protocol clients that maintain 1:1 connections with servers
    MCP 客户端:与服务器保持 1:1 连接的协议客户端
  • MCP Servers: Lightweight programs that each expose specific capabilities through the standardized Model Context Protocol
    MCP 服务器:轻量级程序,每个程序都通过标准化的 Model Context Protocol 公开特定功能
  • Local Data Sources: Your computer’s files, databases, and services that MCP servers can securely access
    本地数据源:MCP 服务器可以安全访问的计算机文件、数据库和服务
  • Remote Services: External systems available over the internet (e.g., through APIs) that MCP servers can connect to
    远程服务:MCP 服务器可以连接到的 Internet 上可用的外部系统(例如,通过 API)

Get started  开始使用

Choose the path that best fits your needs:
选择最适合您需求的路径:

Quick Starts  快速入门

Examples  例子

Tutorials  教程

Explore MCP  探索 MCP

Dive deeper into MCP’s core concepts and capabilities:
深入了解 MCP 的核心概念和功能:

Contributing  贡献

Want to contribute? Check out our Contributing Guide to learn how you can help improve MCP.
想要做出贡献吗?查看我们的贡献指南,了解如何帮助改进 MCP。

Was this page helpful?  这个页面有帮助吗?