AI agents
AI agents · Cursor

E-signatures in Cursor: secure and reliable, without leaving your editor

You are building the app that needs a signature step. Let Cursor send a real contract to your own address, read back the statuses and wire the flow, all from one window.

API on every planWorks today via API

Connect in three steps

  1. Step 1

    Create a key and export it

    Create a key under Settings → API. Set WESIGN_API_KEY in your shell profile or system environment: that is where Cursor reads a remote server’s variables.

  2. Step 2

    Add the entry to mcp.json

    .cursor/mcp.json serves one project, ~/.cursor/mcp.json all of them. ${env:WESIGN_API_KEY} keeps the key out of the file.

  3. Step 3

    Ask the agent

    Cursor lists the server with its tools. Ask the agent for whoami, then for a send to your own address.

The setup

Your API key goes where the variable or placeholder is. Settings → API → Connect an AI agent fills it in for the clients listed there.

{
  "mcpServers": {
    "wesign": {
      "url": "https://www.wesign.now/api/mcp",
      "headers": { "Authorization": "Bearer ${env:WESIGN_API_KEY}" }
    }
  }
}

A first prompt to try

Start with the one that sends nothing. The second is a real send, so it goes to your own address.

  1. Check the connectionCall whoami on wesign and tell me my plan and how many API documents I have left this month.
  2. Your first sendSend contract.pdf to me at my-own-address@example.com for signature. Show me the document and the signer first, wait for my yes, and tell me when it is signed.

Six things your agent does for you

  • Send a PDF

    To up to 20 signers, in the order you choose.

  • Send from a template

    Fill a locked template and send it. On Enterprise.

  • Track every signer

    Who has signed and who is next.

  • Remind

    Email a signer their link again.

  • Withdraw

    Stop a request. Its link stops working.

  • Fetch the signed PDF

    The sealed PDF and its audit trail, once everyone has signed.

The agent never signs

No tool signs. Every signer signs themselves from their own email link, with an SMS code as well when you ask for one.

Works today

  • Cursor connects to a remote server with url and headers, and the editor and the CLI share the same file.
  • A project file can be committed: it holds the name of the variable, never the key.
  • With the server next to your code, the agent can send a document and build the same call into your product from /openapi.json.

Not available

  • Hosted Cloud Agents do not read your mcp.json: they use the servers configured at cursor.com/agents, and we have not verified a key header there.
  • No Cursor plug-in or extension, no directory listing and no partnership.
  • No test keys. A send from the editor is as real as one from the dashboard.

Why it is safe and reliable

  • Sealed and timestamped

    Every signed PDF carries a PAdES seal and an independent RFC 3161 timestamp, and comes with an audit-trail certificate.

  • Every call on record

    Each tool call appears in your API log for 30 days: the tool, the status, the key that made it and a request id.

  • One key per agent

    A key does over MCP exactly what it does over REST. Revoke it and that agent is cut off at once.

  • A retry sends nothing twice

    An identical send within 24 hours returns the first result with replayed: true. Your signer gets one email, not two.

  • Results are data

    Document names, signer names and audit events come back as JSON fields, and the server tells the agent to treat them as data, never as instructions.

  • Swiss-made

    Built by NC Labs GmbH in Zürich. You choose the storage region for your document files, on every plan.

Plan and limits

  • The REST API and webhooks come with every plan: Free within its 10 documents a month, Branded 100 a month through the API, Enterprise without a cap.
  • There is no sandbox and there are no test keys. For PDF sends, test with send_emails: false and addresses you control, then withdraw the request.
  • Each API key can make 60 requests per minute.

Questions

Cursor shows the server but no tools. What is wrong?

Most likely the variable is not set where Cursor runs: an editor started from the dock does not see an export you typed in a terminal. Set it in your shell profile or the system environment and restart Cursor. A wrong key answers 401 invalid_key.

Can I use it from the Cursor CLI?

Yes. The CLI uses the same configuration as the editor: agent mcp list shows the server, and agent mcp list-tools wesign its ten tools.

Our company restricts MCP servers. What do we allow?

One URL: https://www.wesign.now/api/mcp. It answers POST with JSON, opens no stream and keeps no session.

Can Cursor sign the contract it sent me?

No. You sign it yourself from the email, exactly as your signers will. That is the point of the trial run: you see what they see.

Other agents

In the docs

Send your first document today.

Create a free account. Your signers need no account.

Cursor is a trademark of its owner. wesign.now is not affiliated with or endorsed by Cursor.