mcp-watermark
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., "@mcp-watermarkadd a confidential text watermark to report.pdf"
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.
MCP Watermark - PDF 水印工具
一个为 PDF 文档提供水印功能的 Model Context Protocol(MCP)服务器。
功能特点
文字水印:为所有页面添加斜角文字水印
图片水印:为所有页面添加图片水印(徽标、图标)
预览功能:预览 PDF 文件信息
可自定义:支持字体大小、颜色、透明度、旋转角度、缩放
Related MCP server: PDF MCP Server
快速开始
安装
cd /path/to/mcp-watermark
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt在 Cursor 中配置
添加到 Cursor 设置文件(settings.json):
{
"mcpServers": {
"pdf-watermark": {
"command": "/path/to/mcp-watermark/.venv/bin/python",
"args": ["/path/to/mcp-watermark/pdf_watermark_server.py"]
}
}
}可用工具
工具 | 说明 |
| 为所有页面添加斜角文字水印 |
| 为所有页面添加图片水印 |
| 预览 PDF 文件信息 |
使用示例
添加文字水印
{
"input_path": "/path/to/document.pdf",
"output_path": "/path/to/output.pdf",
"text": "机密文件",
"font_size": 60,
"color": "#FF0000",
"opacity": 0.2,
"rotation": -45
}添加图片水印
{
"input_path": "/path/to/document.pdf",
"output_path": "/path/to/output.pdf",
"image_path": "/path/to/logo.png",
"opacity": 0.25,
"scale": 0.5
}项目结构
mcp-watermark/
├── pdf_watermark_server.py # MCP 服务器主程序
├── requirements.txt # Python 依赖
├── SKILL.md # MCP 工具文档
└── README.md # 本文件环境要求
Python 3.10+
pypdf >= 4.0.0
mcp[cli] >= 1.1.0
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for detecting and redacting PII (Personally Identifiable Information) in PDF documents.
MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
HTML-to-PDF MCP server — render pixel-faithful PDFs from HTML.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides comprehensive PDF processing capabilities including text extraction, image extraction, table detection, annotation extraction, metadata retrieval, page rendering, and document structure analysis.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server for PDF form filling, basic editing, and OCR text extraction. It enables users to merge, rotate, annotate, and sign PDFs, while also supporting text extraction from both searchable and scanned image-based documents.3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for reading, writing, and manipulating PDF files, including text extraction, metadata retrieval, and merging or splitting documents. It also enables users to create PDFs from plain text and convert specific pages or entire documents into images.37 npmISC
- AlicenseAqualityDmaintenanceAn MCP server for local PDF manipulation including merging, splitting, rotating, watermarking, and text extraction. It works with various MCP-compatible clients and processes PDFs entirely on-device without cloud services.119 npmMIT