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 ArXiv Server Configuration
# =============================
# MCP Service
MCP_ARXIV_VERSION=latest
MCP_ARXIV_PORT_OVERRIDE=8000
# ArXiv Storage
ARXIV_STORAGE_PATH=/data/papers
# Timezone
TZ=UTC

View File

@@ -0,0 +1,26 @@
# ArXiv MCP Server
ArXiv MCP Server provides a comprehensive bridge between AI assistants and arXiv's research repository through the Model Context Protocol.
## Features
- 🔍 **Paper Search** - Search arXiv papers with advanced filtering
- 📥 **Paper Download** - Download and convert papers to markdown
- 📖 **Paper Reading** - Read and analyze paper content
- 🔬 **Research Analysis** - Deep research analysis capabilities
- 💾 **Local Storage** - Local paper management and storage
## Environment Variables
| Variable | Default | Description |
| ------------------------- | -------------- | ----------------------- |
| `MCP_ARXIV_VERSION` | `latest` | MCP ArXiv image version |
| `MCP_ARXIV_PORT_OVERRIDE` | `8000` | MCP service port |
| `ARXIV_STORAGE_PATH` | `/data/papers` | Papers storage path |
| `TZ` | `UTC` | Timezone |
## Quick Start
```bash
docker compose up -d
```

View File

@@ -0,0 +1,26 @@
# ArXiv MCP 服务器
ArXiv MCP 服务器通过 Model Context Protocol 提供与 arXiv 研究库之间的全面桥接。
## 功能特性
- 🔍 **论文搜索** - 使用高级过滤搜索 arXiv 论文
- 📥 **论文下载** - 下载并将论文转换为 Markdown
- 📖 **论文阅读** - 读取和分析论文内容
- 🔬 **研究分析** - 深层研究分析功能
- 💾 **本地存储** - 本地论文管理和存储
## 环境变量
| 变量 | 默认值 | 说明 |
| ------------------------- | -------------- | ------------------ |
| `MCP_ARXIV_VERSION` | `latest` | MCP ArXiv 镜像版本 |
| `MCP_ARXIV_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
| `ARXIV_STORAGE_PATH` | `/data/papers` | 论文存储路径 |
| `TZ` | `UTC` | 时区 |
## 快速开始
```bash
docker compose up -d
```

View File

@@ -0,0 +1,38 @@
x-default: &default
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
services:
mcp-arxiv:
<<: *default
image: mcp/arxiv-mcp-server:${MCP_ARXIV_VERSION:-latest}
environment:
- ARXIV_STORAGE_PATH=${ARXIV_STORAGE_PATH:-/data/papers}
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_ARXIV_PORT_OVERRIDE:-8000}:8000"
volumes:
- arxiv_data:/data/papers
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
volumes:
arxiv_data:
driver: local