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

# 文件系统集成

> 构建文件管理和搜索功能的 MCP 服务器

## 文件系统服务器

学习如何构建一个文件系统 MCP 服务器。

## 功能特性

* 文件读取和写入
* 目录浏览
* 文件搜索
* 权限控制

## 示例代码

```python theme={null}
@server.resource("file://{path}")
async def read_file(path: str):
    return await read_file_content(path)
```

<Note>
  详细内容正在完善中...
</Note>
