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

中文文档 | 영어

MCP 프로토콜 기반의 비디오 향상 서비스로, FastAPI HTTP 서버와 상호작용하는 MCP 클라이언트-서버 역할을 합니다.

기능

다음과 같은 MCP 도구가 제공됩니다:

  • create_task - 비디오 향상 작업 생성 (URL 또는 로컬 파일 업로드 지원)

  • get_task_status - 작업 상태 조회

  • enhance_video_sync - 비디오 동기식 향상 (완료 시까지 대기)

설치

npm을 통한 설치 (권장)

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

또는 yarn/pnpm 사용:

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

소스에서 설치

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

사용법

1. 명령줄

전역 설치 후 직접 사용:

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

또는 환경 변수 사용:

# 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. Claude Desktop 설정

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. npx 사용 (전역 설치 불필요)

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

Claude Desktop 설정:

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

제공되는 도구

create_task

비디오 향상 작업 생성 (비동기).

매개변수:

  • video_source (string, 필수): 비디오 URL 또는 로컬 파일 경로

  • type (string, 선택): 업로드 유형, 기본값은 "url"

    • 옵션: "url" - 네트워크 비디오 URL, "local" - 로컬 파일 경로

  • resolution (string, 선택): 대상 해상도, 기본값은 720p

    • 옵션: 480p, 540p, 720p, 1080p, 2k

예시:

// 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"
}

반환값:

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

get_task_status

작업 상태 조회.

매개변수:

  • task_id (string, 필수): 작업 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, 필수): 비디오 URL 또는 로컬 파일 경로

  • type (string, 선택): 업로드 유형, 기본값은 "url"

    • 옵션: "url" - 네트워크 비디오 URL, "local" - 로컬 파일 경로

  • resolution (string, 선택): 대상 해상도, 기본값은 720p

  • poll_interval (number, 선택): 폴링 간격(초), 기본값은 5

  • timeout (number, 선택): 타임아웃(초), 기본값은 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 서버는 다음을 수행합니다:

  1. 로컬 파일을 읽습니다.

  2. 파일을 base64로 인코딩합니다.

  3. 비디오 향상 서비스에 업로드합니다.

제한 사항:

  • 최대 파일 크기: 100MB

환경 변수

변수

설명

기본값

HTTP_API_BASE_URL

FastAPI HTTP 서버 주소

https://mcp.avc.ai

HTTP_API_KEY

API 인증 키

없음

개발

# 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

라이선스

MIT 라이선스 - 자세한 내용은 LICENSE 파일을 참조하세요.

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