mcp
E-signatures for agents: mint a sandbox key, send PDFs, track status, download the sealed result.
Install
mcp_config.json
{
"mcpServers": {
"ca-swiftsign-mcp": {
"url": "https://swiftsign.ca/mcp",
"type": "streamable-http"
}
}
}Documentation
SwiftSign
AI-native e-signatures. Send, track, and seal contracts from your terminal: Claude Code, Cursor, Zed, or any MCP-aware agent. No drag handles. No per-seat fees.
Why
DocuSign assumes a person with a cursor, dragging signature boxes onto a PDF and paying per seat. SwiftSign assumes code. It is API-first and agent-native: a script or an AI agent can mint a key, send a legally binding contract, track it to completion, and pull back the sealed PDF and Certificate of Completion, end to end, without a browser.
What you get
- REST API at
/api/v1/envelopes, bearer-token auth, quota-enforced. - MCP server (swiftsign-mcp) with 11 tools so agents can sign documents directly, including agent self-signup and a confirm gate on live sends.
- SDKs for JavaScript and Python.
- Signer flow with no account required: a secure signing link, e-sign consent, and signature capture by draw, type, or upload.
- Sealed PDFs with a SHA-256 hash, full audit trail, and a Certificate of Completion.
- DocuSign importer so you can bring existing templates across.
- Compliant under ESIGN, UETA (United States), PIPEDA, and the Ontario Electronic Commerce Act (Canada).
Use it from an agent
claude mcp add swiftsign -- npx -y swiftsign-mcp
"Send the MSA at ./contracts/Acme_MSA.pdf to john@acme.com for signing,
with a signature field at the bottom."
The agent mints a sandbox key if it has none, places the fields, emails the signer a link, and reports back when it is sealed. See swiftsign-mcp for the full tool list.
Stack
- Next.js 16.2 (App Router, Turbopack, React 19)
- Prisma 7 + Neon PostgreSQL via
@prisma/adapter-pg - Cloudflare R2 (S3-compatible) for PDFs and page images
- Resend for transactional email
- Stripe for billing (Free / Pro $15 / Team $79, monthly)
- Upstash Redis for rate limiting, Sentry for error tracking
Architecture
/api/v1/envelopes: public REST API; bearer-token auth viaAuthorization: Bearer <apiKey>. Quota enforced (5/mo on Free, unlimited on Pro/Team)./sign/[token]and/api/sign/[token]: recipient signing flow. No account; thesigningTokenis the only credential./dashboard/*: sender UI. Cookie session viaswiftsign_session. Envelopes, billing, settings (API key, sessions), webhooks./api/stripe/webhook: Stripe to DB sync (subscription and plan)./api/cron/webhook-retry: runs every 5 minutes viavercel.jsonto retry failed outbound webhook deliveries.
Development
git clone https://github.com/shahdadk/swiftsign.git
cd swiftsign
./scripts/bootstrap.sh
The bootstrap script installs the Vercel CLI, logs you in, links the checkout to the SwiftSign Vercel project, pulls production env vars into .env.local, and runs npm install. Then npm run dev and you are operational.
Manual setup:
npm install # legacy-peer-deps is pinned in .npmrc (React 19 / Next 16)
npx prisma generate # writes the Prisma client to src/generated/prisma/
npx prisma migrate deploy # apply schema migrations to your dev DB
npm run dev # dev server on port 3000
Common commands:
npm run dev: start the dev server on port 3000npm run build: production build (Turbopack)npm run start: run the built servernpm run lint: ESLintnpx prisma migrate dev --name <slug>: create a new migrationnpx tsx prisma/seed.ts: seed a local user
Deploying to Vercel
Provision Neon (PostgreSQL), Cloudflare R2, Resend, Stripe (Pro and Team products plus a webhook on /api/stripe/webhook), Upstash Redis, and Sentry. Set the env vars from .env.local.example on the Vercel project (Production and Preview), connect the repo, and push to main. Vercel runs npx prisma generate and next build. Apply schema once with npx prisma migrate deploy. Verify at /api/healthcheck.
MCP server
The MCP server has its own repository at swiftsign-mcp and is published to npm as swiftsign-mcp.
Sourced from the repository README.
More in AI & Agents
- PonytailMakes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.109,599
- AgentsMulti-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Google Antigravity39,079
- Frontend SlidesCreate beautiful slides on the web using a coding agent's frontend skills28,060
- Agent Skills Search ServerSearch and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.24,658
- Agency Agents Zh🎭 267 个即插即用的 AI 专家角色 — 支持 Hermes Agent/Claude Code/Cursor/Copilot 等 18 种工具,覆盖工程/设计/营销/金融等 20 个部门。含 52 个中国市场原创智能体(小红书/抖音/微信/飞书/钉钉等)。搭配编排器 agency-orchestrator,一句话即可让多位专家按 DAG 自动协作。19,868
- Watermarks RemoverStrip multi-vendor AI provenance marks: Unicode text hygiene, statistical rewrite hooks, and C2PA/metadata from PNG/JPEG/SVG/PDF/DOCX/HTML/MD17,822