Skip to main content
Glama
Document Signer MCP

Document Signer MCP

by shanstud

Document Signer MCP — sign PDFs from any AI assistant

An MCP server (connector) that lets an AI assistant sign, merge and split PDFs locally — no Docusign account, no envelopes, no subscription, and documents are never uploaded to a third party. It is the connector version of Document Signer, the free in-browser PDF signer, and the companion to the Document Signer skill.

Free and open source (MIT).

Tools

Tool

What it does

sign_pdf

Places a signature (typed name or signature image) on a PDF page, with optional date stamp. Never overwrites the original.

merge_pdfs

Combines several PDFs into one, in order.

split_pdf

Extracts a page range ("1-3,5") or splits every page into its own file.

pdf_info

Reports page count, encryption status and page sizes.

Safety built in: the sign_pdf tool instructs the assistant to confirm the document, the signer and the placement with you before signing, and refuses to overwrite the original file. Encrypted PDFs are not supported.

Honest limits: this places a visual signature, like signing a printed page. It is not a certified digital signature and provides no identity verification or audit trail. If your situation legally requires those, use a full e-signature service.

Related MCP server: pdf-toolbox-mcp

Quick start (local — Claude Desktop, Claude Code, Cursor, VS Code…)

git clone https://github.com/shanstud/document-signer-mcp
cd document-signer-mcp
pip install -r requirements.txt

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "document-signer": {
      "command": "python3",
      "args": ["/path/to/document-signer-mcp/server.py"]
    }
  }
}

Claude Code:

claude mcp add document-signer -- python3 /path/to/document-signer-mcp/server.py

Cursor / VS Code — use the same command / args pair in their MCP server settings.

Then just ask your assistant: "Sign contract.pdf with my name, bottom-right, and add today's date."

Remote use (ChatGPT and other hosted connectors)

ChatGPT connectors need a public HTTPS MCP endpoint. This server speaks streamable HTTP — run it anywhere that hosts a small Python app or a Docker container:

python3 server.py --http     # listens on 0.0.0.0:$PORT (default 8000), endpoint path /mcp
# or
docker build -t document-signer-mcp . && docker run -p 8000:8000 document-signer-mcp

Deploy the Docker image to your host of choice (Fly.io, Render, Railway, a VPS…), then in ChatGPT: Settings → Connectors → Create and paste your endpoint, e.g. https://your-host.example/mcp. The same URL works for any client that supports remote MCP servers.

⚠️ A remotely hosted instance processes files on that host. For the original Document Signer privacy promise — your document never leaves your device — run the server locally (stdio) or on a machine you control.

Note on AI hosts: the tools process files on the machine running this server and send nothing to Document Signer. But if your AI assistant itself is cloud-hosted, a document you hand it may pass through that assistant's cloud environment — for documents that must never leave your machine, use a local assistant setup or the browser app at https://shanstud.github.io/document-signer/.

Tests

pip install -r requirements.txt
python3 tests/test_mcp.py   # drives the server over stdio like a real MCP client

Licence

MIT © 2026 Zee Lalani. Docusign is a trademark of Docusign, Inc.; this project is independent and not affiliated with or endorsed by Docusign, Inc.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to perform comprehensive PDF operations locally, including compression, text extraction, PII redaction, page organization, splitting, merging, watermarking, creation, and form filling, all without cloud uploads.
      30 npm
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to perform local-first PDF processing entirely on-device, including OCR write-back to make scans searchable, unlocking and re-encrypting PDFs, splitting/merging/rotating pages, and compressing files, with no cloud calls or file uploads.
      25
      23 PyPI
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Lets AI assistants read, search, edit, annotate, sign, redact and OCR PDF files entirely on the local machine, with no uploads and non-destructive writes to new files. It also merges, splits and reorganises pages, fills forms, compares versions to detect tampering, and converts documents between PDF, Word, Excel, images and text, including turning bank statements into spreadsheet rows.
      22
      AGPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI apps to edit PDFs on the local machine through natural language, merging, splitting, extracting, rotating, deleting, reordering and duplicating pages, plus inspecting page counts and encryption status. All work runs locally with no uploads, and every operation writes a new file beside the untouched original.
      8
      61 npm
      MIT