feat: add mcp-servers/**
This commit is contained in:
9
mcp-servers/fetch/.env.example
Normal file
9
mcp-servers/fetch/.env.example
Normal file
@@ -0,0 +1,9 @@
|
||||
# MCP Fetch Server Configuration
|
||||
# ============================
|
||||
|
||||
# MCP Service
|
||||
MCP_FETCH_VERSION=latest
|
||||
MCP_FETCH_PORT_OVERRIDE=8000
|
||||
|
||||
# Timezone
|
||||
TZ=UTC
|
||||
24
mcp-servers/fetch/README.md
Normal file
24
mcp-servers/fetch/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Fetch MCP Server
|
||||
|
||||
Fetch MCP Server provides URL fetching and content extraction capabilities through the Model Context Protocol.
|
||||
|
||||
## Features
|
||||
|
||||
- 🔗 **URL Fetching** - Fetch content from URLs
|
||||
- 📝 **Markdown Extraction** - Extract markdown from web pages
|
||||
- 📄 **HTML Processing** - Process HTML content
|
||||
- 🌐 **Internet Access** - Access internet resources
|
||||
|
||||
## Environment Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ------------------------- | -------- | ----------------------- |
|
||||
| `MCP_FETCH_VERSION` | `latest` | MCP Fetch image version |
|
||||
| `MCP_FETCH_PORT_OVERRIDE` | `8000` | MCP service port |
|
||||
| `TZ` | `UTC` | Timezone |
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
24
mcp-servers/fetch/README.zh.md
Normal file
24
mcp-servers/fetch/README.zh.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Fetch MCP 服务器
|
||||
|
||||
Fetch MCP 服务器通过 Model Context Protocol 提供 URL 获取和内容提取功能。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- 🔗 **URL 获取** - 从 URL 获取内容
|
||||
- 📝 **Markdown 提取** - 从网页提取 Markdown
|
||||
- 📄 **HTML 处理** - 处理 HTML 内容
|
||||
- 🌐 **互联网访问** - 访问互联网资源
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 默认值 | 说明 |
|
||||
| ------------------------- | -------- | ------------------ |
|
||||
| `MCP_FETCH_VERSION` | `latest` | MCP Fetch 镜像版本 |
|
||||
| `MCP_FETCH_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
|
||||
| `TZ` | `UTC` | 时区 |
|
||||
|
||||
## 快速开始
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
31
mcp-servers/fetch/docker-compose.yaml
Normal file
31
mcp-servers/fetch/docker-compose.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
mcp-fetch:
|
||||
<<: *default
|
||||
image: mcp/fetch:${MCP_FETCH_VERSION:-latest}
|
||||
environment:
|
||||
- MCP_HOST=0.0.0.0
|
||||
- TZ=${TZ:-UTC}
|
||||
ports:
|
||||
- "${MCP_FETCH_PORT_OVERRIDE:-8000}:8000"
|
||||
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
|
||||
Reference in New Issue
Block a user