zhipu-web-search-mcp logo

zhipu-web-search-mcp

by qianlima365

This project provides a web search service that can be launched using either stdio or SSE protocols. It includes server-side and client-side components for interacting with the search functionality.

View on GitHub

Last updated: N/A

运行服务

  1. 通过stdio协议启动服务端
    mcp dev web_search.py
    
  • 配置客户端
    {
        "mcpServers": {
            "mcp-server": {
            "command": "uv",
                "args": [
                    "--directory",
                    "<你的项目路径>",
                    "run",
                    "main.py"
                ]
            }
        }
    }
    
  1. 通过SSE协议启动服务端
  •  uv run main.py --host 0.0.0.0 --port 8020
    
  • 运行客户端

     uv run client.py http://127.0.0.1:8020/sse