TZ

tangc/zsxq-mcp

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

24 stars 7 forks Quality 63 Trend 0MIT

Knowledge Planet MCP (Model Context Protocol) service enables AI assistants to operate Knowledge Planet.

Overview

Knowledge Planet MCP (Model Context Protocol) service enables AI assistants to operate Knowledge Planet. This project references Xiaohongshu-MCP's technical solution to implement an MCP service architecture for Knowledge Planet (wx.zsxq.com). 1. - Check the login status of Knowledge Planet 2. - Get the QR code for WeChat scan login 3. - Get the list of Knowledge Planets I joined 4. - Get the list of topics/posts within the specified planet 5. - Get detailed content and comments on the topic 6. - Search for topics within the specified planet 7. - Post content on Knowledge Planet 8. - Post comments under the topic 9. - Like the topic - - github.com/modelcontextprotocol/go-sdk - - Browser Automation github.com/go-rod/rod - HTTP Server github.com/gin-gonic/gin - Log github.com/sirupsen/logrus 1. This project is based on learning objectives and all illegal activities are prohibited. 2. Please comply with Knowledge Planet's usage guidelines. 3. It is recommended to use a dedicated account for testing

Overview (machine translated)

Knowledge Planet MCP (Model Context Protocol) service enables AI assistants to operate Knowledge Planet.

Project Overview

This project references Xiaohongshu-MCP’s technical solution to implement an MCP service architecture for Knowledge Planet (wx.zsxq.com).

Main Features

  1. Login Status Check - Check the login status of Knowledge Planet
  2. Get a login QR code - Get the QR code for scanning and logging in via WeChat
  3. Get Planet List - Get the list of knowledge planets I joined
  4. Get Topic List - Get a list of topics/posts within a specified planet
  5. Get Topic Details - Get detailed content and comments on the topic
  6. Search Themes - Search for topics within a specified planet
  7. Publish Content - Publish content to Knowledge Planet
  8. Post a comment - Comment under the topic
  9. Like the Theme - Give a thumbs up to the theme

Get Started Quickly

1. Installation dependency

Make sure you have Go 1.22+ installed

2. Log in

First-time users need to log in and save the login status of Knowledge Planet:

In the browser window that opens, use WeChat to scan the QR code to log in.

3. Launch of MCP services

The service will run at: http://localhost:18061/mcp

MCP client access

Claude Code CLI

Cursor

Create .cursor/mcp.json:

VSCode

Create .vscode/mcp.json:

MCP tools are available

Tool Name Description Parameter
check_login_status Check Knowledge Planet login status None
get_login_qrcode Get the login QR code None
delete_cookies Delete cookies, reset login status None
list_groups Get the list of planets I joined None
list_topics Get a list of themes within a planet group_id
get_topic_detail Get Topic Details topic_id
search_topics Search Topics group_id, keyword
publish_content Release Content group_id, content, images?
post_comment Leave a comment topic_id, content
like_topic Like Topic topic_id

Usage Examples

Check login status

Get a list of planets

Get the topic list

Publishing content

This page was translated automatically. Technical details may differ from the original.

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "zsxq-mcp": { "url": "http://localhost:18061/mcp", "description": "知识星球 MCP 服务" } } }