Video Enhancement MCP Server
avc-test-js-mcp (Node.js)
MCP プロトコルに基づくビデオ強化サービスであり、MCP Client-Server として FastAPI HTTP サーバーと対話します。
機能
以下の MCP Tools を提供します:
create_task- ビデオ強化タスクを作成(URL またはローカルファイルのアップロードをサポート)get_task_status- タスクの状態を照会enhance_video_sync- ビデオを同期的に強化(完了までブロック)
インストール
npm からインストール(推奨)
npm install -g avc-test-js-mcpまたは yarn/pnpm を使用:
yarn global add avc-test-js-mcp
pnpm add -g avc-test-js-mcpソースからインストール
git clone https://github.com/yourusername/avc-test-js-mcp.git
cd js_client
npm install
npm run build使用方法
1. コマンドラインから起動
グローバルインストール後に直接使用:
avc-test-js-mcp --base-url https://mcp.luluhero.com --api-key your-api-keyまたは環境変数を使用:
# 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. Claude Desktop での設定
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. npx を使用(グローバルインストール不要)
npx avc-test-js-mcp --base-url https://mcp.luluhero.com --api-key your-api-keyClaude Desktop の設定:
{
"mcpServers": {
"video-enhancement": {
"command": "npx",
"args": [
"avc-test-js-mcp",
"--base-url",
"https://mcp.luluhero.com",
"--api-key",
"your-api-key"
]
}
}
}提供される Tools
create_task
ビデオ強化タスクを作成(非同期)。
引数:
video_source(string, required): ビデオ URL またはローカルファイルのパスtype(string, optional): アップロードタイプ、デフォルトは "url"指定可能な値:
"url"- Web ビデオ URL,"local"- ローカルファイルのパス
resolution(string, optional): 目標解像度、デフォルトは 720p指定可能な値: 480p, 540p, 720p, 1080p, 2k
使用例:
// URL 方式
{
"video_source": "https://example.com/video.mp4",
"type": "url",
"resolution": "1080p"
}
// 本地文件方式
{
"video_source": "/path/to/local/video.mp4",
"type": "local",
"resolution": "1080p"
}戻り値:
{
"success": true,
"task_id": "xxx",
"status": "wait"
}get_task_status
タスクの状態を照会。
引数:
task_id(string, required): タスク ID
使用例:
{
"task_id": "task-123-abc"
}戻り値:
{
"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
ビデオを同期的に強化(完了までブロック)。
引数:
video_source(string, required): ビデオ URL またはローカルファイルのパスtype(string, optional): アップロードタイプ、デフォルトは "url"指定可能な値:
"url"- Web ビデオ URL,"local"- ローカルファイルのパス
resolution(string, optional): 目標解像度、デフォルトは 720ppoll_interval(number, optional): ポーリング間隔(秒)、デフォルトは 5timeout(number, optional): タイムアウト時間(秒)、デフォルトは 600
使用例:
{
"video_source": "https://example.com/video.mp4",
"type": "url",
"resolution": "1080p",
"poll_interval": 5,
"timeout": 600
}戻り値:
{
"success": true,
"task_id": "xxx",
"status": "completed",
"progress": 100,
"video_url": "https://..."
}ファイルアップロードに関する説明
type が "local" に設定されている場合、MCP サーバーは以下の処理を行います:
ローカルファイルを読み込む
ファイルを base64 エンコードに変換する
ビデオ強化サービスへアップロードする
制限事項:
最大ファイルサイズ:100MB
環境変数
変数名 | 説明 | デフォルト値 |
| FastAPI HTTP サーバーのアドレス |
|
| API 認証キー | なし |
開発
# 克隆仓库
git clone https://github.com/yourusername/avc-test-js-mcp.git
cd js_client
# 安装依赖
npm install
# 开发模式(自动编译)
npm run dev
# 构建
npm run buildLicense
MIT License - 詳細は LICENSE ファイルを参照してください
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