Skip to main content
Glama
SignaTrust MCP Server

SignaTrust MCP Server

Official

@signatrust/mcp-server

Send and verify e-signatures from Claude — zero-custody, with independently verifiable cryptographic evidence for every signature.

npm downloads MCP Registry License: MIT

Model Context Protocol (MCP) server for the SignaTrust document signing API. Enables AI assistants like Claude to create envelopes, manage templates, check signing status, and verify blockchain anchors via natural language.

Quick Start

Claude Code

claude mcp add signatrust -- npx -y @signatrust/mcp-server

Then set your API key in the MCP server environment.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "signatrust": {
      "command": "npx",
      "args": ["-y", "@signatrust/mcp-server"],
      "env": {
        "SIGNATRUST_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

{
  "mcpServers": {
    "signatrust": {
      "command": "npx",
      "args": ["-y", "@signatrust/mcp-server"],
      "env": {
        "SIGNATRUST_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json (note the top-level key is servers, not mcpServers):

{
  "servers": {
    "signatrust": {
      "command": "npx",
      "args": ["-y", "@signatrust/mcp-server"],
      "env": {
        "SIGNATRUST_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

To keep the key out of the file, use an input prompt instead of env:

{
  "inputs": [
    { "id": "signatrust-key", "type": "promptString", "description": "SignaTrust API key", "password": true }
  ],
  "servers": {
    "signatrust": {
      "command": "npx",
      "args": ["-y", "@signatrust/mcp-server"],
      "env": { "SIGNATRUST_API_KEY": "${input:signatrust-key}" }
    }
  }
}

Related MCP server: DottedSign MCP

Available Tools

All 12 tools:

Tool

Description

Required Scope

list_envelopes

List envelopes with status filter and pagination

envelopes:read

get_envelope

Get full envelope details (signers, docs, blockchain)

envelopes:read

create_envelope

Stage an envelope as a DRAFT. Notifies nobody; show the user the draft, then call send_envelope. Accepts documentIds (after upload_document) or templateId (backend copies the template). Supports three-tier securityLevel.

envelopes:write

send_envelope

Send a DRAFT to its signers: the only tool that notifies them. Legally binding and irreversible; call it only after the user confirms.

envelopes:write

void_envelope

Cancel an envelope in progress. Signers already invited get a cancellation notice.

envelopes:write

list_templates

List available document templates

templates:read

upload_document

Read a local file and upload it to SignaTrust, returning a document ID for create_envelope

documents:write

download_document

Get a time-limited pre-signed URL to download one document, such as the signed PDF. The PDF alone: no audit trail and no signed manifest. For the verifiable evidence, use get_evidence_bundle.

documents:read

analyze_document

Run AI contract analysis on an envelope's document. The document is sent to SignaTrust's servers and analysed there by Google Gemini, so get the user's consent for that document first. Available on every plan; refused when the organization has switched AI off or is in HIPAA mode.

ai:analyze

verify_blockchain

Verify Solana anchor and return composite hash + file hash + explorer URL

envelopes:read

get_evidence

Get the envelope's evidence record as JSON (envelope, signers, audit trail, blockchain verification). No PDF and no signed manifest, so it is not the verifiable artifact; use get_evidence_bundle for that.

envelopes:read

get_evidence_bundle

Get a single-use, 15-minute download link to the sealed evidence bundle ZIP (signed PDF, signer records, audit trail, manifest signed by SignaTrust's published key), with its SHA-256, size and signing key fingerprint. Fetch the link with no auth header and verify the ZIP at https://www.signatrust.io/verify. Refusals: HTTP 409 with code ENVELOPE_NOT_COMPLETED, BLIND_CUSTODY or DOCUMENT_DESTROYED.

envelopes:read

Three-tier security. create_envelope accepts securityLevel: STANDARD (bearer token only), VERIFIED (adds SMS/email OTP — recommended for employment, vendor, or healthcare consent), or CERTIFIED (adds WebAuthn biometric + device binding — recommended for real estate, high-value, or regulatory signings).

API Key Scopes

Create an API key at Settings > API Keys in your SignaTrust dashboard. Assign scopes based on what tools you need:

Scope

Tools Enabled

envelopes:read

list_envelopes, get_envelope, verify_blockchain, get_evidence, get_evidence_bundle

envelopes:write

create_envelope, send_envelope, void_envelope

templates:read

list_templates

documents:write

upload_document

documents:read

download_document

ai:analyze

analyze_document

Environment Variables

Variable

Required

Default

Description

SIGNATRUST_API_KEY

Yes

-

API key starting with sk_live_

SIGNATRUST_API_URL

No

https://app.signatrust.io

API base URL

Natural Language Examples

Once connected, you can ask your AI assistant things like:

  • "List all my pending envelopes"

  • "Upload ~/Documents/nda.pdf and prepare it for alice@example.com with VERIFIED security" (the assistant stages a draft and asks you before sending)

  • "Show me available templates, then create a lease agreement from the residential template for John Doe"

  • "Check the blockchain verification for envelope env_abc123 and show me the composite hash"

  • "Get the evidence bundle for envelope env_abc123, download it, and check its SHA-256"

  • "Run AI analysis on envelope env_xyz — I want to know if there are any risky clauses before the signer reviews it"

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Type check
npm run typecheck

# Local smoke test
SIGNATRUST_API_KEY=sk_live_xxx SIGNATRUST_API_URL=http://localhost:3000 node dist/server.js

Architecture

src/
  server.ts                      # Entry point — env validation, MCP server setup, stdio transport
  handlers.ts                    # Tool definitions and handler dispatch (testable)
  errors.ts                      # RFC 7807 ProblemDetails -> MCP tool error mapping
  vendor/signatrust-sdk/         # Vendored HTTP client + types (zero external runtime deps)
  *.test.ts                      # Co-located test files

The HTTP client and API types are vendored under src/vendor/signatrust-sdk/ so this package has no external runtime dependencies beyond @modelcontextprotocol/sdk.

Available Tools

12 tools
analyze_documentA

Run AI contract analysis on an envelope's document (any status, DRAFT included). The document is sent to SignaTrust's servers and analysed there by a third-party AI model (Google Gemini), so ask the user for explicit consent for THIS document before calling it: SignaTrust's policy is that server-side AI on a document needs per-document consent. Returns a structured report covering risk assessment, flagged clauses, and overall sentiment (SAFE / CAUTION / RISKY). Available on every plan. Refused with a 403 when the organization has switched AI processing off or is in HIPAA mode; surface that message rather than retrying. Each call runs a new, paid AI analysis.

Inputs: envelopeId (required).

create_envelopeA

Create a new envelope as a DRAFT for review. This does NOT send it — no signer is notified. Show the user the draft, and only dispatch it when they explicitly confirm, by calling send_envelope. (Sending is legally binding and irreversible, so it is deliberately a separate step.) Requires a name, at least one signer, and at least one document (pass document IDs from upload_document, or pass a templateId to create from a template). Use securityLevel to match the legal weight required: STANDARD for routine/internal approvals; VERIFIED (adds SMS/email OTP) for employment, vendor, or healthcare consent; CERTIFIED (adds WebAuthn biometric + device binding) for real estate, high-value, or regulatory signings. Note: each signer needs either an email or a phone, and you must pass either documentIds or templateId (not both). Examples:

  1. Single signer from an uploaded document: {"name":"Mutual NDA","signers":[{"name":"Dana Lee","email":"dana@acme.com"}],"documentIds":["doc_abc123"]}

  2. Two signers with routing order (Dana first, then Sam by SMS), VERIFIED tier: {"name":"Employment Agreement","securityLevel":"VERIFIED","signers":[{"name":"Dana Lee","email":"dana@acme.com","routingOrder":1},{"name":"Sam Ortiz","phone":"+14155550123","deliveryMethod":"SMS","routingOrder":2}],"documentIds":["doc_abc123"]}

  3. From a template (omit documentIds — backend copies the template doc), CERTIFIED tier: {"name":"Lease Renewal 2026","securityLevel":"CERTIFIED","templateId":"tpl_lease","signers":[{"name":"Pat Singh","email":"pat@example.com"}],"message":"Please review and sign by Friday."}

Inputs: name (required), signers (required), message, templateId, +2 more.

download_documentA
Read-only

Get a time-limited download URL for a document (e.g. the executed/signed PDF or an uploaded source file). Returns the document name and a pre-signed downloadUrl valid for a limited window (expiresIn seconds) — fetch the bytes from that URL directly; it carries its own auth and does not need the API key. Pass a document ID from upload_document or from an envelope's documents[] (see get_envelope). This is the PDF alone, with no audit trail and no signed manifest, so it is not the verifiable evidence: for that, use get_evidence_bundle. Requires the documents:read scope on your API key.

Inputs: documentId (required).

get_envelopeA
Read-only

Get full details of a specific envelope including all signers, documents, status, security level, and blockchain anchoring info.

Inputs: envelopeId (required).

get_evidenceA
Read-only

Get an envelope's evidence record as JSON: the envelope, all signers, the hash-chained audit trail (with start/end timestamps), and — when the envelope has been anchored — its blockchain verification. This is a record to read, not the sealed bundle: it carries no PDF and no signed manifest, so a third party cannot verify it on its own. For the verifiable artifact, use get_evidence_bundle. Use verify_blockchain when you only need the on-chain anchor. Requires the envelopes:read scope on your API key.

Inputs: envelopeId (required).

get_evidence_bundleA

Get a download link for a completed envelope's sealed evidence bundle: a ZIP holding the final signed PDF, the signer records and the hash-chained audit trail, with a manifest signed by SignaTrust's published key (listed at https://www.signatrust.io/trust/keys). Returns url, expiresAt, sha256 (of the ZIP bytes), sizeBytes and signingKeyFingerprint. The link works ONCE and expires after 15 minutes: fetch it with a plain HTTP GET (no auth header) straight to a file, and do not pass the ZIP's bytes through the conversation. Check the file's SHA-256 against sha256, then verify it at https://www.signatrust.io/verify. Refused with HTTP 409 and a code: ENVELOPE_NOT_COMPLETED; BLIND_CUSTODY (SignaTrust's servers cannot open a blind-custody document, so the bundle is assembled in the SignaTrust web app); DOCUMENT_DESTROYED (the signed document was destroyed after delivery; use get_evidence and verify_blockchain instead). Requires the envelopes:read scope on your API key.

Inputs: envelopeId (required).

list_envelopesA
Read-only

List signature envelopes with optional status filter and pagination. Returns envelope summaries including signers, documents, and blockchain anchoring status.

Inputs: page, limit, status.

list_templatesA
Read-only

List available document templates. Templates provide pre-configured documents with defined signer roles and form-field placement.

Inputs: includeSystem.

send_envelopeA
Destructive

⚠️ SEND a DRAFT envelope to its recipients — this dispatches the signing invitations, is legally binding, and is irreversible. Only call this after the user has reviewed the draft (from create_envelope) and explicitly confirmed. It transitions the envelope to SENT and notifies the first routing-order signers. IMPORTANT: a SENT status does NOT mean recipients were reached. Read the delivery object in the response and branch on delivery.state: DELIVERED_ALL (everyone got the invite), DELIVERED_PARTIAL (some did not — tell the user who, from delivery.signers), DELIVERED_NONE (nobody was reached; the envelope is sent but stuck — do not report it as delivered). delivery.detail is a plain-language summary you can relay.

Inputs: envelopeId (required).

upload_documentA

Upload a local file to SignaTrust and return a document ID suitable for passing to create_envelope. Reads the file from disk, requests a pre-signed S3 upload URL, streams the bytes, and returns metadata. Supported: PDF (recommended), DOCX, images. Max size is enforced by your plan's limits.

Inputs: filePath (required), name, contentType.

verify_blockchainA
Read-only

Verify a completed envelope's Solana anchor. Returns the composite hash (SHA-256 binding the final PDF, signer metadata, and the hash-chained audit trail), the file hash, the Solana transaction ID, and an explorer URL. Because the composite hash is anchored to Solana, any modification to the document, signer records, or audit trail breaks the hash chain and fails verification. This is the proof that makes the envelope independently verifiable without SignaTrust.

Inputs: envelopeId (required).

void_envelopeA
Destructive

Void (cancel) an in-progress envelope. The envelope's status becomes VOIDED, all signers receive a cancellation notice, and the void is recorded in the audit trail. Use this when the sender needs to cancel a contract that has already been sent to signers. Fails if the envelope is already COMPLETED or already VOIDED — use get_envelope first to check status. After voiding, the envelope can be deleted via the dashboard or DELETE /api/v1/envelopes/{id}.

Inputs: envelopeId (required), reason.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 12 tools

    Disambiguation4/5

    The set clearly separates the main lifecycle actions: create_envelope makes a draft, send_envelope dispatches it, and void_envelope cancels it. However, verify_blockchain, get_evidence, get_evidence_bundle, and download_document all relate to evidence or document retrieval, and although their descriptions carefully explain the differences, there is still some risk of selecting the wrong one.

    Naming Consistency5/5

    All 12 tool names use snake_case with a predictable verb_noun structure, such as list_envelopes, create_envelope, send_envelope, get_evidence_bundle, upload_document, and download_document. No mixed casing or inconsistent verb styles are present.

    Tool Count5/5

    Twelve tools is well within the appropriate range for an e-signature and trust platform. Each tool maps to a distinct lifecycle, document, template, analysis, or verification operation, with no obvious filler.

    Completeness4/5

    The core signing workflow is covered: upload documents, create drafts, send, list/get envelopes, void, download/analyze documents, retrieve evidence, and verify blockchain anchors. Minor gaps remain: there is no update_envelope or draft-edit operation, no delete_envelope tool, and no resend/reminder operation, though agents can work around several of these via existing APIs or dashboards.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables management of e-signature envelopes — create, check status, list, send reminders, and void — through natural language.
      37
      Apache 2.0
    • 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
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents and developers to create, send, and follow up on contracts for e-signature, manage signers and templates, retrieve signed PDFs and audit trails, and verify PDF signatures. It keeps signing and declining in the hands of each signer through personal links.
      1
      MIT