SignaTrust

v0.3.2
io.signatrust/mcp-server Checked 2 days ago Published 5 months ago

Blockchain-anchored e-signatures: send envelopes, manage templates, verify anchors on Solana.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_envelopes

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

ParameterTypeDescription
limitnumberResults per page (default: 10)
pagenumberPage number (1-indexed)
statusstringFilter by envelope status

get_envelope

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

ParameterTypeDescription
envelopeId *stringEnvelope ID (from list_envelopes or create_envelope)

create_envelope

Create and send a new envelope for signing. 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). Signers are notified via their chosen delivery method. 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…

ParameterTypeDescription
name *stringEnvelope name/title shown to signers (max 256 chars)
signers *arrayList of signers for this envelope
documentIdsarrayIDs of documents to include. Use upload_document to create a document first. Either documentIds or templateId is required.
messagestringOptional message included in the signing notification
securityLevelstringSigning ceremony tier. STANDARD = bearer-token only (default, legally weakest — vulnerable to link-forwarding disputes). VERIFIED = STANDARD + SMS/email OTP (defeats link forwarding; suitable for em…
templateIdstringTemplate ID to create the envelope from. When set, the backend copies the template's document server-side — you do not need to supply documentIds. Either documentIds or templateId is required.

list_templates

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

ParameterTypeDescription
includeSystembooleanInclude system-provided templates alongside user templates (default: true)

upload_document

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.

ParameterTypeDescription
filePath *stringAbsolute path to the file on the local filesystem
contentTypestringMIME type (default: inferred from the file extension — .pdf, .docx, .png, .jpg, .jpeg are recognised)
namestringDisplay name for the document (default: the file's basename)

download_document

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). Requires the documents:read scope on your API key.

ParameterTypeDescription
documentId *stringDocument ID (from upload_document, or from documents[].id on a get_envelope / list_envelopes result)

analyze_document

Run AI contract analysis (Google Gemini) on a completed envelope's document. Returns a structured report covering risk assessment, flagged clauses, and overall sentiment (SAFE / CAUTION / RISKY). Plan-gated: free accounts receive a 403; upgrade to Pro Lite or above to use this. Surface the 403 message to the user rather than retrying.

ParameterTypeDescription
envelopeId *stringEnvelope ID to analyze

void_envelope

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}.

ParameterTypeDescription
envelopeId *stringEnvelope ID to void
reasonstringOptional reason for voiding — included in the cancellation notice sent to signers, the audit event, and the webhook payload. Recommend providing one so signers understand why.

verify_blockchain

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.

ParameterTypeDescription
envelopeId *stringEnvelope ID to verify

get_evidence

Get the full evidence bundle for an envelope in a single record: the envelope, all signers, the complete hash-chained audit trail (with start/end timestamps), and — when the envelope has been anchored — its blockchain verification. This is the court-ready, self-contained proof of the signing: retain it or hand it to a third party who can verify the signing independently. Use verify_blockchain instead when you only need the on-chain anchor; use this when you need the whole record. Requires the envelopes:read scope on your API key.

ParameterTypeDescription
envelopeId *stringEnvelope ID to build the evidence bundle for