Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/groupdocs-watermark/groupdocs.watermark.mcp/agents-mdgit clone --depth 1 https://github.com/groupdocs-watermark/GroupDocs.Watermark.McpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/groupdocs-watermark/groupdocs.watermark.mcp/agents-md)<a href="https://agentmods.dev/instructions/groupdocs-watermark/groupdocs.watermark.mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/groupdocs-watermark/groupdocs.watermark.mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01758 | $0.01758 |
| Opus 5 | $0.00879 | $0.00879 |
| Sonnet 5 | $0.00352 | $0.00352 |
| Haiku 4.5 | $0.00176 | $0.00176 |
Grade A, and why
GroupDocs.Watermark.Mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Guide for AI coding agents
Brief orientation for AI coding agents (Claude Code, Copilot, Cursor, Aider, Amp, Codex) working in this repository.
What this repo is
A standalone MCP server for GroupDocs.Watermark for .NET — exposes document-watermark operations as AI-callable tools via the Model Context Protocol.
Published to NuGet as GroupDocs.Watermark.Mcp with the McpServer package type, and to ghcr.io/groupdocs-watermark/watermark-net-mcp + docker.io/groupdocs/watermark-net-mcp as a container image.
MCP tools exposed
| Tool | Description |
|---|---|
AddWatermark |
Adds a text watermark (Arial, configurable size + rotation) to a document and writes the watermarked copy to storage. Returns a saved-path message + download URL. |
AddImageWatermark |
Adds an image watermark (logo, signature scan, stamp) to a document. Configurable opacity + rotation. Returns a saved-path message + download URL. |
SearchWatermarks |
Finds existing watermarks (both text and image) in a document and returns their details (type, text, page, position, size, rotation) as JSON. |
RemoveWatermarks |
Removes existing watermarks from a document and saves the cleaned copy as <name>_unwatermarked.<ext>. Optional textFilter to remove only watermarks whose text contains the filter substring. |
GetDocumentInfo |
Returns the file type, page count, size, and per-page dimensions of a document as JSON. Does not modify the document. |
All tools accept FileInput (resolved via IFileResolver) and an optional password for protected documents. All tools wrap engine-level exceptions in a descriptive error string (each tool uses a per-operation prefix: Watermarking failed for, Image watermarking failed for, Search failed for, Watermark removal failed for, Document-info lookup failed for) followed by the exception type, message, and inner-exception chain — never letting them bubble into MCP's generic An error occurred invoking '<tool>' wrapper. Critical for diagnosing native-deps issues on Linux.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 109 lines · 1,758 tokens per session scan A 6e1eba67dc87
GroupDocs.Watermark.Mcp AGENTS.md is an instructions file published in the GitHub repository groupdocs-watermark/GroupDocs.Watermark.Mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 1,758 tokens to every session, about $0.0088 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
GroupDocs.Metadata.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-metadata/GroupDocs.Metadata.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Signature.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-signature/GroupDocs.Signature.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Annotation.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-annotation/GroupDocs.Annotation.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Parser.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-parser/GroupDocs.Parser.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Redaction.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-redaction/GroupDocs.Redaction.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Total.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-total/GroupDocs.Total.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed (38 total), folder layout and dependencies.