MCP server
Package: @doctransit/mcp
Works with any MCP-compatible agent or IDE (Cursor, Claude Desktop, Claude Code, Windsurf, VS Code Copilot MCP, and others). The server speaks stdio and needs your DocTransit API key.
Config (all clients)
{
"mcpServers": {
"doctransit": {
"command": "npx",
"args": ["-y", "@doctransit/mcp"],
"env": {
"DOCTRANSIT_API_KEY": "dt_…",
"DOCTRANSIT_BASE_URL": "https://api.doctransit.com/v1"
}
}
}
}| Client | Config location |
|---|---|
| Cursor | ~/.cursor/mcp.json |
| Claude Desktop | macOS ~/Library/Application Support/Claude/claude_desktop_config.json · Windows %APPDATA%\Claude\claude_desktop_config.json |
| Claude Code | project .mcp.json or user Claude config (claude mcp add) |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| VS Code (Copilot / MCP) | .vscode/mcp.json (workspace) |
| Other | Run npx -y @doctransit/mcp over stdio with the env vars above |
Get an API key in the app: Developer → API Keys. Restart the client (or reload MCP) after saving.
Call me first. Signing envelopes (list_documents) and clause drafts (list_editable_documents) use different document_ids. prepare_signing converts a draft into an envelope (signing_document_id).
Tools
Account: me (mandate, flags, L1/L2).
Document flow: list_templates, upload_file, create_document, analyze_document, apply_analysis, place_fields, add_signers, send_document (requires confirm: true), get_document_status, get_sign_links, wait_for_document, download_signed_document, list_documents.
Signing (0.3+): list_mandates, request_sign (L1 — principal confirms), list_sign_requests (recover pending_exists), sign_as_principal (L2 — stored mark now + email notify; not a silent stamp). See Signing with an agent.
Contacts / offers: list_contacts, invite_contact, propose_contract, list_offers, accept_offer, decline_offer.
Editor (0.3+, when agent_editor is on): list_editable_documents, generate_document, list_contract_templates, use_contract_template, get_editable_document, modify_document, duplicate_document, list_document_versions, diff_document_versions, restore_document_version, prepare_signing (draft → PDF envelope).
Transfers (0.4+): upload_asset, list_drive, create_transfer, offer_transfer, list_transfers, get_transfer, claim_transfer, accept_transfer, download_transfer, cancel_transfer. upload_file stays PDF-only for signing envelopes. See Transfers.
Published npm @doctransit/mcp@0.2.x is the older create/send set. Mandate and editor tools need 0.3+. me, wait_for_document, list_sign_requests, and prepare_signing need 0.3.1+.
Example prompt
Using DocTransit, send our standard NDA template to ada@example.com and give me the sign link.