loading…
Search for a command to run...
loading…
An MCP server that adds full-screen text or image watermarks to images with intelligent color adaptation and multi-language support.
An MCP server that adds full-screen text or image watermarks to images with intelligent color adaptation and multi-language support.
A professional image watermarking service built with FastMCP, supporting both text and image watermarks with intelligent color adaptation.
中文文档 | English
Open Cherry Studio Settings
Configure MCP Server

Save and Connect

Open Cursor Settings
Cmd+, (Mac) or Ctrl+, (Windows/Linux)Configure MCP Server
{
"mcpServers": {
"stampit": {
"command": "uvx",
"args": [
"mcp-stampit"
]
}
}
}




# Install dependencies
uv pip install fastmcp pillow
# Or install using project configuration
uv pip install -e .
pip install fastmcp pillow
python main.py
After the server starts, you will see output similar to:
╭─ FastMCP 2.0 ──────────────────────────────────────────────────────────────────╮
│ 🖥️ Server name: Stamp it - Apply a full-screen watermark to an image │
│ 📦 Transport: STDIO │
╰────────────────────────────────────────────────────────────────────────────────╯
add_text_watermark - Text WatermarkAdd intelligent text watermarks to images with multi-language support and adaptive colors.
Parameters:
image_path (str): Local image file pathwatermark_text (str): Watermark text contentangle (float, optional): Watermark tilt angle, default 30°Usage Examples:
# Basic text watermark
add_text_watermark("/Users/photos/vacation.jpg", "My Copyright")
# Custom angle
add_text_watermark("./document.png", "Confidential", angle=45)
# Multi-language watermark
add_text_watermark("photo.jpg", "Copyright © 2024 All Rights Reserved")
add_image_watermark - Image WatermarkAdd image watermarks to photos, supporting logos, signatures, and other images as watermarks.
Parameters:
image_path (str): Local image file pathwatermark_image_path (str): Watermark image file pathangle (float, optional): Watermark tilt angle, default 30°Usage Examples:
# Add logo watermark
add_image_watermark("/Users/photos/product.jpg", "/Users/logos/company_logo.png")
# Custom angle logo watermark
add_image_watermark("photo.jpg", "signature.png", angle=0)
# Brand watermark
add_image_watermark("marketing_image.jpg", "brand_watermark.png", angle=15)
Smart Color Adaptation
Multi-language Font Support
High-quality Rendering
_watermark + extensionInput: /Users/photos/vacation.jpg
Output: /Users/photos/vacation_watermark.jpg
Input: ./designs/logo.png
Output: ./designs/logo_watermark.png
Input: document.pdf.png
Output: document.pdf_watermark.png
| Format | Extensions | Read | Save | Transparency | Optimized |
|---|---|---|---|---|---|
| JPEG | .jpg, .jpeg | ✅ | ✅ | ❌ | ✅ |
| PNG | .png | ✅ | ✅ | ✅ | ✅ |
| GIF | .gif | ✅ | ✅ | ✅ | ✅ |
| BMP | .bmp | ✅ | ✅ | ❌ | ✅ |
| TIFF | .tiff, .tif | ✅ | ✅ | ✅ | ✅ |
| WebP | .webp | ✅ | ✅ | ✅ | ✅ |
macOS System:
Windows System:
Linux System:
stampit/
├── main.py # Main program and MCP server
├── pyproject.toml # Project configuration
├── README.md # English project documentation
├── README_CN.md # Chinese project documentation
├── uv.lock # Dependency lock file
└── LICENSE # License file
# 1. Start server
python main.py
# 2. Call in MCP client
add_text_watermark("path/to/your/image.jpg", "Test Watermark")
# 1. Prepare a logo image
# 2. Call in MCP client
add_image_watermark("path/to/your/photo.jpg", "path/to/logo.png")
You can adjust parameters by modifying the WatermarkConfig class:
class WatermarkConfig:
DEFAULT_FONT_SIZE = 36 # Default font size
DEFAULT_ANGLE = 30 # Default tilt angle
SPACING_X_FACTOR = 1.1 # Horizontal spacing multiplier
SPACING_Y_FACTOR = 0.9 # Vertical spacing multiplier
BRIGHTNESS_THRESHOLDS = { # Brightness thresholds
'very_bright': 180,
'medium': 120,
'dark': 60
}
# Recommended batch processing method
images = ["photo1.jpg", "photo2.jpg", "photo3.jpg"]
watermark_text = "© 2024 My Company"
for image_path in images:
result = add_text_watermark(image_path, watermark_text)
print(result)
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Issues and Pull Requests are welcome!
For questions or suggestions:
🎉 Thank you for using Stamp it!
Run in your terminal:
claude mcp add stamp-it -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.