> ## Documentation Index
> Fetch the complete documentation index at: https://mcp.zhcndoc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 示例服务器

> 示例服务器和实现列表

本页面展示了各种模型上下文协议 (MCP) 服务器，展示了该协议的功能和多功能性。这些服务器使大型语言模型 (LLM) 能够安全地访问工具和数据源。

## 参考实现

这些官方参考服务器展示了核心 MCP 功能和 SDK 用法：

### 当前参考服务器

* **[Everything](https://github.com/modelcontextprotocol/servers/tree/main/src/everything)** - 带有提示、资源和工具的参考/测试服务器
* **[Fetch](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch)** - 用于高效 LLM 使用的 Web 内容获取和转换
* **[Filesystem](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem)** - 具有可配置访问控制的安全文件操作
* **[Git](https://github.com/modelcontextprotocol/servers/tree/main/src/git)** - 用于读取、搜索和操作 Git 仓库的工具
* **[Memory](https://github.com/modelcontextprotocol/servers/tree/main/src/memory)** - 基于知识图谱的持久记忆系统
* **[Sequential Thinking](https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking)** - 通过思维序列进行动态和反思性问题解决
* **[Time](https://github.com/modelcontextprotocol/servers/tree/main/src/time)** - 时间和时区转换功能

### 其他示例服务器（已归档）

访问 [servers-archived 仓库](https://github.com/modelcontextprotocol/servers-archived) 以获取不再积极维护的已归档示例服务器。

它们仅提供用于历史参考。

## 官方集成

访问 [MCP 服务器仓库（官方集成部分）](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#%EF%B8%8F-official-integrations) 查看由公司为其平台维护的 MCP 服务器列表。

## 社区实现

访问 [MCP 服务器仓库（社区部分）](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#-community-servers) 查看由社区成员维护的 MCP 服务器列表。

## 快速开始

### 使用参考服务器

基于 TypeScript 的服务器可以直接使用 `npx` 运行：

```bash theme={null}
npx -y @modelcontextprotocol/server-memory
```

基于 Python 的服务器可以使用 `uvx`（推荐）或 `pip` 运行：

```bash theme={null}
# 使用 uvx
uvx mcp-server-git

# 使用 pip
pip install mcp-server-git
python -m mcp_server_git
```

### 与 Claude 配置

要在 Claude 中使用 MCP 服务器，请将其添加到您的配置中：

```json theme={null}
{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"]
    },
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/files"
      ]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}
```

## 其他资源

访问 [MCP 服务器仓库（资源部分）](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#-resources) 查看与 MCP 相关的其他资源和项目集合。

访问我们的 [GitHub 讨论区](https://github.com/orgs/modelcontextprotocol/discussions) 与 MCP 社区互动。
