Skip to main content
Glama
avclabs

@avclabs.ai/enhance-mcp

Official
by avclabs

@avclabs.ai/enhance-mcp (Node.js)

npm version Node.js >=18 License: MIT

中文文档 | Englisch

Ein Videoverbesserungsdienst basierend auf dem MCP-Protokoll, der als MCP-Client-Server fungiert, um mit einem FastAPI-HTTP-Server zu interagieren.

Funktionen

Die folgenden MCP-Tools werden bereitgestellt:

  • create_task - Erstellt eine Videoverbesserungsaufgabe (unterstützt URL- oder lokale Datei-Uploads)

  • get_task_status - Fragt den Aufgabenstatus ab

  • enhance_video_sync - Verbessert ein Video synchron (blockierendes Warten)

Installation

Installation über npm (Empfohlen)

npm install -g @avclabs.ai/enhance-mcp

Oder verwenden Sie yarn/pnpm:

yarn global add @avclabs.ai/enhance-mcp
pnpm add -g @avclabs.ai/enhance-mcp

Installation aus dem Quellcode

git clone https://github.com/avclabs/enhance-mcp.git
cd js_client
npm install
npm run build

Verwendung

1. Befehlszeile

Direkt nach der globalen Installation verwenden:

avclabs-enhance-mcp --base-url https://mcp.avc.ai --api-key your-api-key

Oder verwenden Sie Umgebungsvariablen:

# Windows PowerShell
$env:HTTP_API_BASE_URL="https://mcp.avc.ai"
$env:HTTP_API_KEY="your-api-key"
avclabs-enhance-mcp

# Windows CMD
set HTTP_API_BASE_URL=https://mcp.avc.ai
set HTTP_API_KEY=your-api-key
avclabs-enhance-mcp

# macOS/Linux
export HTTP_API_BASE_URL=https://mcp.avc.ai
export HTTP_API_KEY=your-api-key
avclabs-enhance-mcp

2. 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": "avclabs-enhance-mcp",
      "args": [
        "--base-url",
        "https://mcp.avc.ai",
        "--api-key",
        "your-api-key"
      ]
    }
  }
}

3. Verwendung mit npx (Keine globale Installation erforderlich)

npx @avclabs.ai/enhance-mcp --base-url https://mcp.avc.ai --api-key your-api-key

Claude Desktop-Konfiguration:

{
  "mcpServers": {
    "video-enhancement": {
      "command": "npx",
      "args": [
        "@avclabs.ai/enhance-mcp",
        "--base-url",
        "https://mcp.avc.ai",
        "--api-key",
        "your-api-key"
      ]
    }
  }
}

Bereitgestellte Tools

create_task

Erstellt eine Videoverbesserungsaufgabe (asynchron).

Parameter:

  • video_source (string, erforderlich): Video-URL oder lokaler Dateipfad

  • type (string, optional): Upload-Typ, Standard ist "url"

    • Optionen: "url" - Netzwerk-Video-URL, "local" - Lokaler Dateipfad

  • resolution (string, optional): Zielauflösung, Standard ist 720p

    • Optionen: 480p, 540p, 720p, 1080p, 2k

Beispiel:

// URL mode
{
  "video_source": "https://example.com/video.mp4",
  "type": "url",
  "resolution": "1080p"
}

// Local file mode
{
  "video_source": "/path/to/local/video.mp4",
  "type": "local",
  "resolution": "1080p"
}

Rückgabe:

{
  "success": true,
  "task_id": "xxx",
  "status": "wait"
}

get_task_status

Fragt den Aufgabenstatus ab.

Parameter:

  • task_id (string, erforderlich): Aufgaben-ID

Beispiel:

{
  "task_id": "task-123-abc"
}

Rückgabe:

{
  "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

Verbessert ein Video synchron (blockierendes Warten bis zum Abschluss).

Parameter:

  • video_source (string, erforderlich): Video-URL oder lokaler Dateipfad

  • type (string, optional): Upload-Typ, Standard ist "url"

    • Optionen: "url" - Netzwerk-Video-URL, "local" - Lokaler Dateipfad

  • resolution (string, optional): Zielauflösung, Standard ist 720p

  • poll_interval (number, optional): Abfrageintervall in Sekunden, Standard ist 5

  • timeout (number, optional): Timeout in Sekunden, Standard ist 600

Beispiel:

{
  "video_source": "https://example.com/video.mp4",
  "type": "url",
  "resolution": "1080p",
  "poll_interval": 5,
  "timeout": 600
}

Rückgabe:

{
  "success": true,
  "task_id": "xxx",
  "status": "completed",
  "progress": 100,
  "video_url": "https://..."
}

Hinweise zum Datei-Upload

Wenn type auf "local" gesetzt ist, wird der MCP-Server:

  1. Die lokale Datei lesen

  2. Die Datei als base64 kodieren

  3. Sie auf den Videoverbesserungsdienst hochladen

Einschränkungen:

  • Maximale Dateigröße: 100 MB

Umgebungsvariablen

Variable

Beschreibung

Standard

HTTP_API_BASE_URL

FastAPI HTTP-Server-Adresse

https://mcp.avc.ai

HTTP_API_KEY

API-Authentifizierungsschlüssel

Keine

Entwicklung

# Clone the repository
git clone https://github.com/avclabs/enhance-mcp.git
cd js_client

# Install dependencies
npm install

# Development mode (auto-compile)
npm run dev

# Build
npm run build

Lizenz

MIT-Lizenz - Siehe LICENSE-Datei für Details.

Install Server
A
license - permissive license
A
quality
D
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.

  • MCP server for Kling AI video generation

  • MCP server for Wan AI video generation

View all MCP Connectors

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/avclabs/enhance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server