Skip to main content
Glama

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"]
    }
  }
}

可用工具

工具

说明

add_text_watermark

为所有页面添加斜角文字水印

add_image_watermark

为所有页面添加图片水印

preview_pdf

预览 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

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    An 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.
    Last updated
  • A
    license
    -
    quality
    A
    maintenance
    An 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.
    Last updated
    2
    Apache 2.0
  • A
    license
    -
    quality
    D
    maintenance
    An 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.
    Last updated
    37
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    An 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.
    Last updated
    11
    20
    MIT

View all related MCP servers

Related MCP Connectors

  • A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r

  • MCP server for ScanMalware.com URL scanning, malware detection, and analysis.

  • A paid remote MCP for ppt-master, built to return verdicts, receipts, usage logs, and audit-ready JS

View all MCP Connectors

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