zh_mcp_server
10
zh_mcp_server is an MCP server facilitating automated article generation and publication on Zhihu. It provides tools for integration with large models and handles browser interactions for posting articles.
zh_mcp_server Overview
A Model Context Protocol (MCP) server designed for generating and posting articles on Zhihu using large models. Users can interact with the service for automated article creation and publication on Zhihu.
Usage Guide
- Clone Repository: Use
git
to clone the repository from GitHub. - Environment Setup:
- Recommended on Windows with Python >= 3.10.
- Option 1: Install dependencies via
requirements.txt
and manually setup ChromeDriver. - Option 2: Use
setup_environment.py
for automated setup.
- Save Personal Cookies: Run a script to handle login via browser and capture user credentials.
- MCP Client Configuration: Configure the service in an MCP client (e.g., Cherry Studio).
Debugging
- To debug or visualize browser operations, disable headless mode in
server.py
.