Skip to main content
Glama

PenlyDoc MCP server

Let an AI assistant send documents for e-signature with PenlyDoc and follow them: "Send the lease to Mia Novak from the Residential lease template, rent 950 EUR", "Who still has to sign order 42?", "Save the signed contract to ./signed".

It is a Model Context Protocol server that runs on your computer (stdio) and talks to the PenlyDoc REST API with your organisation's API key. Works with any MCP client.

Setup

  1. Create an organisation at penlydoc.com (free) and copy an API key from Console → Developers.

  2. Add the server to your MCP client's configuration:

{
  "mcpServers": {
    "penlydoc": {
      "command": "npx",
      "args": ["-y", "penlydoc-mcp"],
      "env": { "PENLY_API_KEY": "sk_…" }
    }
  }
}

Node.js 18.17 or newer is needed. PENLY_URL points the server at another PenlyDoc instance (default https://penlydoc.com).

Treat the API key like a password: it can send documents in your organisation's name. Give the assistant a key of its own, so you can revoke it in the console without touching your other integrations.

Related MCP server: DottedSign MCP

Tools

Tool

What it does

Side effects

get_organisation

Which organisation the key belongs to, sending limit

none

list_templates

Templates with their roles and data keys

none

send_from_template

Create a document from a template; send: true e-mails the people

e-mails real people

send_document

Upload local PDFs or photos and create a document; boxes from {{sig:1}} tags or coordinates

e-mails real people when send: true

list_documents

Documents with status and who has signed; filter by status or your reference

none

get_document

One document: each person, opened, signed or declined, and when

none

get_history

Hash-chained history with times and IP addresses

none

send_draft

Send a draft

e-mails real people

send_reminder

Remind everyone whose turn it is

e-mails real people

cancel_document

Void a document that is still being signed

cannot be undone

create_signing_link

One-hour link for an embedded signer

the link signs as that person

download_signed_pdf

Save the sealed PDF of a completed document to a file

writes a local file (never overwrites)

verify_pdf

Check a signed PDF: seal intact, who signed

none, no key needed

The server tells the assistant to confirm people, e-mail addresses and documents with you before anything is sent. Most MCP clients also ask you before each tool call; keep that on for the tools that e-mail people.

Learn more

MIT licensed.

Available Tools

13 tools
cancel_documentCancel a documentA
DestructiveIdempotent

Cancels (voids) a document that is still being signed. Signing links stop working and the people still to act are told by e-mail. This cannot be undone; confirm with the user first.

Inputs: id (required), reason (required).

download_signed_pdfDownload the signed PDFA

Saves the sealed, signed PDF (with the certificate of completion as last page) of a COMPLETED document to a local file.

Inputs: id (required), saveTo (required).

get_documentDocument statusA
Read-only

Full status of one document: each person, whether they opened, signed or declined (with the reason), and when.

Inputs: id (required).

get_historyDocument historyA
Read-only

The hash-chained history of a document: every step with time, who and IP address, and whether the chain is intact.

Inputs: id (required).

get_organisationOrganisationA
Read-only

Shows which PenlyDoc organisation the API key belongs to, its default language and its sending limit.

Inputs: no named parameters.

list_documentsList documentsA
Read-only

Lists documents sent for signature, newest first, with who has signed. Filter by status or by your externalRef.

Inputs: limit, status, externalRef.

list_templatesList templatesA
Read-only

Lists the organisation's templates: id, name, the roles to fill (e.g. "tenant", "landlord"), the data keys to fill, and whether the template is ready to send.

Inputs: no named parameters.

send_documentSend a documentA

Uploads local files (PDF, or PNG/JPEG photos of pages, joined in order) and creates a document for signature. Signature boxes come from {{sig:1}}-style tags in the PDF or from the fields argument (points, top-left origin). With send=true PenlyDoc e-mails the people right away; confirm with the user first. Without tags or fields, use send=false and let the user place the boxes in the console (the result has a link).

Inputs: send (required), files (required), title (required), recipients (required), +6 more.

send_draftSend a draftA

Sends a DRAFT document: PenlyDoc e-mails the first people to sign. Confirm with the user first.

Inputs: id (required).

send_from_templateSend from a templateA

Creates a document from a template: one person per role, values for its data keys. With send=true PenlyDoc immediately e-mails the people with delivery EMAIL; confirm the people and values with the user first. With send=false it creates a draft the user can review in the console. Use the same externalRef/idempotencyKey to safely retry.

Inputs: send (required), roles (required), templateId (required), data, +4 more.

send_reminderRemindA

E-mails a reminder now to everyone whose turn it is on this document. Confirm with the user first.

Inputs: id (required).

verify_pdfCheck a signed PDFA
Read-only

Checks a local signed PDF: is the seal intact, when was it sealed, who signed. Works for any PDF; nothing is stored. No API key needed.

Inputs: file (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools have clearly distinct resource/action targets, and the descriptions clarify the main overlapping area: creating documents from templates versus uploading local files. The send_* family (send_from_template, send_document, send_draft, send_reminder) is the only place where an agent might briefly pause, but each has a specific purpose.

    Naming Consistency5/5

    All tool names use consistent snake_case and follow a predictable verb_noun pattern, such as get_organisation, list_documents, cancel_document, and verify_pdf. The minor variation in send_from_template is still readable and fits the same convention.

    Tool Count5/5

    With 13 tools, the server stays within a well-scoped range for an e-signature document workflow. Each tool covers a meaningful step: organisation lookup, templates, sending, status tracking, reminders, cancellation, signing links, and PDF verification.

    Completeness4/5

    The surface covers the core document lifecycle from template/upload through sending, status checks, history, reminders, cancellation, signed PDF download, and verification. Minor gaps exist around template management beyond listing and document metadata updates, but the main workflow is well covered.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to manage document signing workflows via natural language, including creating envelopes, uploading documents, analyzing contracts, and verifying blockchain anchors.
      12
      75 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to manage eSignature workflows, including creating signing tasks, tracking document status, and managing templates via natural language.
      142
      -