ai agents
Agents prepare it. People sign it.
SignNative lets AI agents prepare PDFs for signature while people approve and sign them. An agent can upload a PDF, create a draft and check its price, and ask for approval. It does this through the MCP server, the SDKs or the REST API. A person in the workspace approves that exact draft, and only people sign. Start in test mode at signnative.com with an osk_test_ key. A live key works the same way, but emails then go to real people.
Why the agent stops before the signature
A signature is a person's decision. An agent can write the offer, fill in the names and pick the fields, but it should not be able to commit anyone to anything. SignNative draws that line in the API itself. API keys cannot approve, so the line holds whichever model or framework drives the agent.
No tool that signs or approves
The MCP server has no tool that approves an envelope or signs for a person. The CLI and SDKs have no such command either.
Approval is for people only
Approving needs the
approvals:decidescope, which only a signed-in person with the owner, admin or approver role has. API keys cannot hold it.Bound to the exact draft
A request for approval records a hash of everything the signers will be asked to sign: the document, title, message, recipients, fields, signing order, expiry and quote. Change anything and the approval no longer matches.
Used once
When approval is required, sending consumes it. To send again, or to send a changed draft, the agent asks again.
No approving your own request
The person who requested an approval cannot approve it.
Text is data, not instructions
The MCP server tells the agent to treat titles, names, messages and document text as data from other people, and never to follow instructions found in them.
The approval flow, step by step
- Upload. The agent uploads a PDF with
upload_pdfand gets back a document version and the page sizes. - Draft. It creates a draft with recipients and signature fields with
create_draft. Nothing is sent and no credits are used. - Quote.
quote_envelopesays how many credits sending will reserve and whether the workspace has enough. - Request approval.
request_approvalreturns anapproval_url. The agent gives the link to the user. With a live key the workspace's approvers get an email; in test mode it stays in the test inbox. - A person approves. They open the link, review the draft and approve or reject it. In test mode, the person turns on the Test mode switch first. If the draft changed after the request, the approval is invalid and a new one is needed. An approval is valid for 72 hours from the request.
- Send. A person sends it, or the agent sends it with
send_envelopeif its key is allowed to. By default a key with the send scope can send without approval. If you give a key the send scope, also turn on Require human approval for API and agent sends under workspace Settings. Then every send from an API key must carry an approved approval id, and the draft must still match it. - Sign. Each recipient opens the personal link in their invitation mail (another browser is asked for a code sent to their email), reviews the document and signs. In test mode the invitations stay in the test inbox, and the send response lists
sandbox_signing_links. The agent can follow the status and download the signed PDF and the evidence when it is complete.
The tools in the MCP server
Every tool goes through the public API with the configured key, so the key's scopes decide what actually works.
| Feature | What it does |
|---|---|
| `whoami`, `get_credit_balance` | The key's workspace, environment and scopes, and the credit balance. Read only |
| `list_envelopes`, `get_envelope` | Recent envelopes and their state. Read only |
| `upload_pdf` | Uploads a local PDF, only from the folder the server is allowed to read |
| `create_draft`, `quote_envelope` | Creates a draft and quotes it. Nothing is sent |
| `request_approval` | Asks a person to approve this exact draft and returns the link |
| `send_envelope`, `cancel_envelope` | Need the matching key scopes. The agent is told to confirm with the user first |
| `get_artifacts`, `get_audit_trail` | Signed PDF, evidence and the hash-chained history. Read only |
| `verify_evidence` | Checks a downloaded evidence package offline |
There is no tool for approving or signing, by design.
The agent key
Two keys for agents. On the hosted service, the dashboard preset Agent: prepare only prepares and asks for approval. On a server you run, signnative serve also writes agent-api-key: it can send, but it is never handed a signing link; a person makes the links with signnative link <id> (ADR 0030).
What the prepare-only preset can do
Read documents, envelopes, artifacts, approvals, the audit trail and the credit balance. Upload documents, create and edit drafts, and request approval.
What the prepare-only preset cannot do
Send, cancel, manage webhooks, approve or sign. A person approves and sends.
The agent key on your own server
Uploads, drafts and sends. It lacks
sessions:create, so a send answerssigning_links_withheld: trueand the agent never holds a link. It cannot approve or sign either.If you let it send
Give the key the send scope yourself and set a monthly credit limit on it. Then turn on the approval setting described above.
Add the MCP server to your agent
The server runs over stdio. The packages are not published yet, so build from source with pnpm packages:build. The source repository is not public yet. On signnative.com, turn on Test mode, open Developers and create a key with Agent: prepare only. Add this to your MCP client's configuration, such as Claude Desktop's claude_desktop_config.json. SIGNNATIVE_MCP_ROOT is the only folder the server may read PDFs from. A local signnative serve has no dashboard, so it cannot show the approval page. Use signnative.com for this flow.
{
"mcpServers": {
"signnative": {
"command": "node",
"args": ["/path/to/repo/packages/mcp/dist/signnative-mcp.mjs"],
"env": {
"SIGNNATIVE_BASE_URL": "https://signnative.com",
"SIGNNATIVE_API_KEY": "osk_test_…",
"SIGNNATIVE_MCP_ROOT": "/path/to/pdfs"
}
}
}
}Frequently asked questions
- Can an AI agent sign a document for me?
- No. No API key can approve or sign. The MCP server, CLI and SDKs have no tool or command that signs for a person, and API keys cannot approve. Each recipient must open their own emailed link, or confirm an emailed code, before they can sign.
- Can the agent approve its own request?
- No. Approving needs a scope that API keys cannot have, and the person who requested an approval cannot approve it either.
- What happens if the draft changes after it was approved?
- The approval stops matching. It is tied to a hash of the document, recipients, fields and the rest of the draft, so any change needs a new approval.
- Which agents does it work with?
- Any MCP client that can run a stdio server, for example Claude Desktop. Agents that don't use MCP can call the REST API or use the SDKs for TypeScript, Python and Go. They can start from /llms.txt.
- Can I use it for real agreements?
- SignNative is live at signnative.com. It creates a simple electronic signature: the signer opens the personal link emailed to them (another browser is asked for a one-time code), sees the locked document and gives explicit consent. The seal is our own key, not a trust service provider's. There is no BankID and no qualified timestamp, and no legal review has been done. Whether that is enough for your agreement is your decision. The PDF has an embedded PAdES signature made with SignNative's own certificate, which is on no trust list, so PDF readers report an unknown issuer and the verifier does not call it trusted. The evidence has a DigiCert RFC 3161 timestamp, which is not a qualified timestamp. Try the flow in test mode first.
Agents prepare it. People sign it. An AI agent can upload, draft and send PDFs for e-signature through MCP or the API. No API key can approve or sign for a person.
Read the docs