Trendy Post MCP
Uses Pydantic for data validation in the MCP server implementation
Implemented in Python 3.12 for processing screenshots and generating social media content
Generates trending social media posts in Xiaohongshu style, including appropriate hashtags and formatting for the platform
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Trendy Post MCPcreate a trendy post from this screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Trendy Post MCP 🚀✨
A Model Context Protocol (MCP) service that:
Takes a screenshot from the user 📸
Uses OCR to extract text and analyze the image 🔍
Generates a trending Xiaohongshu-style post based on the content 📱💬
Features ✨
Image Processing 🖼️: Extract text and analyze images
Content Generation 📝: Create engaging Xiaohongshu-style posts
LLM Integration 🧠: Uses AI to generate post styles, hashtags, and titles
MCP Compatibility 🔌: Works with any MCP client
Related MCP server: XHS-MCP
Setup 🛠️
This MCP uses the trendy_post_mcp conda environment with Python 3.12 and Surya OCR.
# Activate the conda environment
conda activate trendy_post_mcp
# Run the MCP server
python server.pyUsage 📋
Once the server is running, it can be used as an MCP service that provides functions for:
Processing screenshots 📸
Analyzing image content 🔍
Generating trending social media posts in the style of Xiaohongshu 📱
MCP Functions
The server exposes the following MCP functions:
process_screenshot: Extract text from an image URL 🔤generate_post: Create a Xiaohongshu post from image analysis data ✍️process_and_generate: Combine both functions in one step (recommended) 🔄health_check: Check if the server is running properly 🩺
Project Structure 📁
server.py: Main MCP server implementationimage_processor.py: Screenshot processing and OCR functionalitypost_generator.py: Xiaohongshu post generation logicrequirements.txt: Python dependencies
Dependencies 📦
OCR Engine
This project uses Surya OCR for text extraction, which is licensed under the GPL-3.0 License. Surya is a powerful OCR engine that supports multiple languages and provides excellent results for complex layouts.
⚠️ Important License Note: As Surya is licensed under GPL-3.0, any distribution of this software must comply with the GPL-3.0 license terms. Please ensure you understand these terms if you plan to distribute or modify this software.
Other Dependencies
FastMCP: For MCP server implementation
Pydantic: For data validation
Pillow: For image processing
ZhipuAI: For LLM-based content generation
License 📄
This project is licensed under the MIT License - see the LICENSE file for details. (Note: Components like Surya OCR have their own licenses as mentioned above)
This server cannot be deployed
Maintenance
Related MCP Connectors
搜索笔记、浏览首页推荐、查看笔记内容与评论,并发表你的评论。直接在工作流中与小红书内容互动,高效跟进话题。
Schedule, generate and publish social posts to X, LinkedIn, Instagram, Threads and YouTube
Screenshot any web page, or read it as clean Markdown, with consent banners, ads and popups removed.
Turn any URL or text into Twitter threads, LinkedIn posts, Instagram captions, YouTube titles and…
Related MCP Servers
- AlicenseAqualityCmaintenanceExtracts watermark-free videos and images from Douyin (TikTok) and Xiaohongshu (RedNote) share links, with optional AI-powered video transcription support.424Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables content creators to manage, analyze, and publish Xiaohongshu (Little Red Book) content through browser automation, with built-in templates, data analytics, and scheduling capabilities accessible via CLI or AI assistants.48 npm1MIT
- AlicenseAqualityFmaintenanceEnables generation of Xiaohongshu (Little Red Book) social media content including intelligent outlines, AI-generated images, and multi-page posts through natural language commands.56 npm15MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search Xiaohongshu notes, analyze favorites, and extract text from images for social media research.716 npm20MIT