feat: add mcp-servers/**
This commit is contained in:
12
mcp-servers/sqlite/.env.example
Normal file
12
mcp-servers/sqlite/.env.example
Normal file
@@ -0,0 +1,12 @@
|
||||
# MCP SQLite Server Configuration
|
||||
# ==============================
|
||||
|
||||
# MCP Service
|
||||
MCP_SQLITE_VERSION=latest
|
||||
MCP_SQLITE_PORT_OVERRIDE=8000
|
||||
|
||||
# Data directory
|
||||
DATA_DIR=./data
|
||||
|
||||
# Timezone
|
||||
TZ=UTC
|
||||
25
mcp-servers/sqlite/README.md
Normal file
25
mcp-servers/sqlite/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# SQLite MCP Server
|
||||
|
||||
SQLite MCP Server provides database interaction and business intelligence capabilities through the Model Context Protocol.
|
||||
|
||||
## Features
|
||||
|
||||
- 💾 **Database Access** - Access SQLite databases
|
||||
- 🔍 **Query Execution** - Execute SQL queries
|
||||
- 📊 **Data Analysis** - Analyze data
|
||||
- 📈 **Business Intelligence** - BI capabilities
|
||||
|
||||
## Environment Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
| -------------------------- | -------- | ------------------------ |
|
||||
| `MCP_SQLITE_VERSION` | `latest` | MCP SQLite image version |
|
||||
| `MCP_SQLITE_PORT_OVERRIDE` | `8000` | MCP service port |
|
||||
| `DATA_DIR` | `./data` | Data directory path |
|
||||
| `TZ` | `UTC` | Timezone |
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
25
mcp-servers/sqlite/README.zh.md
Normal file
25
mcp-servers/sqlite/README.zh.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# SQLite MCP 服务器
|
||||
|
||||
SQLite MCP 服务器通过 Model Context Protocol 提供数据库交互和商业智能功能。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- 💾 **数据库访问** - 访问 SQLite 数据库
|
||||
- 🔍 **查询执行** - 执行 SQL 查询
|
||||
- 📊 **数据分析** - 分析数据
|
||||
- 📈 **商业智能** - BI 功能
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 默认值 | 说明 |
|
||||
| -------------------------- | -------- | ------------------- |
|
||||
| `MCP_SQLITE_VERSION` | `latest` | MCP SQLite 镜像版本 |
|
||||
| `MCP_SQLITE_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
|
||||
| `DATA_DIR` | `./data` | 数据目录路径 |
|
||||
| `TZ` | `UTC` | 时区 |
|
||||
|
||||
## 快速开始
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
33
mcp-servers/sqlite/docker-compose.yaml
Normal file
33
mcp-servers/sqlite/docker-compose.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
mcp-sqlite:
|
||||
<<: *default
|
||||
image: mcp/sqlite:${MCP_SQLITE_VERSION:-latest}
|
||||
environment:
|
||||
- MCP_HOST=0.0.0.0
|
||||
- TZ=${TZ:-UTC}
|
||||
ports:
|
||||
- "${MCP_SQLITE_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
|
||||
Reference in New Issue
Block a user