mcp-watermark
Click on "Install 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 文件信息
可自定义:支持字体大小、颜色、透明度、旋转角度、缩放
快速开始
安装
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xecho-dev/mcp-watermark'
If you have feedback or need assistance with the MCP directory API, please join our Discord server