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,13 @@
# MCP Wolfram Alpha Server Configuration
# ======================================
# MCP Service
MCP_WOLFRAM_ALPHA_VERSION=latest
MCP_WOLFRAM_ALPHA_PORT_OVERRIDE=8000
# Wolfram Alpha API Key (Required)
# Get your API key from: https://products.wolframalpha.com/api/
WOLFRAM_ALPHA_APPID=
# Timezone
TZ=UTC

View File

@@ -0,0 +1,25 @@
# Wolfram Alpha MCP Server
Wolfram Alpha MCP Server provides computational knowledge engine capabilities through the Model Context Protocol.
## Features
- 🔢 **Computational Queries** - Perform computational queries
- 📊 **Data Analysis** - Analyze complex data
- 🧮 **Mathematical Operations** - Mathematical computations
- 🌍 **Knowledge Base** - Access Wolfram Alpha knowledge base
## Environment Variables
| Variable | Default | Description |
| --------------------------------- | -------- | -------------------------------- |
| `MCP_WOLFRAM_ALPHA_VERSION` | `latest` | MCP Wolfram Alpha image version |
| `MCP_WOLFRAM_ALPHA_PORT_OVERRIDE` | `8000` | MCP service port |
| `WOLFRAM_ALPHA_APPID` | - | Wolfram Alpha API key (required) |
| `TZ` | `UTC` | Timezone |
## Getting Started
1. Get your API key from [Wolfram Alpha](https://products.wolframalpha.com/api/)
2. Set the `WOLFRAM_ALPHA_APPID` in your `.env` file
3. Run `docker compose up -d`

View File

@@ -0,0 +1,25 @@
# Wolfram Alpha MCP 服务器
Wolfram Alpha MCP 服务器通过 Model Context Protocol 提供计算知识引擎功能。
## 功能特性
- 🔢 **计算查询** - 执行计算查询
- 📊 **数据分析** - 分析复杂数据
- 🧮 **数学操作** - 数学计算
- 🌍 **知识库** - 访问 Wolfram Alpha 知识库
## 环境变量
| 变量 | 默认值 | 说明 |
| --------------------------------- | -------- | ------------------------------ |
| `MCP_WOLFRAM_ALPHA_VERSION` | `latest` | MCP Wolfram Alpha 镜像版本 |
| `MCP_WOLFRAM_ALPHA_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
| `WOLFRAM_ALPHA_APPID` | - | Wolfram Alpha API 密钥(必需) |
| `TZ` | `UTC` | 时区 |
## 快速开始
1. 从 [Wolfram Alpha](https://products.wolframalpha.com/api/) 获取 API 密钥
2.`.env` 文件中设置 `WOLFRAM_ALPHA_APPID`
3. 运行 `docker compose up -d`

View File

@@ -0,0 +1,32 @@
x-default: &default
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
services:
mcp-wolfram-alpha:
<<: *default
image: mcp/wolfram-alpha:${MCP_WOLFRAM_ALPHA_VERSION:-latest}
environment:
- WOLFRAM_ALPHA_APPID=${WOLFRAM_ALPHA_APPID}
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_WOLFRAM_ALPHA_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