Video Enhancement MCP Server
avc-test-js-mcp (Node.js)
Ein auf dem MCP-Protokoll basierender Videooptimierungsdienst, der als MCP Client-Server mit einem FastAPI HTTP-Server interagiert.
Funktionen
Bietet die folgenden MCP-Tools:
create_task- Erstellt eine Videooptimierungsaufgabe (unterstützt URL oder lokalen Datei-Upload)get_task_status- Fragt den Aufgabenstatus abenhance_video_sync- Synchrones Optimieren von Videos (blockierendes Warten)
Installation
Installation über npm (empfohlen)
npm install -g avc-test-js-mcpOder verwenden Sie yarn/pnpm:
yarn global add avc-test-js-mcp
pnpm add -g avc-test-js-mcpInstallation aus dem Quellcode
git clone https://github.com/yourusername/avc-test-js-mcp.git
cd js_client
npm install
npm run buildVerwendung
1. Start über die Befehlszeile
Nach der globalen Installation direkt verwenden:
avc-test-js-mcp --base-url https://mcp.luluhero.com --api-key your-api-keyOder verwenden Sie Umgebungsvariablen:
# Windows PowerShell
$env:HTTP_API_BASE_URL="https://mcp.luluhero.com"
$env:HTTP_API_KEY="your-api-key"
avc-test-js-mcp
# Windows CMD
set HTTP_API_BASE_URL=https://mcp.luluhero.com
set HTTP_API_KEY=your-api-key
avc-test-js-mcp
# macOS/Linux
export HTTP_API_BASE_URL=https://mcp.luluhero.com
export HTTP_API_KEY=your-api-key
avc-test-js-mcp2. Konfiguration in Claude Desktop
Bearbeiten Sie die Konfigurationsdatei von Claude Desktop:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"video-enhancement": {
"command": "avc-test-js-mcp",
"args": [
"--base-url",
"https://mcp.luluhero.com",
"--api-key",
"your-api-key"
]
}
}
}3. Verwendung von npx (keine globale Installation erforderlich)
npx avc-test-js-mcp --base-url https://mcp.luluhero.com --api-key your-api-keyKonfiguration für Claude Desktop:
{
"mcpServers": {
"video-enhancement": {
"command": "npx",
"args": [
"avc-test-js-mcp",
"--base-url",
"https://mcp.luluhero.com",
"--api-key",
"your-api-key"
]
}
}
}Verfügbare Tools
create_task
Erstellt eine Videooptimierungsaufgabe (asynchron).
Parameter:
video_source(string, required): Video-URL oder lokaler Dateipfadtype(string, optional): Upload-Typ, Standard "url"Mögliche Werte:
"url"- Web-Video-URL,"local"- lokaler Dateipfad
resolution(string, optional): Zielauflösung, Standard 720pMögliche Werte: 480p, 540p, 720p, 1080p, 2k
Anwendungsbeispiel:
// URL 方式
{
"video_source": "https://example.com/video.mp4",
"type": "url",
"resolution": "1080p"
}
// 本地文件方式
{
"video_source": "/path/to/local/video.mp4",
"type": "local",
"resolution": "1080p"
}Rückgabewert:
{
"success": true,
"task_id": "xxx",
"status": "wait"
}get_task_status
Fragt den Aufgabenstatus ab.
Parameter:
task_id(string, required): Aufgaben-ID
Anwendungsbeispiel:
{
"task_id": "task-123-abc"
}Rückgabewert:
{
"success": true,
"task_id": "xxx",
"status": "completed",
"progress": 100,
"video_url": "https://...",
"error_message": null,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:01:00Z"
}enhance_video_sync
Synchrones Optimieren von Videos (blockierendes Warten auf Abschluss).
Parameter:
video_source(string, required): Video-URL oder lokaler Dateipfadtype(string, optional): Upload-Typ, Standard "url"Mögliche Werte:
"url"- Web-Video-URL,"local"- lokaler Dateipfad
resolution(string, optional): Zielauflösung, Standard 720ppoll_interval(number, optional): Abfrageintervall (Sekunden), Standard 5timeout(number, optional): Timeout (Sekunden), Standard 600
Anwendungsbeispiel:
{
"video_source": "https://example.com/video.mp4",
"type": "url",
"resolution": "1080p",
"poll_interval": 5,
"timeout": 600
}Rückgabewert:
{
"success": true,
"task_id": "xxx",
"status": "completed",
"progress": 100,
"video_url": "https://..."
}Hinweise zum Datei-Upload
Wenn type auf "local" gesetzt ist, führt der MCP-Server folgende Schritte aus:
Liest die lokale Datei
Konvertiert die Datei in eine Base64-Kodierung
Lädt sie auf den Videooptimierungsdienst hoch
Einschränkungen:
Maximale Dateigröße: 100 MB
Umgebungsvariablen
Variablenname | Beschreibung | Standardwert |
| FastAPI HTTP-Server-Adresse |
|
| API-Authentifizierungsschlüssel | Keine |
Entwicklung
# 克隆仓库
git clone https://github.com/yourusername/avc-test-js-mcp.git
cd js_client
# 安装依赖
npm install
# 开发模式(自动编译)
npm run dev
# 构建
npm run buildLizenz
MIT-Lizenz - siehe LICENSE Datei für Details
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/z416479660/avc-test-js-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server