This is a simple example of using MCP Server to invoke the task chain of the iFlytek SparkAgent Platform.
mcpServer
{ "mcpServers": { "ifly-spark-agent-mcp": { "command": "uv", "args": [ "--directory", "/path/to/ifly-spark-agent-mcp", "run", "ifly-spark-agent-mcp" ], "env": { "IFLY_SPARK_AGENT_BASE_URL": "xxxx", "IFLY_SPARK_AGENT_APP_ID": "xxxx", "IFLY_SPARK_AGENT_APP_SECRET": "xxxx" } } } }
uv run ifly-spark-agent-mcp