mcpField
I
iFlytek Workflow MCP Server

iFlytek Workflow MCP Server

Local
github.com/iflytekAI & Agents28Updated 83w ago

About iFlytek Workflow MCP Server

iFlytek Workflow MCP Server is a simple MCP server that lets MCP clients call iFlytek workflows as tools. It is aimed at developers who already build workflows on the iFlytek platform.

Key features

  1. 01Calls iFlytek workflows through MCP tools
  2. 02Workflow configuration via config.yaml
  3. 03Supports 14 workflow node types
  4. 04Sequential, parallel, loop and nested execution
  5. 05Streaming output through a Hook mechanism

Use cases

  1. 01Triggering published iFlytek workflows from an LLM application
  2. 02Embedding reusable sub-workflows inside a main workflow

MCP support

This is an MCP server that wraps iFlytek workflows as MCP tools for MCP clients to call.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"ifly-workflow": {
"command": "uvx",
"args": [
"git+https://github.com/iflytek/ifly-workflow-mcp-server"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>"
}
}
}
}
Run commanduvx 'git+https://github.com/iflytek/ifly-workflow-mcp-server'
Environment variables to set
CONFIG_PATH

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypigit+https://github.com/iflytek/ifly-workflow-mcp-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

README image

The fastest way to build workflows with an AI agent platform!

License | Docs | Homepage

iFlytek Workflow MCP Server

The Model Context Protocol (MCP) is an open protocol designed for effortless integration between LLM applications and external data sources or tools, offering a standardized framework to seamlessly provide LLMs with the context they require.

This a simple implementation of an MCP server using iFlytek. It enables calling iFlytek workflows through MCP tools.

Features

Functional Overview

This system is built on the iFlytek MCP server and enables intelligent workflow scheduling, making it suitable for various business scenarios.

  • Workflow Structure: Composed of multiple nodes, supporting 14 types of nodes (including basic, tool, logic, and transformation types).
  • Core Components: By default, the workflow includes a Start Node (user input) and an End Node (output result).
  • Execution Mode: Once triggered, the workflow executes automatically according to predefined sequences and rules, requiring no manual intervention.
Core Capabilities
Robust Node Support
  • 14 types of workflow nodes to meet diverse business requirements.
  • Supports complex variable I/O, enabling flexible data transmission.
Advanced Orchestration Modes
  • Sequential Execution: Tasks execute one after another in order.
  • Parallel Execution: Multiple tasks run simultaneously to enhance efficiency.
  • Loop Execution: Supports iterative loops for handling repetitive tasks.
  • Nested Execution: Allows embedding sub-workflows within workflows, improving reusability.
  • Utilizes the Hook Mechanism to enable streaming output, ensuring real-time processing.
Multiple Development Paradigms
  • Single-turn, single-branch: Linear execution of simple tasks.
  • Single-turn, multi-branch: Supports branching logic to handle complex processes.
  • Single-turn loop: Manages looped tasks to enhance automation.
  • Multi-turn interaction: Supports context memory for dynamic conversations.
Capability Expansion
  • Multi-Model Support: Based on the Model of Models (MoM) hybrid application architecture, providing multiple model choices at critical workflow stages. This allows for flexible model combinations, improving task adaptability.

Usage with MCP client

Prepare config.yaml

Before using the mcp server, you should prepare a config.yaml to save your workflow info. The example config like this:

- flow_id: 'flow id'              # required
  name: 'flow name'               # optional, if not set, obtain the name from the cloud.
  description: 'flow description' # optional, if not set, obtain the description from the cloud.
  api_key: 'API Key:API Secret'   # required
Get workflow authentication information
  1. Create a bot README image

  2. Publish a workflow

  • Step 1. Debug the workflow you just created.
  • Step 2. Engage in a conversation with your workflow and ensure the conversation is successful.
  • Step 3. You can now click the publish button. README image
  • Step 4. Select "Publish as API" and click the "Configure" button. README image
  • Step 5. Select the application you need to bind and bind it. Now you can retrieve the corresponding workflow ID and authentication information. Enjoy! README image

Note: If you find that you are unable to select an app, you can go to https://www.xfyun.cn to apply.

Manual Installation

To add a persistent client, add the following to your claude_desktop_config.json or mcp.json file:

{
    "mcpServers": {
        "ifly-workflow-mcp-server": {
            "command": "uvx",
            "args": [
                "--from",
                "git+https://github.com/iflytek/ifly-workflow-mcp-server",
                "ifly_workflow_mcp_server"
            ],
            "env": {
                "CONFIG_PATH": "$CONFIG_PATH"
            }
        }
    }
}

Example config:

{
    "mcpServers": {
        "ifly-workflow-mcp-server": {
            "command": "uvx",
            "args": [
                "--from",
                "git+https://github.com/iflytek/ifly-workflow-mcp-server",
                "ifly_workflow_mcp_server"
            ],
            "env": {
                "CONFIG_PATH": "/Users/hygao1024/Projects/config.yaml"
            }
        }
    }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.