Connect to a search MCP server

更新时间:
复制 MD 格式

Clients that support the MCP protocol, such as Cursor, Claude, and Cline, can easily use a search MCP server. This article describes two ways to get started: connecting to the IQS MCP server using streamableHTTP or server-sent events (SSE), or deploying it from source code.

1. MCP server APIs

Search mcp (search tool)

API

Description

Input

Output

common_search

The standard search interface provides enhanced, real-time open-web search. It uses large model optimization and multi-source data fusion to return clean, accurate, diverse, and high-quality results.

query: The search query (length: >=2 and <=500 characters)

Search results (Markdown format)

Lite search mcp (lite search tool)

API

Description

Input

Output

web_search

The web_search interface provides enhanced, real-time open-web search. It uses large model optimization and multi-source data fusion to return clean, accurate, diverse, and high-quality results.

query: The search query (length: >=2 and <=500 characters)

Search results (Markdown format)

Readpage mcp (webpage parsing tool)

API

Description

Input

Output

readpage_basic

The readpage_basic interface parses static webpages to retrieve content from a target URL.

Note:

- If readpage_basic retrieves minimal content, use readpage_scrape for more comprehensive results.

Example:

json

{

"name": "readpage_basic", "arguments": { "url": "" }

}

url: The complete URL of the webpage to parse (e.g., https://www.example.com).

Page content (Markdown format)

readpage_scrape

The readpage_scrape interface uses a headless browser to parse and retrieve the content of a target URL.

Example:

json

{

"name": "readpage_scrape","arguments": { "url": "" }

}

url: The complete URL of the webpage to parse (e.g., https://www.example.com).

Page content (Markdown format)

Medical search mcp (medical search tool)

API

Description

Input

Output

medical_answer_search

Summarizes knowledge search results using a large model to provide medical Q&A.

query: The medical question.

Search results (Markdown format)

medical_know_search

Performs health knowledge graph queries, supporting both attribute and cluster queries. Examples include "Which dental hospital in Hangzhou is the best?", "calories in an apple", and "Aspirin".

query: The search query (for example, Amoxicillin capsules)

type: The query type

finding: symptom

food: food

medicine: drug

Search results (Markdown format)

2. Connect to the IQS MCP server

Connect using streamableHTTP or SSE

  1. Obtain an API key from the official website.

  2. Configure the MCP server as follows:

    1. Search mcp (search tool)

      {
        "mcpServers": {
          "iqs-mcp-server-maps": {
            "type": "streamableHttp",
            "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-search",
            "headers": {
              "X-API-Key": "<X-API-Key>"
            }
          }
        }
      }
      {
        "mcpServers": {
          "iqs-mcp-server-maps": {
            "type": "sse",
            "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-search/sse",
            "headers": {
              "X-API-Key": "<X-API-Key>"
            }
          }
        }
      }
    2. Lite search mcp (lite search tool)

{
  "mcpServers": {
    "iqs-mcp-server-maps": {
      "type": "streamableHttp",
      "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-litesearch",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}
{
  "mcpServers": {
    "iqs-mcp-server-maps": {
      "type": "sse",
      "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-litesearch/sse",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}

Readpage mcp (webpage parsing tool)

{
  "mcpServers": {
    "iqs-mcp-server-maps": {
      "type": "streamableHttp",
      "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-readpage",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}
{
  "mcpServers": {
    "iqs-mcp-server-maps": {
      "type": "sse",
      "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-readpage/sse",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}

Medical mcp (medical tool)

{
  "mcpServers": {
    "iqs-mcp-server-maps": {
      "type": "streamableHttp",
      "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-medical",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}
{
  "mcpServers": {
    "iqs-mcp-server-medical": {
      "type": "sse",
      "url": "https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-medical/sse",
      "headers": {
        "X-API-Key": "<X-API-Key>"
      }
    }
  }
}

3. Client integration

OpenClaw

  1. Run the following command in the terminal to install MCPorter.

npm install -g mcporter

  1. Run the following command in the terminal to enable MCPorter.

openclaw config set skills.entries.mcporter.enabled true

  1. Run the following command in the~/.openclaw/workspace directory.

mcporter config add WebSearch https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-search --transport http --header "Authorization=Bearer YOUR_API_KEY"

  1. In the~/.openclaw/workspace directory, run the following command to verify the MCP installation.

mcporter list

  1. Run the following command in the terminal to apply the configuration.

openclaw gateway restart

  1. Send the promptsearch Alibaba Cloud with mcporter to view the search results.

image

Claude Code

  1. Run the following command to add the MCP.

claude mcp add WebSearch https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-search -t http -H "Authorization: Bearer YOUR_API_KEY"

  1. Verify the configuration.

image

Qwen Code

  1. Run the following command to add the MCP.

qodercli mcp add WebSearch https://iqs-mcp.aliyuncs.com/mcp-servers/iqs-mcp-server-search -t http -H "Authorization: Bearer YOUR_API_KEY"

  1. Verify the configuration.

image

image

Function Compute

Go to Cloud-native Application Platform (CAP) to deploy the iqs-mcp-server with one click.