feat: add MCP: elevenlabs & firecrawl & youtube-transcript
This commit is contained in:
14
mcp-servers/elevenlabs/.env.example
Normal file
14
mcp-servers/elevenlabs/.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
# MCP ElevenLabs Configuration
|
||||
|
||||
# Image version
|
||||
MCP_ELEVENLABS_VERSION=latest
|
||||
|
||||
# Port override (default: 8000)
|
||||
MCP_ELEVENLABS_PORT_OVERRIDE=8000
|
||||
|
||||
# ElevenLabs API Key (required)
|
||||
# Get your API key from https://elevenlabs.io
|
||||
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
|
||||
|
||||
# Timezone
|
||||
TZ=UTC
|
||||
57
mcp-servers/elevenlabs/README.md
Normal file
57
mcp-servers/elevenlabs/README.md
Normal file
@@ -0,0 +1,57 @@
|
||||
# MCP ElevenLabs Server
|
||||
|
||||
Model Context Protocol (MCP) server for ElevenLabs text-to-speech API integration. Enables AI assistants to generate high-quality voice audio from text.
|
||||
|
||||
## Features
|
||||
|
||||
- **Text-to-Speech**: Convert text to natural-sounding speech
|
||||
- **Multiple Voices**: Access to various voice models
|
||||
- **Voice Cloning**: Create custom voice profiles
|
||||
- **Multi-language Support**: Support for multiple languages
|
||||
- **Audio Controls**: Adjust speed, pitch, and stability
|
||||
- **MCP Integration**: Standard MCP protocol for AI assistant integration
|
||||
|
||||
## Environment Variables
|
||||
|
||||
| Variable | Description | Default |
|
||||
| ------------------------------ | ----------------------------- | -------- |
|
||||
| `MCP_ELEVENLABS_VERSION` | Docker image version | `latest` |
|
||||
| `MCP_ELEVENLABS_PORT_OVERRIDE` | Host port override | `8000` |
|
||||
| `ELEVENLABS_API_KEY` | ElevenLabs API key (required) | - |
|
||||
| `TZ` | Timezone | `UTC` |
|
||||
|
||||
## Quick Start
|
||||
|
||||
1. Copy `.env.example` to `.env`:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
2. Edit `.env` and set your `ELEVENLABS_API_KEY` (get from <https://elevenlabs.io>)
|
||||
|
||||
3. Start the service:
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
4. Check service status:
|
||||
|
||||
```bash
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
5. View logs:
|
||||
|
||||
```bash
|
||||
docker compose logs -f
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Connect your AI assistant to the MCP server at `http://localhost:8000` to enable text-to-speech capabilities with ElevenLabs.
|
||||
|
||||
## License
|
||||
|
||||
Please check the official [MCP ElevenLabs](https://hub.docker.com/r/mcp/elevenlabs) documentation for license information.
|
||||
57
mcp-servers/elevenlabs/README.zh.md
Normal file
57
mcp-servers/elevenlabs/README.zh.md
Normal file
@@ -0,0 +1,57 @@
|
||||
# MCP ElevenLabs 服务器
|
||||
|
||||
Model Context Protocol(MCP)服务器,用于 ElevenLabs 文本转语音 API 集成。使 AI 助手能够从文本生成高质量的语音音频。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- **文本转语音**:将文本转换为自然流畅的语音
|
||||
- **多种声音**:访问各种语音模型
|
||||
- **语音克隆**:创建自定义语音配置文件
|
||||
- **多语言支持**:支持多种语言
|
||||
- **音频控制**:调整速度、音高和稳定性
|
||||
- **MCP 集成**:标准 MCP 协议,用于 AI 助手集成
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 描述 | 默认值 |
|
||||
| ------------------------------ | --------------------------- | -------- |
|
||||
| `MCP_ELEVENLABS_VERSION` | Docker 镜像版本 | `latest` |
|
||||
| `MCP_ELEVENLABS_PORT_OVERRIDE` | 主机端口覆盖 | `8000` |
|
||||
| `ELEVENLABS_API_KEY` | ElevenLabs API 密钥(必需) | - |
|
||||
| `TZ` | 时区 | `UTC` |
|
||||
|
||||
## 快速开始
|
||||
|
||||
1. 复制 `.env.example` 到 `.env`:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
2. 编辑 `.env` 并设置您的 `ELEVENLABS_API_KEY`(从 <https://elevenlabs.io> 获取)
|
||||
|
||||
3. 启动服务:
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
4. 检查服务状态:
|
||||
|
||||
```bash
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
5. 查看日志:
|
||||
|
||||
```bash
|
||||
docker compose logs -f
|
||||
```
|
||||
|
||||
## 使用说明
|
||||
|
||||
将您的 AI 助手连接到 MCP 服务器 `http://localhost:8000`,即可启用 ElevenLabs 的文本转语音功能。
|
||||
|
||||
## 许可证
|
||||
|
||||
请查看官方 [MCP ElevenLabs](https://hub.docker.com/r/mcp/elevenlabs) 文档以获取许可证信息。
|
||||
32
mcp-servers/elevenlabs/docker-compose.yaml
Normal file
32
mcp-servers/elevenlabs/docker-compose.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "100m"
|
||||
max-file: "3"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
|
||||
services:
|
||||
mcp-elevenlabs:
|
||||
<<: *default
|
||||
image: mcp/elevenlabs:${MCP_ELEVENLABS_VERSION:-latest}
|
||||
container_name: mcp-elevenlabs
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
- ELEVENLABS_API_KEY=${ELEVENLABS_API_KEY}
|
||||
ports:
|
||||
- "${MCP_ELEVENLABS_PORT_OVERRIDE:-8000}:8000"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
Reference in New Issue
Block a user