返回 MCP 目录
public公开dns本地运行

Higress AI 智能搜索服务

一个模型上下文协议(MCP)服务器,它提供了一个AI搜索工具,借助Higress ai - search功能,通过来自各种搜索引擎的实时搜索结果来增强AI模型的响应能力。

article

README

MseeP.ai Security Assessment Badge

Higress AI-Search MCP Server

Overview

A Model Context Protocol (MCP) server that provides an AI search tool to enhance AI model responses with real-time search results from various search engines through Higress ai-search feature.

Higress AI-Search Server MCP server

Demo

Cline

https://github.com/user-attachments/assets/60a06d99-a46c-40fc-b156-793e395542bb

Claude Desktop

https://github.com/user-attachments/assets/5c9e639f-c21c-4738-ad71-1a88cc0bcb46

Features

  • Internet Search: Google, Bing, Quark - for general web information
  • Academic Search: Arxiv - for scientific papers and research
  • Internal Knowledge Search

Prerequisites

Configuration

The server can be configured using environment variables:

  • HIGRESS_URL(optional): URL for the Higress service (default: http://localhost:8080/v1/chat/completions).
  • MODEL(required): LLM model to use for generating responses.
  • INTERNAL_KNOWLEDGE_BASES(optional): Description of internal knowledge bases.

Option 1: Using uvx

Using uvx will automatically install the package from PyPI, no need to clone the repository locally.

{
  "mcpServers": {
    "higress-ai-search-mcp-server": {
      "command": "uvx",
      "args": [
        "higress-ai-search-mcp-server"
      ],
      "env": {
        "HIGRESS_URL": "http://localhost:8080/v1/chat/completions",
        "MODEL": "qwen-turbo",
        "INTERNAL_KNOWLEDGE_BASES": "Employee handbook, company policies, internal process documents"
      }
    }
  }
}

Option 2: Using uv with local development

Using uv requires cloning the repository locally and specifying the path to the source code.

{
  "mcpServers": {
    "higress-ai-search-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/src/higress-ai-search-mcp-server",
        "run",
        "higress-ai-search-mcp-server"
      ],
      "env": {
        "HIGRESS_URL": "http://localhost:8080/v1/chat/completions",
        "MODEL": "qwen-turbo",
        "INTERNAL_KNOWLEDGE_BASES": "Employee handbook, company policies, internal process documents"
      }
    }
  }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端