SignNow MCP Server: Integrate eSignatures with AI agents

Cover image for the blog post "SignNow MCP Server: Integrate eSignatures with AI agents"
  • The SignNow MCP Server provides AI agents with safe, structured access to SignNow API features, including templates, invites, embedded signing, status checks, and downloads.
  • You can run it locally (STDIO) or remotely (Streamable HTTP), including Docker and Docker Compose. STDIO is ideal for desktop dev; HTTP is best for containers and remote hosts.
  • Common agent tasks: list templates, create documents from templates, send email invites or generate embedded signing links, track status, pre-fill fields, and download the final signed PDFs.
  • Security is handled through environment variables, OAuth 2.0 options, and RSA keys for production token signing. Keep secrets in a secure store and persist your private key in production.
  • Quick start: pip install signnow-mcp-serversn-mcp serve (or sn-mcp http) → point your MCP-capable client (e.g., VS Code Agent Mode, Claude Desktop) to the server and start using the SignNow tools.

As development teams integrate artificial intelligence into their workflows, AI agents require a secure and reliable means of interacting with external services. This article explains how developers can use the SignNow MCP Server to empower AI agents to securely manage eSignature workflows, automate document processes, and enhance productivity.


What is the SignNow MCP Server?

A Model Context Protocol (MCP) server enables AI agents to operate SignNow eSignature workflows in a controlled and auditable manner. It exposes the most commonly used SignNow API tools—templates, invites, embedded experiences, status checks, and downloads—via a well-defined interface. It supports both STDIO (local) and Streamable HTTP (remote) transports.

Why this matters: Instead of granting a general-purpose model broad API access, MCP lets you scope actions to approved tools. This reduces risk, standardizes inputs/outputs, and makes agent behavior easier to monitor.

Learn more about the SignNow MCP Server on GitHub.


What can AI agents do with this server?

Agents can handle the full eSignature lifecycle while you retain control:

  • Template & document management
    List templates and groups, and create documents or groups from templates.
  • Invites & embedded signing
    Send email invites with ordered recipients or create embedded signing sessions without email delivery.
  • Embedded sending and editing
    Generate embedded links for document sending/management and for field editing experiences.
  • One-shot workflows
    Go from template to action in a single call (e.g., template → invite, template → embedded signing).
  • Status tracking & retrieval
    Get invite status (with step-level details), retrieve normalized document structures, and download signed files.
  • Field prefill & updates
    Pre-populate text fields or update field values before sending.
A circular infographic titled “AI agent capabilities in eSignature management.” The center circle reads “eSignature management,” surrounded by six color-coded segments, each representing a capability.
A circular infographic titled “AI agent capabilities in eSignature management.”

Core tools you’ll use include: 

  • list_all_templates 
  • create_from_template 
  • send_invite 
  • create_embedded_invite 
  • create_embedded_sending 
  • create_embedded_editor 
  • get_invite_status 
  • get_document_download_link 
  • get_document 
  • update_document_fields 
  • plus “one-shot” variants that chain document creation and action together

How does the SignNow MCP Server keep AI agents secure?

  • Scoped, structured tools: Agents call specific, typed tools—no raw, arbitrary API access. You decide which tools are available.
  • Environment-based secrets: Credentials are supplied via environment variables; you can rotate and vault them according to your organization’s policy.
  • OAuth 2.0 options: For hosted scenarios, enable OAuth with proper issuer, TTLs, and allowed redirects. Use RSA keys to sign tokens.
  • Production key management: Persist your RSA private key in production to avoid invalidating tokens on restarts.
  • Separation of transports: Use STDIO for local dev; use Streamable HTTP for remote/MCP clients in containerized environments.

Best practice: Treat the MCP server like any internal service. Limit network access, store secrets in a secret manager, and log agent tool calls for audit.


How do I set it up quickly?

Prerequisites: Python 3.11 or later, SignNow credentials, and environment variables configured.

Install and run (recommended):

To customize host/port for HTTP:

Default MCP HTTP path is /mcp (e.g., https://localhost:8000/mcp).

Using uvx (no local install):

Docker basics:

Prefer HTTP transport inside containers; STDIO in containers can be unreliable with many clients.

Docker Compose:


Which connection method should I choose: STDIO or HTTP?

STDIO (local) — choose this when:

  • You’re developing on a desktop with VS Code/Cursor or an MCP Inspector locally.
  • You want the simplest path and minimal network surface.
  • You need quick iteration without container networking.

HTTP (remote/containers) — choose this when:

  • You deploy in Docker or on a remote host/orchestrator.
  • Multiple clients need to connect to the same MCP endpoint.
  • You want explicit host/port control and reverse proxy options.

How do I connect it to my AI tooling?

VS Code — GitHub Copilot Agent Mode / Cursor
Create .vscode/mcp.json or .cursor/mcp.json:

STDIO (local):

HTTP (remote):

Then enable the signnow tools in Agent Mode and use them in prompts.

Claude Desktop
Open Settings → Developer → Edit config and add a new server entry (same values as above, STDIO only) under mcpServers. Save and restart Claude Desktop.

Glama (hosted MCP)
Provide credentials, deploy, and use the generated /mcp endpoint with your clients.

MCP Inspector (testing)
Run the server and connect via STDIO or https://localhost:8000/mcp to list tools, inspect schemas, and test calls.


What does a typical AI-driven eSignature workflow look like?

Goal: Create a document from a template → pre-fill fields → route to multiple recipients in a pre-defined order → monitor status → download the final document (all without leaving your chat or IDE).

A horizontal step-by-step diagram titled “Typical eSignature process.” It shows five connected blue blocks progressing from left to right, each representing a stage in the signing workflow. The steps are: create a document from a template, pre-fill fields, route to recipients, monitor status, and download the completed document. The final step ends with an arrow pointing right, indicating process completion.
A horizontal step-by-step diagram titled “Typical eSignature process.”

Suggested flow:

  1. Discover templates
    The agent calls list_all_templates to find the right template or group.
  2. Create a document from the template
    Use create_from_template (or the one-shot *_from_template variants).
  3. Prefill fields (optional)
    Call update_document_fields to write text values before sending.
  4. Send invites or generate an embedded session
    • Email route: send_invite with ordered recipients.
    • Embedded route: create_embedded_invite to sign in-app without email.
  5. Track progress
    Poll get_invite_status to confirm where each signer stands.
  6. Retrieve the final document
    Use get_document_download_link (merged outputs for groups are supported).

Pro tip: If you already know the template and action you want, use a one-shot tool like send_invite_from_template or create_embedded_invite_from_template to reduce steps and complexity.


Which invite method should I use for my use case?

  • Email invites
    Best for standard external workflows and compliance traceability. Supports ordered recipients and doesn’t require your app to host the signing UI.
  • Embedded signing
    Best for product-led onboarding and in-app experiences. You create a signing link and control the session within your product. No email required.
  • Embedded sending & editor
    Ideal when internal teams need to prepare documents in your app and adjust fields before routing to signers.
  • One-shot flows
    Ideal for predictable, high-volume use cases where a single command should create a document from a template and take the next action immediately.

How do I configure environment variables safely?

Create a .env (or use your secrets manager) with the required variables:

Username/password (desktop dev flows):

OAuth 2.0 (hosted/advanced):

API endpoints (defaults shown, override if needed)

All settings are validated at startup via Pydantic settings. In production, persist your RSA private key to prevent token invalidation across restarts.


What business outcomes can this unlock?

  • Faster document turnaround
    Agents can trigger end-to-end signing workflows directly from tickets, chats, or internal tools.
  • Lower operational overhead
    Reusable templates plus one-shot flows minimize manual steps.
  • Better customer experience
    Embedded signing and sending keep users in your product.
  • Higher accuracy
    Agents can prefill fields and consistently follow your standard operating procedures.
  • Governance & control
    MCP tool boundaries, environment-based secrets, and OAuth options keep access auditable and scoped.

What SignNow API capabilities support this?

The underlying SignNow API lets you:

These are the foundation for the MCP server’s toolset and agent workflows.

A screenshot of the SignNow document editor displaying a “Two Party NDA Template” in the preparation stage. The screen shows an agreement form with recipient settings on the left panel and the editable document in the center.
A screenshot of the SignNow document editor displaying a “Two Party NDA Template” in the preparation stage.

Are there example integrations with popular agent frameworks?

Yes. The repository includes working examples for LangChain, LlamaIndex, and SmolAgents. Each shows how to start the MCP server as a subprocess, map MCP tools to framework tool formats, and run an agent end-to-end.

Install the example dependencies, set your .env, and run the sample scripts — they demonstrate the same flows covered above.


Final thoughts

The SignNow MCP Server brings the power of AI agents to your eSignature workflows—without sacrificing control. You define the tools, guard the credentials, and decide where agents can act. From templates to final PDFs, the journey is fast, repeatable, and auditable.

Start your free trial with SignNow API and ship your first AI-powered eSignature workflow today.


FAQs

Can I run this in production?
Yes. Use HTTP transport behind your standard proxy and secret manager. Enable OAuth 2.0, set token TTLs, and persist your RSA private key so restarts do not invalidate tokens. Log tool calls for audit.

What’s the difference between email invites and embedded signing?
Email invites route signers via email links and are great for external recipients. Embedded signing keeps the signer within your application, eliminating the need for email, making it ideal for guided, in-app experiences.

How do I avoid agents over-reaching?
Expose only the tools you need, and wrap them in clear instructions and guardrails in your client. MCP already scopes access to specific capabilities, reducing the blast radius compared to raw API keys.

Can I prefill data before sending?
Yes. Use update_document_fields to populate or adjust text fields before sending an invite or launching an embedded session.

Where do I see exact tool schemas?
Use MCP Inspector or your client’s “tool details” view to browse tool names, arguments, and response shapes.


Glossary

MCP (Model Context Protocol): A protocol that lets tools expose well-defined capabilities to AI agents over STDIO or HTTP. SignNow uses MCP to expose eSignature tools safely.

Embedded signing: An in-app signature experience you host, started by generating an embedded invite link.

One-shot flow: A single command that creates a document from a template and immediately takes an action (invite, embedded signing, sending, or editing).

Invite status: The current progress for a document or group, including step-level details per signer/recipient.Document group: A collection of documents sent and tracked together, often delivered and downloaded as a merged output.

Integrate eSignatures using AI agents with SignNow MCP Server