调用科大讯飞工作流,支持顺序、并行、循环与嵌套等执行方式的工作流调度。
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add hygao1024 --env CONFIG_PATH='<CONFIG_PATH>' -- uvx --from git+https://github.com/hygao1024/xingchen-mcp-server ifly_workflow_mcp_server~/.codex/config.toml
[mcp_servers.hygao1024]
command = "uvx"
args = ["--from", "git+https://github.com/hygao1024/xingchen-mcp-server", "ifly_workflow_mcp_server"]
env = { CONFIG_PATH = "<CONFIG_PATH>" }
# codex mcp add hygao1024 --env CONFIG_PATH='<CONFIG_PATH>' -- uvx --from git+https://github.com/hygao1024/xingchen-mcp-server ifly_workflow_mcp_server~/.cursor/mcp.json
{
"mcpServers": {
"hygao1024": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"ifly_workflow_mcp_server"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"hygao1024": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"ifly_workflow_mcp_server"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hygao1024": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"ifly_workflow_mcp_server"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hygao1024": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"ifly_workflow_mcp_server"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"hygao1024": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/hygao1024/xingchen-mcp-server",
"ifly_workflow_mcp_server"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>"
}
}
}
}需要的环境变量
CONFIG_PATH
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。