feat: add mcp-servers/**

This commit is contained in:
Sun-ZhenXing
2025-10-23 09:21:44 +08:00
parent f603ed5db9
commit 5c3fc0f844
94 changed files with 2211 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# MCP Filesystem Server Configuration
# ===================================
# MCP Service
MCP_FILESYSTEM_VERSION=latest
MCP_FILESYSTEM_PORT_OVERRIDE=8000
# Data directory
DATA_DIR=./data
# Timezone
TZ=UTC

View File

@@ -0,0 +1,25 @@
# Filesystem MCP Server
Filesystem MCP Server provides local filesystem access with configurable allowed paths through the Model Context Protocol.
## Features
- 📁 **File Access** - Read and write files
- 📂 **Directory Management** - Create and manage directories
- 🔍 **File Search** - Search for files
- 📄 **File Operations** - Various file operations
## Environment Variables
| Variable | Default | Description |
| ------------------------------ | -------- | ---------------------------- |
| `MCP_FILESYSTEM_VERSION` | `latest` | MCP Filesystem image version |
| `MCP_FILESYSTEM_PORT_OVERRIDE` | `8000` | MCP service port |
| `DATA_DIR` | `./data` | Data directory path |
| `TZ` | `UTC` | Timezone |
## Quick Start
```bash
docker compose up -d
```

View File

@@ -0,0 +1,25 @@
# Filesystem MCP 服务器
Filesystem MCP 服务器通过 Model Context Protocol 提供具有可配置允许路径的本地文件系统访问。
## 功能特性
- 📁 **文件访问** - 读写文件
- 📂 **目录管理** - 创建和管理目录
- 🔍 **文件搜索** - 搜索文件
- 📄 **文件操作** - 各种文件操作
## 环境变量
| 变量 | 默认值 | 说明 |
| ------------------------------ | -------- | ----------------------- |
| `MCP_FILESYSTEM_VERSION` | `latest` | MCP Filesystem 镜像版本 |
| `MCP_FILESYSTEM_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
| `DATA_DIR` | `./data` | 数据目录路径 |
| `TZ` | `UTC` | 时区 |
## 快速开始
```bash
docker compose up -d
```

View File

@@ -0,0 +1,33 @@
x-default: &default
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
services:
mcp-filesystem:
<<: *default
image: mcp/filesystem:${MCP_FILESYSTEM_VERSION:-latest}
environment:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_FILESYSTEM_PORT_OVERRIDE:-8000}:8000"
volumes:
- ${DATA_DIR:-./data}:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
deploy:
resources:
limits:
cpus: '1.00'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M