Documenso MCP server for AI agents

Live

API KEY

E-SIGNATURES

Files & Documents

Documenso gives your agent e-signature workflows in your Documenso account: review envelopes, recipients, and fields, add signers and signature fields, send documents for signing, and read audit logs.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Documenso
agent · Acme Q3
Run
Send the NDA draft to its recipients for signing.
S
documenso_envelope_distribute
612ms
E-signature agent
Sent the NDA draft to its recipients for signing and returned the updated envelope.
Sources: Documenso envelope, 1 draft
documenso
1 envelope
18:29
Message Claude...

Tools your e-signatures agent reaches for on Documenso, scoped per user.

CALL ANY TOOL
29 tools for e-signatures in Documenso: review envelopes and audit logs, add recipients and fields, send or resend documents for signing, and cancel pending ones.
documenso_attachment_create
Create attachment
Add a link attachment to an envelope, shown to recipients as a supporting document. Returns the new attachment.
Parameters
Name
Type
Required
Description
data
object
Required
The attachment: label (shown to recipients) and data (the URL). Example: {"label": "Price list", "data": "https://example.com/prices.pdf"}.
envelope_id
string
Required
ID of the envelope (document or template). Get it from documenso_envelopes_list. Example: envelope_7f3c1a2b9d4e5f60718293a4.
documenso_attachment_delete
Delete attachment
documenso_attachment_update
Update attachment
documenso_attachments_list
List attachments
documenso_envelope_audit_log_list
List envelope audit log
documenso_envelope_cancel
Cancel envelope
documenso_envelope_delete
Delete envelope
documenso_envelope_distribute
Envelope distribute
documenso_envelope_duplicate
Duplicate envelope
documenso_envelope_get
Get envelope
documenso_envelope_item_delete
Delete envelope item
documenso_envelope_items_update
Update envelope items
documenso_envelope_redistribute
Envelope redistribute
documenso_envelope_update
Update envelope
documenso_envelopes_get_many
Envelopes get many
documenso_envelopes_list
List envelopes
documenso_field_delete
Delete field
documenso_field_get
Get field
documenso_fields_create
Create fields
documenso_fields_update
Update fields
documenso_folder_create
Create folder
documenso_folder_delete
Delete folder
documenso_folder_update
Update folder
documenso_folders_list
List folders
documenso_recipient_delete
Delete recipient
documenso_recipient_get
Get recipient
documenso_recipient_reject
Reject recipient
documenso_recipients_create
Create recipients
documenso_recipients_update
Update recipients
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Documenso tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["documenso"], toolNames: [
    "documenso_envelopes_list",
    "documenso_recipients_create",
    "documenso_envelope_distribute"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find the NDA draft, add Dana Lee as a signer, and send it for signing" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["documenso"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find the NDA draft, add Dana Lee as a signer, and send it for signing" }],
  tools,
});

// Execute the tool call with the user's vaulted Documenso API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["documenso"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find the NDA draft, add Dana Lee as a signer, and send it for signing" }],
  tools,
});

// Tool call runs with the user's vaulted Documenso API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["documenso"] }, pageSize: 100,
});

const agent = new Agent({
  name: "e_signature_agent",
  model: "gemini-2.5-pro",
  instruction: "Documenso tools scoped to this user",
  tools,
});

await agent.run("Find the NDA draft, add Dana Lee as a signer, and send it for signing");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Documenso tool. Click to copy, paste into your agent, done.
Review
Copy the prompt
Copied
List my pending envelopes.
Copy the prompt
Copied
Show the audit log for the NDA envelope.
Copy the prompt
Copied
Get the recipients and fields of the NDA envelope.
Prepare
Copy the prompt
Copied
Add Dana Lee as a signer on the NDA draft.
Copy the prompt
Copied
Add a signature field for each recipient.
Copy the prompt
Copied
Duplicate the NDA envelope into a new draft.
Send
Copy the prompt
Copied
Send the NDA to its recipients for signing.
Copy the prompt
Copied
Resend the signing email to recipients who have not signed.
Copy the prompt
Copied
Cancel the pending NDA so recipients can no longer sign it.
SEE HOW AUTH WORKS
Each user connects their own Documenso API key once, and Scalekit sends it with every call. API keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Documenso
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Documenso
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Documenso
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Documenso
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other file and document connectors.
People Ops and HR teams
Offer letter routing agent
Drafts the offer in PandaDoc, blocks on the hiring manager's approval in Slack, then emails the candidate their e-signature link. Every call runs as the recruiter who triggered it, never a shared HR bot.
GTM and RevOps Teams
Deal room sync
Pulls opportunity context from Salesforce, captures key decisions from Slack, and syncs a running summary to the deal room doc in Google Drive, but only when the deal actually changed.
Test other agents
See the same per-user auth pattern across other file and document connectors.
PEOPLE OPS
Offer letter routing agent
Draft the offer in PandaDoc, gate it on hiring manager approval in Slack, then email the candidate their signature link.
GTM
Deal room sync agent
Pull opportunity context from Salesforce, capture decisions from Slack, and keep the Google Drive deal room doc current.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Documenso API key looks fine in a demo. In production every envelope looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Documenso today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Documenso as the user or through a shared key?
As the user. Each user connects their own Documenso API key once, and Scalekit sends it with every call. Audit logs attribute every envelope to that user, not a shared service account.
Where is the Documenso API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Documenso?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list and get tools without documenso_envelope_distribute, which sends a draft to its recipients, and documenso_envelope_delete. 8 of the 29 tools are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Documenso access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent see what recipients did with a document?
Yes. documenso_envelope_audit_log_list returns the audit log of an envelope: views, signatures, emails, and changes.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""documenso"": {
""url"": ""https://mcp.scalekit.com/documenso"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.documenso]
url = ""https://mcp.scalekit.com/documenso""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""documenso"": {
""url"": ""https://mcp.scalekit.com/documenso"",
""type"": ""http""
}
}
}