- Home
- MCP servers
- Trendy Post
Trendy Post
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"yums-gao-trendy_post_mcp": {
"command": "python",
"args": [
"server.py"
]
}
}
}You can run a Trendy Post MCP server that takes a screenshot, extracts text with OCR, analyzes the image, and then generates a Xiaohongshu-style post. This makes it easy to transform visual content into polished social media drafts powered by AI.
How to use
You interact with the Trendy Post MCP server through an MCP client. Use the provided functions to process a screenshot, analyze the image, and generate a trending post in the Xiaohongshu style. The main functions are process_screenshot, generate_post, process_and_generate, and health_check.
How to install
Prerequisites you need before starting:
- Conda (for managing the Python environment) and Python 3.12
# Create the environment with Python 3.12
conda create -n trendy_post_mcp python=3.12
# Activate the environment
conda activate trendy_post_mcp
# Install Python dependencies
pip install -r requirements.txt
# Run the MCP server
python server.py
Additional notes
Server behavior and capabilities: the MCP server processes screenshots, performs OCR via Surya OCR, analyzes image content, and generates Xiaohongshu-style posts using an LLM backend.
If you need to verify the server is running, call the health check function from your MCP client.
Available tools
process_screenshot
Extract text from an image URL and return the raw text captured from the screenshot using OCR.
generate_post
Create a Xiaohongshu-style post based on analyzed image data, including suggested titles, hashtags, and post structure.
process_and_generate
Combine both steps into a single operation to process a screenshot and immediately generate a post from the analysis results.
health_check
Verify the server is running and responsive by performing a lightweight health check.