swiftsign-mcp
E-signature for AI agents. One unauthenticated call returns a sandbox API key (no account, no browser), then the agent can send documents for signature, check status, and download the sealed PDF plus Certificate of Completion.
README
SwiftSign
AI-native e-signatures. Send, track, and seal contracts from your terminal — Claude Code, Cursor, Zed, or any MCP-aware agent. ESIGN / UETA / PIPEDA compliant sealed PDFs with audit trail.
Stack
- Next.js 16.2 (App Router, Turbopack, React 19)
- Prisma 7 (preview) + Neon PostgreSQL via
@prisma/adapter-pg - Cloudflare R2 (S3-compatible) for PDFs + page images
- Resend for transactional email
- Stripe for billing (Free / Pro $15 / Team $79, monthly)
- Upstash Redis for rate limiting
- Sentry for error tracking
Setup on a fresh machine
git clone https://github.com/shahdadk/swiftsign.git
cd swiftsign
./scripts/bootstrap.sh
The bootstrap script installs Vercel CLI, logs you in (browser auth), links the
checkout to the SwiftSign Vercel project, pulls production env vars into
.env.local, and runs npm install. After it finishes, run npm run dev and
you're operational.
Manual local development
# Install (legacy-peer-deps is pinned in .npmrc, required for React 19 / Next 16)
npm install
# Generate the Prisma client (writes to src/generated/prisma/, gitignored)
npx prisma generate
# Apply schema migrations to your dev DB
npx prisma migrate deploy
# Run the dev server
npm run dev
Copy .env.local.example to .env.local and fill in the values, or run
./scripts/bootstrap.sh to pull them from Vercel.
Commands
npm run dev— start dev server on port 3000npm run build— production build (Turbopack)npm run start— run the built servernpm run lint— ESLintnpx prisma generate— regenerate the Prisma clientnpx prisma migrate dev --name <slug>— create a new migrationnpx tsx prisma/seed.ts— seed a local user (manual)
Deploying to Vercel
-
Provision services:
- Neon PostgreSQL database; copy the pooled connection string to
DATABASE_URL. - Cloudflare R2 bucket; create an API token with read/write; copy account ID, access key ID, secret, bucket name.
- Resend domain (verify DNS for the
EMAIL_FROMdomain) and an API key. - Stripe products: SwiftSign Pro ($15/mo recurring), SwiftSign Team ($79/mo recurring); copy price IDs. Enable Stripe Tax if collecting GST/HST/VAT. Set the customer portal return URL to
https://swiftsign.ca/dashboard/billingand enable cancel + payment-method update. - Stripe webhook endpoint:
https://swiftsign.ca/api/stripe/webhook, listening forcheckout.session.completed,customer.subscription.created/updated/deleted,invoice.paid,invoice.payment_failed. Copy the signing secret. - Upstash Redis instance for rate limiting; copy REST URL and token.
- Sentry project (Next.js); copy the DSN.
- Generate a
CRON_SECRET(16+ random chars). Vercel cron will pass this asAuthorization: Bearer <CRON_SECRET>.
- Neon PostgreSQL database; copy the pooled connection string to
-
Set environment variables on the Vercel project (Production + Preview). See
.env.local.examplefor the full list. -
Deploy: connect the repo, push to
main. Vercel runsnpx prisma generateandnext buildfrompackage.json.Run schema migrations once via
npx prisma migrate deploy— locally, or as part of a build hook. Subsequent deploys re-apply automatically if you wire it into the build command. -
Verify: visit
/api/healthcheck. Returns{ status: "ok" }with DB and R2 checks green.
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]+/api/sign/[token]— recipient signing flow. No account;signingTokenis the only credential./dashboard/*— sender UI. Cookie session viaswiftsign_session. Pages: envelopes list, envelope detail, billing, settings (API key + sessions), webhooks./api/stripe/webhook— Stripe → DB sync (subscription + plan)./api/cron/webhook-retry— runs every 5 minutes viavercel.jsonto retry failed outbound webhook deliveries.
MCP server
Independent npm package at mcp/. Build + publish:
cd mcp
npm install
npm run build
npm publish
Users install with:
claude mcp add swiftsign -- npx -y swiftsign-mcp
Configure with SWIFTSIGN_API_KEY (and optionally SWIFTSIGN_API_URL for self-hosted instances).
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。