Flyworks MCP logo

Flyworks MCP

Organization
Flyworks-AI

Fast and free zeroshot lipsync MCP server

PublisherFlyworks-AI
Repositoryflyworks-mcp
LanguagePython
Forks
17
Stars
94
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Flyworks MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    94 stars and 17 forks from the linked repository.

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

Installation

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

Use Flyworks MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Flyworks MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Flyworks MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Flyworks MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "flyworks-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@Flyworks-AI/flyworks-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Flyworks MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Flyworks MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Flyworks MCP to help me with this task?
Flyworks MCP
Sure. I read it.
Here is what I found using Flyworks MCP.

Frequently asked questions

What is the Flyworks MCP MCP server used for?

Flyworks MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Flyworks MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Flyworks MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Flyworks MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Flyworks MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Flyworks MCP MCP to TypingMind?

Flyworks MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Flyworks MCP MCP provide in TypingMind?

Flyworks MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Flyworks MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Flyworks MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇