Basic information
About ifly-spark-agent-mcp Server
This is a simple example of using MCP Server to invoke the task chain of the iFlytek SparkAgent Platform.
ifly-spark-agent-mcp is a MCP server in the AI & Agents category listed in the AddMCP.net directory, published by iflytek. Supported transport: stdio. Runtime: python. License: MIT license. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: iflytek, mcp-server, sparkagent.
Setup
{
"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": "<YOUR SERVER HOST>",
"IFLY_SPARK_AGENT_APP_ID": "<YOUR APP ID>",
"IFLY_SPARK_AGENT_APP_SECRET": "<YOUR APP SECRET>"
}
}
}
}
{
"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": "<YOUR SERVER HOST>",
"IFLY_SPARK_AGENT_APP_ID": "<YOUR APP ID>",
"IFLY_SPARK_AGENT_APP_SECRET": "<YOUR APP SECRET>"
}
}
}
}
{
"servers": {
"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": "<YOUR SERVER HOST>",
"IFLY_SPARK_AGENT_APP_ID": "<YOUR APP ID>",
"IFLY_SPARK_AGENT_APP_SECRET": "<YOUR APP SECRET>"
}
}
}
}
ifly-spark-agent-mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"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": "<YOUR SERVER HOST>",
"IFLY_SPARK_AGENT_APP_ID": "<YOUR APP ID>",
"IFLY_SPARK_AGENT_APP_SECRET": "<YOUR APP SECRET>"
}
}
}
}
ifly-spark-agent-mcp tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ifly-spark-agent-mcp?
ifly-spark-agent-mcp is a simple MCP server that invokes task chains on the iFlytek SparkAgent Platform. It exposes a single tool, upload_file, and is intended for developers using MCP clients (like Claude) to interact with SparkAgent workflows.
How to use ifly-spark-agent-mcp?
Start the server locally with uv run ifly-spark-agent-mcp (stdio transport) or pass --transport sse --port 8000 for SSE transport. For persistent use with Claude, add a configuration to claude_desktop_config.json using uv or uvx, setting the required environment variables: IFLY_SPARK_AGENT_BASE_URL, IFLY_SPARK_AGENT_APP_ID, and IFLY_SPARK_AGENT_APP_SECRET.
Key features of ifly-spark-agent-mcp
- Exposes a single
upload_filetool with a requiredfileargument. - Supports both stdio and SSE transports.
- Runs locally with
uvor globally withuvxfrom GitHub. - Designed as a minimal example for MCP + SparkAgent integration.
- Easy to configure in MCP-compatible clients like Claude.
Use cases of ifly-spark-agent-mcp
- Upload a local file to a SparkAgent task chain from an MCP client.
- Prototype MCP integrations with iFlytek’s SparkAgent Platform.
- Provide a reusable recipe for building custom SparkAgent MCP servers.
Frequently asked questions
1 What does the `upload_file` tool do?
It accepts a file path and sends that file to the SparkAgent platform task chain. The exact behavior depends on the platform’s workflow.
2 How do I configure the environment variables?
Set IFLY_SPARK_AGENT_BASE_URL, IFLY_SPARK_AGENT_APP_ID, and IFLY_SPARK_AGENT_APP_SECRET in the MCP client’s configuration (e.g., env block in claude_desktop_config.json).
3 What transport options are available?
The server supports stdio (default) and SSE. For SSE, run with --transport sse --port 8000.
4 Where can I get the server code?
The code is hosted on GitHub. You can run it directly with uvx --from git+https://github.com/iflytek/ifly-spark-agent-mcp ifly-spark-agent-mcp.
5 Is this server production-ready?
No – the README presents it as a simple example to demonstrate invoking SparkAgent task chains via MCP. It is not a full-featured production server.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In