Back to catalog
iFlytek SparkAgent Platform MCP Server
A simple MCP server that provides access to the iFlytek SparkAgent platform for invoking task chains through Model Context Protocol.
Get this MCP server
A simple MCP server that provides access to the iFlytek SparkAgent platform for invoking task chains through Model Context Protocol.
Installation
UV (stdio transport)
uv run ifly-spark-agent-mcp
UV (SSE transport)
uv run ifly-spark-agent-mcp --transport sse --port 8000
UVX from GitHub
uvx --from git+https://github.com/iflytek/ifly-spark-agent-mcp ifly-spark-agent-mcp
Configuration
Claude Desktop (UV locally)
{
"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"
}
}
}
}
Claude Desktop (UVX GitHub)
{
"mcpServers": {
"ifly-spark-agent-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/iflytek/ifly-spark-agent-mcp",
"ifly-spark-agent-mcp"
],
"env": {
"IFLY_SPARK_AGENT_BASE_URL": "xxxx",
"IFLY_SPARK_AGENT_APP_ID": "xxxx",
"IFLY_SPARK_AGENT_APP_SECRET": "xxxx"
}
}
}
}
Available Tools
| Tool | Description |
|---|---|
upload_file |
Accepts a file path to upload files to the iFlytek SparkAgent platform |
Features
- File upload functionality to the iFlytek SparkAgent platform
- Support for both stdio and SSE transport protocols
- Integration with iFlytek SparkAgent task chains
Environment Variables
Required
IFLY_SPARK_AGENT_BASE_URL- Base URL for the iFlytek SparkAgent API platformIFLY_SPARK_AGENT_APP_ID- Application ID for iFlytek SparkAgent authenticationIFLY_SPARK_AGENT_APP_SECRET- Application secret key for iFlytek SparkAgent authentication
Usage Examples
Upload a file to the iFlytek SparkAgent platform using the upload_file tool
Notes
This server provides a simple interface to the iFlytek SparkAgent platform. The server supports both stdio (by default) and SSE transport protocols. Authentication requires proper configuration of three environment variables for the SparkAgent API.
