Handles automated login to Zhihu, enabling session management and authentication without requiring manual intervention after initial setup.
Enables content publishing to Zhihu platform, supporting article creation, question answering, column management, and image uploads through a simplified REST API.
知乎MCP服务器
简单的知乎发布HTTP API服务器,采用和小红书、头条相同的简化架构。
功能特性
- ✅ 简单HTTP API:避免复杂的MCP协议,使用直观的REST API
- 📝 文章发布:支持创建和发布知乎文章
- 💬 回答发布:支持回答知乎问题
- 📚 专栏管理:支持创建知乎专栏
- 🖼️ 图片上传:支持文章和回答中的图片
- 🔐 自动登录:支持Selenium自动化登录
- 🍪 会话保持:自动保存和恢复登录状态
API接口
健康检查
创建文章
创建回答
创建专栏
安装和使用
- 安装依赖:
- 启动服务器:
- 服务器地址:
- 默认端口:8005
- 健康检查:http://localhost:8005/zhihu-mcp-server/health
端口配置
- 🔴 小红书MCP服务器:8002端口
- 🟠 今日头条HTTP API服务器:8003端口
- 🔵 知乎HTTP API服务器:8005端口
注意事项
- Chrome驱动:需要安装Chrome浏览器和对应的ChromeDriver
- 首次使用:首次启动时需要手动登录知乎账号
- 会话保持:登录状态会自动保存,无需重复登录
- 图片上传:确保图片文件路径正确且文件存在
项目结构
架构特点
采用了和小红书、头条相同的简化架构:
- 简单HTTP API → 直接功能调用 → 简单JSON响应
- 避免了复杂的MCP协议、会话管理、Streamable-HTTP等复杂性
- 提供了稳定可靠的发布服务
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides AI models with real-time trending content from 18 major Chinese internet platforms, including Weibo, Zhihu, and Bilibili.Last updated -TypeScript
- -securityAlicense-qualityA server that enables interaction with WordPress sites through REST API, allowing users to create, retrieve, and update posts using JSON-RPC 2.0 protocol.Last updated -1JavaScriptMIT License
- -security-license-qualityA server that enables access to Xiaohongshu (Little Red Book) content, allowing users to search for notes and retrieve content via URLs with authentication management and cookie persistence.Last updated -1TypeScriptMIT License
- -securityFlicense-qualityA microservice that wraps Xiaohongshu (Little Red Book) API into a RESTful API server, enabling users to perform various operations on the platform such as retrieving notes, searching users and content, and accessing user information.Last updated -Python