XiaoheiheMcpServer
by wsmxd
Overview
Automate interactions with the Xiaoheihe social platform, enabling content publishing, searching, and commenting via the Model Context Protocol (MCP).
Installation
dotnet run --project src/XiaoheiheMcpServer.Stdio/XiaoheiheMcpServer.Stdio.csproj -- --no-headlessEnvironment Variables
- ASPNETCORE_ENVIRONMENT
Security Notes
A comprehensive security audit cannot be performed without access to the full C# source code files (e.g., XiaoheiheService.cs, LoginService.cs, etc.). Based on the documentation, the server uses Playwright for browser automation, which can introduce vulnerabilities if not carefully managed (e.g., untrusted content loading, browser exploits). It stores user cookies in `data/cookies.json`, which is sensitive data requiring proper file permissions and secure handling. The server also processes local absolute paths for image/video uploads, which could pose a risk if not properly validated against directory traversal or unauthorized file access. No obvious hardcoded secrets or malicious patterns are visible in the provided truncated configuration and documentation files.
Similar Servers
playwright-mcp
Provides a Model Context Protocol (MCP) server for LLMs to automate browser interactions using Playwright's accessibility tree, avoiding pixel-based vision models.
xiaohongshu-mcp
Automate content creation, publishing, and interaction (search, detail, comment, like, favorite) on the Xiaohongshu platform via Model Context Protocol (MCP) and HTTP APIs, primarily for AI agent integration.
crawl-mcp
A comprehensive Model Context Protocol (MCP) server that wraps the crawl4ai library to extract and analyze content from diverse sources like web pages, PDFs, Office documents, and YouTube videos, featuring AI-powered summarization.
redBookMCP
Generate Xiaohongshu-style content, including intelligent outlines and corresponding images, facilitated by an AI agent.