npm @signatrust/mcp-serverstdioMITupdated 1mo ago
Send and verify e-signatures from Claude — zero-custody, with independently verifiable cryptographic evidence for every signature.
Was kannst du mit SignaTrust machen?
@signatrust/mcp-server
Send and verify e-signatures from Claude — zero-custody, with independently verifiable cryptographic evidence for every signature.
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}" }
}
}
}
Available 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 |
Create and send envelope for signing. Accepts documentIds (after upload_document) or templateId (backend copies the template). Supports three-tier securityLevel. |
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 a document (e.g. the executed PDF) | documents:read |
analyze_document |
Run AI contract analysis on an envelope (Gemini-powered risk/sentiment review, plan-gated) | ai:analyze |
verify_blockchain |
Verify Solana anchor and return composite hash + file hash + explorer URL | envelopes:read |
get_evidence |
Get the full court-ready evidence bundle (envelope, signers, audit trail, blockchain verification) | 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 |
envelopes:write |
create_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 send it to alice@example.com with VERIFIED security"
- "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"
- "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.
Installation
SignaTrust zu deinem Client hinzufügen. Wähl den, den du nutzt.
claude mcp add mcp-server -- npx -y @signatrust/mcp-servercodex mcp add mcp-server -- npx -y @signatrust/mcp-serveramp mcp add mcp-server -- npx -y @signatrust/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server","command":"npx","args":["-y","@signatrust/mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@signatrust/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @signatrust/mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
9 Tools
SignaTrust stellt einem verbundenen Agent 9 Tools bereit.
- list_envelopes
- List envelopes with status filter and pagination
- get_envelope
- Get full envelope details (signers, docs, blockchain)
- create_envelope
- Create and send envelope for signing. Accepts `documentIds` (after `upload_document`) or `templateId` (backend copies the template). Supports three-tier `securityLevel`.
- list_templates
- List available document templates
- upload_document
- Read a local file and upload it to SignaTrust, returning a document ID for `create_envelope`
- download_document
- Get a time-limited pre-signed URL to download a document (e.g. the executed PDF)
- analyze_document
- Run AI contract analysis on an envelope (Gemini-powered risk/sentiment review, plan-gated)
- verify_blockchain
- Verify Solana anchor and return composite hash + file hash + explorer URL
- get_evidence
- Get the full court-ready evidence bundle (envelope, signers, audit trail, blockchain verification)
Score
75 / 100
Gut
- Dokumentation25/25
- Pflege16/25
- Vertrauen16/20
- Funktionsumfang6/15
- Installation12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 45 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 9 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Versionsverlauf
| Versionen | Veröffentlicht |
|---|---|
| 0.3.2Aktuell | 26. Juni 2026 |