ifly-spark-agent-mcp

by iflytek

188 downloads
Not rated
GitHub

About

This is a simple example of using MCP Server to invoke the task chain of the iFlytek SparkAgent Platform.

Details

Author
iflytek
Downloads
188
Categories
AI

- Exposes a single upload_file tool with a required file argument.
- Supports both stdio and SSE transports.
- Runs locally with uv or globally with uvx from GitHub.
- Designed as a minimal example for MCP + SparkAgent integration.
- Easy to configure in MCP-compatible clients like Claude.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name ifly-spark-agent-mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "ifly-spark-agent-mcp": {
            "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>"
        }
    }
}

ifly-spark-agent-mcp

This is a simple example of using MCP Server to invoke the task chain of the iFlytek SparkAgent Platform.

Usage

Local debugging

Start the server using either stdio (default) or SSE transport:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.