Overview
what is Zhipu Web Search Mpc?
Zhipu Web Search Mpc is a web search service that allows users to run a search server using the MCP protocol.
how to use Zhipu Web Search Mpc?
To use Zhipu Web Search Mpc, you need to start the server using the provided commands and configure the client to connect to the server.
key features of Zhipu Web Search Mpc?
- Supports both stdio and SSE protocols for server communication.
- Easy configuration for client-server interaction.
- Allows running search queries through a web interface.
use cases of Zhipu Web Search Mpc?
- Running a local web search service for development purposes.
- Integrating search capabilities into applications using the MCP protocol.
- Testing and debugging web search functionalities.
FAQ from Zhipu Web Search Mpc?
- What protocols does Zhipu Web Search Mpc support?
Zhipu Web Search Mpc supports both stdio and SSE protocols for server communication.
- How do I start the server?
You can start the server using the command
mcp dev web_search.py
for stdio oruv run main.py --host 0.0.0.0 --port 8020
for SSE.
- Is there a client available?
Yes, you can run the client using the command
uv run client.py http://127.0.0.1:8020/sse
.
Content
运行服务
- 通过stdio协议启动服务端
mcp dev web_search.py
- 配置客户端
{ "mcpServers": { "mcp-server": { "command": "uv", "args": [ "--directory", "<你的项目路径>", "run", "main.py" ] } } }
- 通过SSE协议启动服务端
-
uv run main.py --host 0.0.0.0 --port 8020
-
运行客户端
uv run client.py http://127.0.0.1:8020/sse
No tools information available.