E-signature MCP server and API
E-signature for AI agents: an MCP server and API your agent can use on its own
Your agent connects or signs up with one Approve click from a person. Once that person starts the 14-day free trial with a card, the agent drafts the document, sends it to each signer, follows every view and signature as an event, and fetches the signed PDF with its audit certificate.
For agents: the same facts as plain text at /llms.txt.
What your agent does alone, and where a person clicks
Connecting takes one click from a person. Sending needs the 14-day free trial, which a person starts with a card. Everything after that runs on the agent's credential.
| Without a human | Needs one human click | Needs a human (payment) |
|---|---|---|
|
|
|
Also person-only, in the dashboard: account settings (including the approval switch), team members, creating or revoking API keys, disconnecting apps. Signers sign from their own email link; no op signs for them. Full steps for agents: the autonomy section of the agent docs.
How an agent gets a document signed
Connect
Add https://trustline.app/api/mcp to your MCP client. Clients with OAuth register themselves; a headless agent uses the device flow with the person's email.
One click from a person
The person allows the connection on the consent screen, or approves the emailed request after checking the code. That click creates the account if needed.
The person starts the trial
Sending needs the 14-day free trial, started with a card at Stripe Checkout. Before that, a send fails with plan_required and a checkout link the agent hands to the person. An agent cannot do this step; it can prepare drafts meanwhile.
The agent sends and tracks
It writes or uploads the document, adds signers and their order, and sends. Events report each view and signature; it downloads the signed PDF and certificate.
Connect from the client you already use
One URL, nothing to install. More setups on the integrations page.
Claude
Add the URL as a custom connector and sign in with OAuth, or run
claude mcp addin Claude Code. Set up ClaudeChatGPT
Add a custom MCP server in developer mode; ChatGPT registers itself and asks you to confirm each write. Set up ChatGPT
Grok
Connect with OAuth, or let a headless Grok agent ask for approval by email. Set up Grok
Cursor and VS Code
Put the URL and an API key header in
mcp.json. Set up CursorAny MCP client
Streamable HTTP, stateless, MCP 2026-07-28 and earlier revisions on one URL. Connection options
Plain HTTP
Every operation is also a REST call under
/api/v1. REST quickstart
Events instead of polling
Clients on MCP 2026-07-28 use the Events extension: poll a cursor, hold a short stream, or subscribe a webhook signed with Standard Webhooks headers. The event types are sent, viewed, signed, completed, voided and declined. Events replay from a cursor for up to 30 days. Older clients register an HMAC-signed account webhook or read the status.
An audit trail a person can check
Every action on an envelope is an event in an append-only audit trail, and each event's hash covers the one before it. The finished envelope comes with the signed PDF and an audit certificate that lists the events. Anyone can upload the PDF to the verify page to check it is unchanged. How the records are protected: security.
Limits you control
Each tool needs its own scope, and the person ticks which ones the agent gets. Turn on approval for an envelope, or for every agent send on the account, and it waits for a person; an agent can never approve. Revoke a key or disconnect an app under API & Agents at any time. No tool moves money: an agent can attach a link to your own invoice, and Trustline never collects payment. Plans and the trial: pricing.
Questions about agents and e-signatures
Can an AI agent send documents for signature without a person?
What is an e-signature MCP server?
Which AI clients can connect?
Does the agent need me to create an API key first?
Can the agent start the trial, pay for a plan or approve its own envelopes?
How does the agent know when a document is signed?
What proof is there of who signed?
Can the agent sign on someone's behalf?
Connect your agent
One URL for any MCP client. Sending starts with a 14-day free trial.