zhipu-web-search-mcp

qianlima365/zhipu-web-search-mcp

3.1

If you are the rightful owner of zhipu-web-search-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides instructions on how to run a Model Context Protocol (MCP) server using different protocols and configurations.

运行服务

  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