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

# 示例服务器

> 示例服务器与实现列表

本页面展示了多种 Model Context Protocol（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 使用而设计的网页内容抓取与转换
* **[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)，不再积极维护，仅供历史参考。

#### 数据与文件系统

* **[PostgreSQL](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/postgres)** - 只读数据库访问，支持模式检查
* **[SQLite](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/sqlite)** - 数据库交互与商业智能功能
* **[Google Drive](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/gdrive)** - Google Drive 的文件访问与搜索功能

#### 开发工具

* **[Git](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/git)** - 读取、搜索与操作 Git 仓库的工具
* **[GitHub](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/github)** - 仓库管理、文件操作与 GitHub API 集成
* **[GitLab](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/gitlab)** - GitLab API 集成，支持项目管理
* **[Sentry](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/sentry)** - 从 Sentry.io 获取与分析问题

#### 网页与浏览器自动化

* **[Brave Search](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/brave-search)** - 使用 Brave Search API 的网页与本地搜索
* **[Puppeteer](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/puppeteer)** - 浏览器自动化与网页抓取功能

#### 生产力与沟通

* **[Slack](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/slack)** - 频道管理与消息功能
* **[Google Maps](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/google-maps)** - 位置服务、路线与地点详情

#### AI 与专用工具

* **[EverArt](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/everart)** - 使用多种模型的 AI 图像生成
* **[AWS KB Retrieval](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/aws-kb-retrieval-server)** - 通过 Bedrock Agent Runtime 从 AWS 知识库检索

## 官方集成

访问 [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 社区互动。
