Logo Flyworks MCP

Flyworks MCP

Tổ chức
Flyworks-AI

Fast and free zeroshot lipsync MCP server

Nhà phát hànhFlyworks-AI
Kho mãflyworks-mcp
Ngôn ngữPython
Bản fork
17
Sao
94
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Flyworks MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    94 sao và 17 bản fork từ kho mã được liên kết.

Flyworks MCP: Free & Fast Zeroshot Lipsync Tool

Overview

The Flyworks MCP is a Model Context Protocol (MCP) server that provides a convenient interface for interacting with the Flyworks API. It facilitates fast and free lipsync video creation for a wide range of digital avatars, including realistic and cartoon styles.

Demo

Input avatar video (footage):

Audio clip with TTS saying 我是一个飞影数字人。Welcome to Flyworks MCP server demo. This tool enables fast and free lipsync video creation for a wide range of digital avatars, including realistic and cartoon styles.:

Generated lipsync video:

Features

  • Create lipsynced videos using digital avatar video and audio as inputs
  • Create lipsynced videos by text (with text-to-speech)
  • Create digital human avatars from images or videos
  • Support for both async and sync modes of operation
  • More features coming soon...

Requirements

  • Python 3.8+
  • Dependencies: httpx, mcp[cli]

Usage

Integration with Claude or Other MCP Clients

Using in Claude Desktop

Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:

json
{
  "mcpServers": {
    "flyworks": {
      "command": "uvx",
      "args": [
        "flyworks-mcp",
        "-y"
      ],
      "env": {
        "FLYWORKS_API_TOKEN": "your_api_token_here",
        "FLYWORKS_API_BASE_URL": "https://hfw-api.hifly.cc/api/v2/hifly",
        "FLYWORKS_MCP_BASE_PATH": "/path/to/your/output/directory"
      }
    }
  }
}
Using in Cursor

Go to Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server to add above config.

Make sure to replace your_api_token_here with your actual API token, and update the FLYWORKS_MCP_BASE_PATH to a valid directory on your system where output files will be saved.

Note: We offer free trial access to our tool with the token 2aeda3bcefac46a3. However, please be aware that the daily quota for this free access is limited. Additionally, the generated videos will be watermarked and restricted to a duration of 45 seconds. For full access, please contact us at bd@flyworks.ai to acquire your token.

Installing via Smithery

To install flyworks-mcp for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @Flyworks-AI/flyworks-mcp --client claude

Install locally

  1. Clone this repository:

    bash
    git clone https://github.com/yourusername/flyworks-mcp.git
    cd flyworks-mcp
  2. Install dependencies:

    bash
    pip install httpx "mcp[cli]>=1.6.0"

    Or using uv:

    bash
    uv pip install httpx "mcp[cli]>=1.6.0"

    To avoid timeout issues during server startup, we recommend pre-installing all dependencies:

    bash
    pip install pygments pydantic-core httpx "mcp[cli]>=1.6.0"
  3. Configuration

Set your Flyworks API token as an environment variable:

bash
# Linux/macOS
export FLYWORKS_API_TOKEN="your_token_here"

# Windows (Command Prompt)
set FLYWORKS_API_TOKEN=your_token_here

# Windows (PowerShell)
$env:FLYWORKS_API_TOKEN="your_token_here"

Alternatively, you can create a .env file.

  1. Running the Server

Run the server.py file directly:

bash
python server.py
spawn uvx ENOENT issue:

Please confirm its absolute path by running this command in your terminal:

sh
which uvx

Once you obtain the absolute path (e.g., /usr/local/bin/uvx), update your configuration to use that path (e.g., "command": "/usr/local/bin/uvx").

Tool Description

1. Create Lipsync Video by Audio (create_lipsync_video_by_audio)

Create a lipsync video with audio input. Animates a digital human avatar to speak in sync with the provided audio.

Parameters:

  • avatar: Digital human avatar ID. Either this or avatar creation parameters must be provided.
  • avatar_video_url: URL of a video to create the avatar from.
  • avatar_image_url: URL of an image to create the avatar from.
  • avatar_video_file: Local path to a video file to create the avatar from.
  • avatar_image_file: Local path to an image file to create the avatar from.
  • audio_url: Remote URL of the audio file. One of audio_url or audio_file must be provided.
  • audio_file: Local path to the audio file. One of audio_url or audio_file must be provided.
  • title: Optional title for the created video.
  • async_mode: If true, returns task_id immediately. If false, waits for completion and downloads the video. Default is true.
  • output_path: Where to save the downloaded video if async_mode is false. Default is "output.mp4".

Notes:

  • For avatar creation, provide exactly ONE of avatar_video_url, avatar_image_url, avatar_video_file, or avatar_image_file.
  • If avatar ID is directly provided, these parameters will be ignored.

Returns:

  • If async_mode is true: task_id for checking status later and created_avatar (if a new avatar was created)
  • If async_mode is false: downloaded video path, task result, and created_avatar (if applicable)

2. Create Lipsync Video by Text (create_lipsync_video_by_text)

Create a lipsync video with text input. Generates audio from the text and animates a digital human avatar to speak it.

Parameters:

  • avatar: Digital human avatar ID. Either this or avatar creation parameters must be provided.
  • avatar_video_url: URL of a video to create the avatar from.
  • avatar_image_url: URL of an image to create the avatar from.
  • avatar_video_file: Local path to a video file to create the avatar from.
  • avatar_image_file: Local path to an image file to create the avatar from.
  • text: Text content to be spoken by the avatar. Required.
  • voice: Voice ID to use for text-to-speech. If not provided, a random voice will be selected automatically.
  • title: Optional title for the created video.
  • async_mode: If true, returns task_id immediately. If false, waits for completion and downloads the video. Default is true.
  • output_path: Where to save the downloaded video if async_mode is false. Default is "output.mp4".

Notes:

  • For avatar creation, provide exactly ONE of avatar_video_url, avatar_image_url, avatar_video_file, or avatar_image_file.
  • If avatar ID is directly provided, these parameters will be ignored.

Returns:

  • If async_mode is true: task_id for checking status later, selected voice ID, and created_avatar (if applicable)
  • If async_mode is false: downloaded video path, task result, selected voice ID, and created_avatar (if applicable)

Checking Task Status

For tasks run in async mode, you can check their status using the Flyworks API's /creation/task endpoint with the task_id returned by the tool.

Notes

  • Job processing may take some time, please be patient
  • Video file URLs are temporary, please download and save them promptly
  • When using local files, the server will automatically upload them to Flyworks servers
  • In sync mode, the tool will wait for the task to complete and automatically download the video
  • Maximum allowed wait time for sync mode is 10 minutes (600 seconds)
  • Avatar creation through videos usually provides better quality but takes longer
  • For quick testing, avatar creation through images is faster but may have lower quality

Related Links

Cài đặt

TypingMind
{
  "mcpServers": {
    "flyworks-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@Flyworks-AI/flyworks-mcp",
        "-y"
      ],
      "env": {
        "FLYWORKS_API_TOKEN": "<FLYWORKS_API_TOKEN>"
      }
    }
  }
}

Dùng MCP Flyworks MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Flyworks MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Flyworks MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Flyworks MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "flyworks-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@Flyworks-AI/flyworks-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Flyworks MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Flyworks MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Flyworks MCP giúp tôi làm việc này không?
Flyworks MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Flyworks MCP.

Câu hỏi thường gặp

Máy chủ MCP Flyworks MCP dùng để làm gì?

Flyworks MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Flyworks MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Flyworks MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Flyworks MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Flyworks MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Flyworks MCP với TypingMind?

Flyworks MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Flyworks MCP cung cấp những công cụ nào trong TypingMind?

Flyworks MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Flyworks MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Flyworks MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇