The iFlytek Workflow MCP Server is a powerful implementation of the Model Context Protocol (MCP) designed to integrate seamlessly with iFlytek workflows. It enables intelligent workflow scheduling, making it ideal for various business scenarios.
The Model Context Protocol (MCP) is an open protocol that facilitates effortless integration between Large Language Model (LLM) applications and external data sources or tools. This project provides a simple yet robust implementation of an MCP server using iFlytek, allowing users to call iFlytek workflows through MCP tools.
config.yaml
Before using the MCP server, prepare a config.yaml
file with your workflow information. Example:
- flow_id: 'flow id'
name: 'flow name'
description: 'flow description'
api_key: 'key:secret'
params:
- name: 'input key name'
type: 'string'
description: 'input key description'
required: true
Add the following to your claude_desktop_config.json
or mcp.json
file:
{
"mcpServers": {
"xingchen-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"xingchen_mcp_server"
],
"env": {
"CONFIG_PATH": "$CONFIG_PATH"
}
}
}
}
Example configuration:
{
"mcpServers": {
"xingchen-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"xingchen_mcp_server"
],
"env": {
"CONFIG_PATH": "/Users/hygao1024/Projects/config.yaml"
}
}
}
}
This project is licensed under the MIT License. See the LICENSE file for details.