modelscope·@Victorzwx/zh_mcp_server
一种模型上下文协议服务器,允许用户使用大型语言模型自动生成文章,并直接发布到知乎(一个中国的问答平台)。
A Model Context Protocol (MCP) server for publishing articles on Zhihu, allowing users to automatically generate and publish articles using large models.
git https://github.com/Victorzwx/zh_mcp_server.git
It is recommended to run in a Windows environment.
Python version required: >= 3.10
Ensure that the environment meets the requirements specified in requirements.txt.
pip install -r requirements.txt
Then, install ChromeDriver. This project depends on Google Chrome, and the version number 134.0.6998.166 is provided as an example. You need to manually check the version of Google Chrome installed on your computer.
npx @puppeteer/browsers install chromedriver@134.0.6998.166
Run setup_environment.py. If this method fails, it might be due to an incorrect ChromeDriver version. It is recommended to reinstall using Method 1.
python setup_environment.py
Run the code to save cookies in the project folder:
python -m zh_mcp_server.login
python -m zh_mcp_server.__login__. This is very important!Run via Python:
"zh_mcp_server": { "command": "python", "args": [ "-m", "zh_mcp_server" ] }
After this, you can start using the service.
If you are using this MCP service through code, such as Java code based on Spring AI, you also need to add the encoding method to avoid generating garbled text:
"zh_mcp_server": { "command": "D:\aconda\python.exe", "args": [ "-m", "zh_mcp_server", "--encoding=utf-8" ], "env": { "PYTHONIOENCODING": "utf-8" } }
If you need to debug the specific process of the large model calling this MCP service or visualize browser operations, you need to disable headless browser mode as follows:
poster = ZhuHuPoster(path, headless=True) ## Set to False if you want to debug
This code is located in server.py.
一个将小红书(Xiaohongshu)API封装为RESTful API服务器的微服务,允许用户在该平台上执行多种操作,例如获取笔记、搜索用户和内容、访问用户信息等。
一个模型上下文协议服务器,可将Markdown文本转换为支持丰富交互操作和多格式导出的交互式思维导图。
一种模型上下文协议服务器,它使Microsoft Copilot Studio能够从各种来源获取笑话,包括Chuck Norris笑话、爸爸笑话和Yo Mama笑话。
为 WordPress 实现了一个模型上下文协议服务器,增强了 VS Code 的 WordPress 特定智能,包括数据库集成、代码补全和文档支持。
暂无描述。
暂无描述。