Skip to content

Commit d743fca

Browse files
committed
set 3 items of level 1 translate 3 pages
1.set 3 top items on side bar:Get Started, Tutorials, Your First MCP Sever.Get Started include its subtitle items. 2.translate 3 pages :introduction, quick-start/client-developers, tutorials/building-mcp-with-llms.
1 parent 67f68c4 commit d743fca

File tree

12 files changed

+502
-1
lines changed

12 files changed

+502
-1
lines changed

app/docs/[[...slug]]/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
DocsTitle,
77
} from 'fumadocs-ui/page';
88
import { notFound } from 'next/navigation';
9+
import { ImageZoom } from 'fumadocs-ui/components/image-zoom';
910
import defaultMdxComponents from 'fumadocs-ui/mdx';
1011

1112
export default async function Page(props: {
@@ -22,7 +23,7 @@ export default async function Page(props: {
2223
<DocsTitle>{page.data.title}</DocsTitle>
2324
<DocsDescription>{page.data.description}</DocsDescription>
2425
<DocsBody>
25-
<MDX components={{ ...defaultMdxComponents }} />
26+
<MDX components={{ ...defaultMdxComponents , img: (props) => <ImageZoom {...(props as any)} />,}} />
2627
</DocsBody>
2728
</DocsPage>
2829
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: MCP客户端示例
3+
description: MCP客户端示例
4+
---
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: MCP服务器示例
3+
description: MCP服务器示例
4+
---
5+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: 介绍
3+
description: 开始使用模型上下文协议 (MCP)
4+
---
5+
6+
MCP 是一个开放协议,使LLM应用,就如何向大型语言模型 (LLM) 提供上下文,实现统一。可以将 MCP 想象成 AI 应用程序的 USB-C 接口。就像 USB-C 提供了一种标准化的方式来连接设备跟各种外设一样,MCP 提供了一种标准化的方式来连接 AI 模型与不同的数据源和工具。
7+
8+
## 为什么选择 MCP?
9+
10+
MCP 帮助你在 LLM 之上构建代理和复杂的工作流。LLM 经常需要与数据和工具集成,而 MCP 提供了:
11+
12+
- 已构建的集成应用在不断增加,你的LLM可以直接接入
13+
- 在 LLM 提供者及供应商之间灵活地切换
14+
- 在你的基础设施内实现数据安全的最佳实践
15+
16+
### 总体架构
17+
18+
MCP 的核心遵循客户端-服务器架构,其中主机可以连接到多个服务器:
19+
20+
- **MCP 主机**:像 Claude 桌面版、IDEs 或 AI 工具等,想要通过 MCP 访问数据的程序
21+
- **MCP 客户端**:协议的客户端,与服务器保持1:1的连接
22+
- **MCP 服务器**:轻量级程序,通过标准的模型上下文协议暴露特定功能
23+
- **本地数据源**:你的电脑上的文件、数据库和服务等MCP 服务器可以安全访问的资源
24+
- **远程服务**:MCP 服务器可通过互联网(如 API)连接的外部系统
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Claude 桌面用户
3+
description: 快速开始 - Claude 桌面用户
4+
---
5+

0 commit comments

Comments
 (0)