# 模型上下文协议 - [什么是模型上下文协议(Model Context Protocol,MCP)?](https://mcp-zh.com/docs/2026-07-28/getting-started/intro.md) - [架构概览](https://mcp-zh.com/docs/2026-07-28/learn/architecture.md) - [理解 MCP 服务器](https://mcp-zh.com/docs/2026-07-28/learn/server-concepts.md) - [理解 MCP 客户端](https://mcp-zh.com/docs/2026-07-28/learn/client-concepts.md) - [版本管理](https://mcp-zh.com/docs/2026-07-28/learn/versioning.md) - [连接到本地 MCP 服务器](https://mcp-zh.com/docs/2026-07-28/develop/connect-local-servers.md): 了解如何使用本地 MCP 服务器扩展 Claude Desktop,以启用文件系统访问和其他强大的集成 - [连接到远程 MCP 服务器](https://mcp-zh.com/docs/2026-07-28/develop/connect-remote-servers.md): 了解如何将 Claude 连接到远程 MCP 服务器,并使用互联网托管的工具和数据源扩展其能力 - [使用 Agent Skills 构建](https://mcp-zh.com/docs/2026-07-28/develop/build-with-agent-skills.md): 使用 agent skills 引导 AI 编码助手完成 MCP 服务器的设计与实现 - [构建 MCP 服务器](https://mcp-zh.com/docs/2026-07-28/develop/build-server.md): 开始构建你自己的服务器,以在 Claude for Desktop 和其他客户端中使用。 - [构建 MCP 客户端](https://mcp-zh.com/docs/2026-07-28/develop/build-client.md): 开始构建你自己的、能够与所有 MCP 服务器集成的客户端。 - [客户端最佳实践](https://mcp-zh.com/docs/2026-07-28/develop/clients/client-best-practices.md): 在众多服务器和工具之间扩展 MCP 宿主应用的模式。 - [SDK](https://mcp-zh.com/docs/2026-07-28/sdk.md): 用于构建模型上下文协议的官方 SDK - [理解 MCP 中的授权](https://mcp-zh.com/docs/2026-07-28/tutorials/security/authorization.md): 了解如何使用 OAuth 2.1 为 MCP 服务器实现安全授权,以保护敏感资源和操作 - [安全最佳实践](https://mcp-zh.com/docs/2026-07-28/tutorials/security/security_best_practices.md): MCP 实现的安全考量、攻击向量和最佳实践 - [MCP Inspector](https://mcp-zh.com/docs/2026-07-28/tools/inspector.md): 用于测试和调试 MCP 服务器的交互式开发者工具,可在浏览器、命令行和终端中使用 - [Web 客户端](https://mcp-zh.com/docs/2026-07-28/tools/inspector/web.md): 图形化 MCP Inspector 的逐标签页讲解 - [CLI 客户端](https://mcp-zh.com/docs/2026-07-28/tools/inspector/cli.md): 为 MCP Inspector 编写脚本:方法、输出格式、退出码和 CI 配方 - [TUI 客户端](https://mcp-zh.com/docs/2026-07-28/tools/inspector/tui.md): 终端版 MCP Inspector:导航、标签页和键盘参考 - [配置与 flag](https://mcp-zh.com/docs/2026-07-28/tools/inspector/configuration.md): 目录 vs. 配置文件、哪个客户端拥有哪个 flag,以及每一个环境变量 - [授权](https://mcp-zh.com/docs/2026-07-28/tools/inspector/authorization.md): MCP Inspector 如何执行 OAuth、在会话中途重新授权,以及在其客户端之间共享令牌 - [协议时代](https://mcp-zh.com/docs/2026-07-28/tools/inspector/protocol-eras.md): Inspector 如何协商旧式 vs. 现代 MCP,以及在协议时代之间如何处理每一项特性 - [配方](https://mcp-zh.com/docs/2026-07-28/tools/inspector/recipes.md): 关于传输、导入配置、审查 MCP 应用、Docker 和网络托管的实用指南 - [调试](https://mcp-zh.com/docs/2026-07-28/tools/debugging.md): 调试模型上下文协议(MCP)集成的全面指南 - [什么是模型上下文协议(Model Context Protocol,MCP)?](https://mcp-zh.com/docs/2025-11-25/getting-started/intro.md) - [架构概览](https://mcp-zh.com/docs/2025-11-25/learn/architecture.md) - [理解 MCP 服务器](https://mcp-zh.com/docs/2025-11-25/learn/server-concepts.md) - [理解 MCP 客户端](https://mcp-zh.com/docs/2025-11-25/learn/client-concepts.md) - [版本管理](https://mcp-zh.com/docs/2025-11-25/learn/versioning.md) - [连接到本地 MCP 服务器](https://mcp-zh.com/docs/2025-11-25/develop/connect-local-servers.md): 了解如何使用本地 MCP 服务器扩展 Claude Desktop,以启用文件系统访问和其他强大的集成 - [连接到远程 MCP 服务器](https://mcp-zh.com/docs/2025-11-25/develop/connect-remote-servers.md): 了解如何将 Claude 连接到远程 MCP 服务器,并使用互联网托管的工具和数据源扩展其能力 - [使用 Agent Skills 构建](https://mcp-zh.com/docs/2025-11-25/develop/build-with-agent-skills.md): 使用 agent skills 引导 AI 编码助手完成 MCP 服务器的设计与实现 - [构建 MCP 服务器](https://mcp-zh.com/docs/2025-11-25/develop/build-server.md): 开始构建你自己的服务器,以在 Claude for Desktop 和其他客户端中使用。 - [构建 MCP 客户端](https://mcp-zh.com/docs/2025-11-25/develop/build-client.md): 开始构建你自己的、能够与所有 MCP 服务器集成的客户端。 - [客户端最佳实践](https://mcp-zh.com/docs/2025-11-25/develop/clients/client-best-practices.md): 在众多服务器和工具之间扩展 MCP 宿主应用的模式。 - [SDK](https://mcp-zh.com/docs/2025-11-25/sdk.md): 用于构建模型上下文协议的官方 SDK - [理解 MCP 中的授权](https://mcp-zh.com/docs/2025-11-25/tutorials/security/authorization.md): 了解如何使用 OAuth 2.1 为 MCP 服务器实现安全授权,以保护敏感资源和操作 - [安全最佳实践](https://mcp-zh.com/docs/2025-11-25/tutorials/security/security_best_practices.md): MCP 实现的安全考量、攻击向量和最佳实践 - [MCP Inspector](https://mcp-zh.com/docs/2025-11-25/tools/inspector.md): 深入介绍如何使用 MCP Inspector 测试和调试模型上下文协议服务器 - [调试](https://mcp-zh.com/docs/2025-11-25/tools/debugging.md): 调试模型上下文协议(MCP)集成的全面指南 - [规范](https://mcp-zh.com/specification/2026-07-28/index.md) - [关键变更](https://mcp-zh.com/specification/2026-07-28/changelog.md) - [已弃用特性](https://mcp-zh.com/specification/2026-07-28/deprecated.md) - [架构](https://mcp-zh.com/specification/2026-07-28/architecture/index.md) - [概述](https://mcp-zh.com/specification/2026-07-28/basic/index.md) - [版本管理与兼容性](https://mcp-zh.com/specification/2026-07-28/basic/versioning.md) - [概述](https://mcp-zh.com/specification/2026-07-28/basic/patterns/index.md) - [多轮往返请求](https://mcp-zh.com/specification/2026-07-28/basic/patterns/mrtr.md) - [订阅](https://mcp-zh.com/specification/2026-07-28/basic/patterns/subscriptions.md) - [取消](https://mcp-zh.com/specification/2026-07-28/basic/patterns/cancellation.md) - [进度](https://mcp-zh.com/specification/2026-07-28/basic/patterns/progress.md) - [概述](https://mcp-zh.com/specification/2026-07-28/basic/transports/index.md) - [stdio](https://mcp-zh.com/specification/2026-07-28/basic/transports/stdio.md) - [Streamable HTTP](https://mcp-zh.com/specification/2026-07-28/basic/transports/streamable-http.md) - [授权](https://mcp-zh.com/specification/2026-07-28/basic/authorization/index.md) - [授权服务器发现](https://mcp-zh.com/specification/2026-07-28/basic/authorization/authorization-server-discovery.md) - [客户端注册](https://mcp-zh.com/specification/2026-07-28/basic/authorization/client-registration.md) - [授权安全考量](https://mcp-zh.com/specification/2026-07-28/basic/authorization/security-considerations.md) - [Roots](https://mcp-zh.com/specification/2026-07-28/client/roots.md) - [采样](https://mcp-zh.com/specification/2026-07-28/client/sampling.md) - [征询](https://mcp-zh.com/specification/2026-07-28/client/elicitation.md) - [概述](https://mcp-zh.com/specification/2026-07-28/server/index.md) - [发现](https://mcp-zh.com/specification/2026-07-28/server/discover.md) - [提示](https://mcp-zh.com/specification/2026-07-28/server/prompts.md) - [资源](https://mcp-zh.com/specification/2026-07-28/server/resources.md) - [工具](https://mcp-zh.com/specification/2026-07-28/server/tools.md) - [缓存](https://mcp-zh.com/specification/2026-07-28/server/utilities/caching.md) - [补全](https://mcp-zh.com/specification/2026-07-28/server/utilities/completion.md) - [日志](https://mcp-zh.com/specification/2026-07-28/server/utilities/logging.md) - [分页](https://mcp-zh.com/specification/2026-07-28/server/utilities/pagination.md) - [Schema 参考](https://mcp-zh.com/specification/2026-07-28/schema.md) - [规范](https://mcp-zh.com/specification/2025-11-25/index.md) - [关键变更](https://mcp-zh.com/specification/2025-11-25/changelog.md) - [架构](https://mcp-zh.com/specification/2025-11-25/architecture/index.md) - [概览](https://mcp-zh.com/specification/2025-11-25/basic/index.md) - [生命周期(Lifecycle)](https://mcp-zh.com/specification/2025-11-25/basic/lifecycle.md) - [传输(Transports)](https://mcp-zh.com/specification/2025-11-25/basic/transports.md) - [授权(Authorization)](https://mcp-zh.com/specification/2025-11-25/basic/authorization.md) - [取消(Cancellation)](https://mcp-zh.com/specification/2025-11-25/basic/utilities/cancellation.md) - [Ping](https://mcp-zh.com/specification/2025-11-25/basic/utilities/ping.md) - [进度(Progress)](https://mcp-zh.com/specification/2025-11-25/basic/utilities/progress.md) - [任务(Tasks)](https://mcp-zh.com/specification/2025-11-25/basic/utilities/tasks.md) - [征询(Elicitation)](https://mcp-zh.com/specification/2025-11-25/client/elicitation.md) - [根(Roots)](https://mcp-zh.com/specification/2025-11-25/client/roots.md) - [采样(Sampling)](https://mcp-zh.com/specification/2025-11-25/client/sampling.md) - [概述](https://mcp-zh.com/specification/2025-11-25/server/index.md) - [提示](https://mcp-zh.com/specification/2025-11-25/server/prompts.md) - [资源(Resources)](https://mcp-zh.com/specification/2025-11-25/server/resources.md) - [工具(Tools)](https://mcp-zh.com/specification/2025-11-25/server/tools.md) - [补全](https://mcp-zh.com/specification/2025-11-25/server/utilities/completion.md) - [日志(Logging)](https://mcp-zh.com/specification/2025-11-25/server/utilities/logging.md) - [分页](https://mcp-zh.com/specification/2025-11-25/server/utilities/pagination.md) - [Schema Reference](https://mcp-zh.com/specification/2025-11-25/schema.md) - [扩展概览](https://mcp-zh.com/extensions/overview.md): 模型上下文协议的可选扩展 - [扩展支持矩阵](https://mcp-zh.com/extensions/client-matrix.md): 哪些 MCP 客户端实现了哪些官方扩展 - [MCP Apps](https://mcp-zh.com/extensions/apps/overview.md): 在 Claude Desktop 等 MCP 宿主内部渲染的交互式 UI 应用 - [构建一个 MCP App](https://mcp-zh.com/extensions/apps/build.md): 使用 MCP Apps 构建交互式 UI 应用的入门指南 - [授权扩展](https://mcp-zh.com/extensions/auth/overview.md): 面向模型上下文协议的补充性授权机制 - [OAuth 客户端凭据](https://mcp-zh.com/extensions/auth/oauth-client-credentials.md): 使用 OAuth 2.0 客户端凭据流为 MCP 提供机器对机器认证 - [企业托管授权](https://mcp-zh.com/extensions/auth/enterprise-managed-authorization.md): 在企业环境中通过身份提供方对 MCP 进行集中式访问控制 - [Tasks](https://mcp-zh.com/extensions/tasks/overview.md): 面向长时间运行的 MCP 操作的异步任务执行 - [MCP 注册表](https://mcp-zh.com/registry/about.md) - [快速上手:将 MCP 服务器发布到 MCP 注册表](https://mcp-zh.com/registry/quickstart.md) - [发布到官方 MCP 注册表时如何认证](https://mcp-zh.com/registry/authentication.md) - [MCP 注册表支持的软件包类型](https://mcp-zh.com/registry/package-types.md) - [发布远程服务器](https://mcp-zh.com/registry/remote-servers.md) - [为已发布的 MCP 服务器设定版本](https://mcp-zh.com/registry/versioning.md) - [如何用 GitHub Actions 自动化发布](https://mcp-zh.com/registry/github-actions.md) - [MCP 注册表聚合器](https://mcp-zh.com/registry/registry-aggregators.md) - [MCP 注册表内容审核政策](https://mcp-zh.com/registry/moderation-policy.md) - [官方 MCP 注册表服务条款](https://mcp-zh.com/registry/terms-of-service.md) - [常见问题](https://mcp-zh.com/registry/faq.md) - [贡献者沟通](https://mcp-zh.com/community/communication.md): 面向模型上下文协议社区的沟通策略与框架 - [为 MCP 做贡献](https://mcp-zh.com/community/contributing.md): 如何为模型上下文协议项目做贡献 - [贡献者阶梯](https://mcp-zh.com/community/contributor-ladder.md): MCP 贡献者的角色、职责和晋升标准,从首次贡献到核心维护者 - [治理与管理](https://mcp-zh.com/community/governance.md): 了解模型上下文协议的治理结构以及如何参与社区 - [设计原则](https://mcp-zh.com/community/design-principles.md): 指导模型上下文协议开发的核心设计原则。 - [特性生命周期与弃用政策](https://mcp-zh.com/community/feature-lifecycle.md): 单个 MCP 规范特性如何在活跃、已弃用和已移除状态之间流转,以及实现者可据以规划的时间线。 - [SDK 分级体系](https://mcp-zh.com/community/sdk-tiers.md): 模型上下文协议 SDK 的特性完整度、协议支持和维护承诺等级 - [SEP 指南](https://mcp-zh.com/community/sep-guidelines.md): 用于向模型上下文协议提议变更的规范增强提案(SEP)指南 - [安全政策](https://mcp-zh.com/community/security.md): 如何报告模型上下文协议规范和 SDK 中的安全漏洞、哪些在范围内哪些在范围外,以及 SDK 维护者如何协调披露。 - [反垄断政策](https://mcp-zh.com/community/antitrust.md): 面向参与者和贡献者的 MCP 项目反垄断政策 - [工作组和兴趣组](https://mcp-zh.com/community/working-interest-groups.md): 模型上下文协议社区内两种协作群组形式——工作组和兴趣组——的治理规则。 - [群组章程模板](https://mcp-zh.com/community/charter-template.md): MCP 工作组和兴趣组章程的模板。 - [Agents 章程](https://mcp-zh.com/community/working-groups/agents.md): MCP Agents 工作组的章程。 - [文件上传章程](https://mcp-zh.com/community/working-groups/file-uploads.md): MCP 文件上传工作组的章程。 - [Inspector V2 工作组章程](https://mcp-zh.com/community/working-groups/inspector-v2.md): Inspector V2 工作组(模型上下文协议社区的一个工作组)的章程。 - [拦截器章程](https://mcp-zh.com/community/working-groups/interceptors.md): MCP 拦截器工作组的章程。 - [Registry 章程](https://mcp-zh.com/community/working-groups/registry.md): MCP Registry 工作组的章程。 - [SDK 工作组章程](https://mcp-zh.com/community/working-groups/sdk.md): MCP SDK 工作组的章程。 - [Server Card 章程](https://mcp-zh.com/community/working-groups/server-card.md): MCP Server Card 工作组的章程。 - [Skills Over MCP 章程](https://mcp-zh.com/community/working-groups/skills-over-mcp.md): MCP Skills Over MCP 工作组的章程。 - [Transports 章程](https://mcp-zh.com/community/working-groups/transports.md): MCP Transports 工作组的章程。 - [触发器与事件章程](https://mcp-zh.com/community/working-groups/triggers-events.md): MCP 触发器与事件工作组的章程。 - [授权章程](https://mcp-zh.com/community/interest-groups/auth.md): MCP 授权兴趣组的章程。 - [企业托管授权章程](https://mcp-zh.com/community/interest-groups/enterprise-managed-authorization.md): MCP 企业托管授权兴趣组的章程。 - [金融服务章程](https://mcp-zh.com/community/interest-groups/financial-services.md): MCP 金融服务兴趣组的章程。 - [原语分组章程](https://mcp-zh.com/community/interest-groups/primitive-grouping.md): MCP 原语分组兴趣组的章程。 - [安全章程](https://mcp-zh.com/community/interest-groups/security.md): MCP 安全兴趣组的章程。 - [工具标注章程](https://mcp-zh.com/community/interest-groups/tool-annotations.md): MCP 工具标注兴趣组的章程。 - [路线图](https://mcp-zh.com/development/roadmap.md): 模型上下文协议路线图,涵盖核心维护者与工作组为下一个规范版本推进的优先领域,以及它们如何塑造 SEP 评审。 - [示例服务器](https://mcp-zh.com/examples.md): 示例服务器与实现的清单 - [规范增强提案(SEP)](https://mcp-zh.com/seps/index.md) - [SEP-414:记录 OpenTelemetry 跟踪上下文传播约定](https://mcp-zh.com/seps/414-request-meta.md) - [SEP-932:模型上下文协议治理](https://mcp-zh.com/seps/932-model-context-protocol-governance.md) - [SEP-973:为实现、资源、工具和提示暴露额外元数据](https://mcp-zh.com/seps/973-expose-additional-metadata-for-implementations-res.md) - [SEP-985:使 OAuth 2.0 受保护资源元数据与 RFC 9728 对齐](https://mcp-zh.com/seps/985-align-oauth-20-protected-resource-metadata-with-rf.md) - [SEP-986:规定工具名称的格式](https://mcp-zh.com/seps/986-specify-format-for-tool-names.md) - [SEP-990:在 MCP OAuth 流程中启用企业 IdP 策略控制](https://mcp-zh.com/seps/990-enable-enterprise-idp-policy-controls-during-mcp-o.md) - [SEP-991:使用 OAuth 客户端 ID 元数据文档启用基于 URL 的客户端注册](https://mcp-zh.com/seps/991-enable-url-based-client-registration-using-oauth-c.md) - [SEP-994:共享的沟通实践/指南](https://mcp-zh.com/seps/994-shared-communication-practicesguidelines.md) - [SEP-1024:面向本地服务器安装的 MCP 客户端安全要求](https://mcp-zh.com/seps/1024-mcp-client-security-requirements-for-local-server-.md) - [SEP-1034:为征询 schema 中所有基本类型支持默认值](https://mcp-zh.com/seps/1034--support-default-values-for-all-primitive-types-in.md) - [SEP-1036:用于安全带外交互的 URL 模式征询](https://mcp-zh.com/seps/1036-url-mode-elicitation-for-secure-out-of-band-intera.md) - [SEP-1046:在授权中支持 OAuth 客户端凭据流](https://mcp-zh.com/seps/1046-support-oauth-client-credentials-flow-in-authoriza.md) - [SEP-1302:在 MCP 治理中正式确立工作组和兴趣组](https://mcp-zh.com/seps/1302-formalize-working-groups-and-interest-groups-in-mc.md) - [SEP-1303:将输入校验错误作为工具执行错误](https://mcp-zh.com/seps/1303-input-validation-errors-as-tool-execution-errors.md) - [SEP-1319:将请求载荷与 RPC 方法定义解耦](https://mcp-zh.com/seps/1319-decouple-request-payload-from-rpc-methods-definiti.md) - [SEP-1330:征询枚举 Schema 的改进与标准合规](https://mcp-zh.com/seps/1330-elicitation-enum-schema-improvements-and-standards.md) - [SEP-1577:带工具的采样](https://mcp-zh.com/seps/1577--sampling-with-tools.md) - [SEP-1613:确立 JSON Schema 2020-12 为 MCP 的默认方言](https://mcp-zh.com/seps/1613-establish-json-schema-2020-12-as-default-dialect-f.md) - [SEP-1686:任务(Tasks)](https://mcp-zh.com/seps/1686-tasks.md): 引入任务原语与关联的任务 ID,用于查询任务的状态与结果,为所有请求启用先调用、后取回的执行模式。 - [SEP-1699:通过服务器端断开支持 SSE 轮询](https://mcp-zh.com/seps/1699-support-sse-polling-via-server-side-disconnect.md) - [SEP-1730:SDK 分级体系](https://mcp-zh.com/seps/1730-sdks-tiering-system.md) - [SEP-1850:基于 PR 的 SEP 工作流](https://mcp-zh.com/seps/1850-pr-based-sep-workflow.md) - [SEP-1865:MCP Apps —— 面向 MCP 的交互式用户界面](https://mcp-zh.com/seps/1865-mcp-apps-interactive-user-interfaces-for-mcp.md) - [SEP-2085:治理继任与修订程序](https://mcp-zh.com/seps/2085-governance-succession-and-amendment.md) - [SEP-2106:工具的 inputSchema 与 outputSchema 符合 JSON Schema 2020-12](https://mcp-zh.com/seps/2106-json-schema-2020-12.md) - [SEP-2133:扩展](https://mcp-zh.com/seps/2133-extensions.md) - [SEP-2148:MCP 贡献者阶梯](https://mcp-zh.com/seps/2148-contributor-ladder.md) - [SEP-2149:MCP 群组治理与章程模板](https://mcp-zh.com/seps/2149-working-group-charter-template.md) - [SEP-2164:标准化"资源未找到"错误码](https://mcp-zh.com/seps/2164-resource-not-found-error.md) - [SEP-2207:OIDC 风格的刷新令牌指南](https://mcp-zh.com/seps/2207-oidc-refresh-token-guidance.md) - [SEP-2243:Streamable HTTP 传输的 HTTP 头部标准化](https://mcp-zh.com/seps/2243-http-standardization.md): 将关键路由与上下文信息映射到标准 HTTP 头部,使负载均衡器、代理与可观测性工具无需深度解析报文即可路由和处理 MCP 流量。 - [SEP-2260:要求服务器请求与客户端请求相关联](https://mcp-zh.com/seps/2260-Require-Server-requests-to-be-associated-with-Client-requests.md) - [SEP-2322:多轮往返请求(Multi Round-Trip Requests)](https://mcp-zh.com/seps/2322-MRTR.md): 在客户端发起的请求上下文中处理服务器发起的请求,无需跨实例的共享存储层或有状态负载均衡,从而大幅降低大规模运营 MCP 服务器的成本,并减少对 SSE 流的依赖。 - [SEP-2468:在 MCP 认证响应中推荐 Issuer(iss)参数](https://mcp-zh.com/seps/2468-recommend-issuer-claim-for-auth.md) - [SEP-2484:要求 Standards Track SEP 提供合规测试方可达到 Final 状态](https://mcp-zh.com/seps/2484-conformance-tests-required-for-final-seps.md) - [SEP-2549:列表结果的 TTL](https://mcp-zh.com/seps/2549-TTL-for-list-results.md) - [SEP-2567:通过显式状态句柄实现无会话 MCP](https://mcp-zh.com/seps/2567-sessionless-mcp.md) - [SEP-2575:使 MCP 无状态](https://mcp-zh.com/seps/2575-stateless-mcp.md) - [SEP-2577:弃用根、采样和日志](https://mcp-zh.com/seps/2577-deprecate-roots-sampling-and-logging.md) - [SEP-2596:规范特性生命周期与弃用政策](https://mcp-zh.com/seps/2596-spec-feature-lifecycle-and-deprecation.md) - [SEP-2663:任务扩展(Tasks Extension)](https://mcp-zh.com/seps/2663-tasks-extension.md): 定义一个扩展,让服务器能以异步的任务句柄(task handle)而非最终结果来响应 tools/call 请求,客户端通过轮询取回最终结果。