Skip to content

Integrations

Trustline for Cursor

Add Trustline to Cursor's MCP config and its agent can turn a contract you're editing into an envelope, send it (after your approval, if you ask for that), and check on it later, without leaving the editor.

Remote (HTTP). Updated .

Set up Trustline in Cursor

  1. Get an API key

    Create a key in the dashboard under API & Agents, or call the signup endpoint. Every plan includes API access.

    terminal
    curl -X POST https://trustline.app/api/v1/signup \
      -H "content-type: application/json" -d '{"email":"you@example.com"}'
  2. Add the server

    Add Trustline to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project. Cursor connects over HTTP, so there is nothing to install. Keep the key in an environment variable rather than in the file.

    json
    {
      "mcpServers": {
        "trustline": {
          "url": "https://trustline.app/api/mcp",
          "headers": {
            "Authorization": "Bearer ${env:TRUSTLINE_API_KEY}"
          }
        }
      }
    }

Menus move between versions. If a step looks different, see Cursor's own setup guide (checked ).

Why use it from an editor

A lot of contracts start as text: a statement of work in markdown, a consulting agreement drafted with the agent's help, a template in a repository. With Trustline connected, the agent can send that text for signature directly. Trustline builds a PDF from it with signature and date fields for each signer, or uses a PDF you point it at.

A typical session

Ask the agent to "send sow.md to the client for signature, link my invoice, and wait for my approval". It creates the envelope, requests approval, and tells you the envelope id. You approve from the email. Later, ask "has the client signed?" and it checks the status; once complete, it downloads the signed PDF and certificate.

Small by design

The tool list is short and responses are ids and statuses, so the agent spends its context on your work rather than on Trustline. Reading tools and tools that change things are separate and annotated, so Cursor can tell them apart when it asks you to confirm.

The agent quickstart covers the REST API and other MCP clients. For sending directly or with approval, see agent-sent contracts. Claude users can follow Trustline for Claude.

Questions

Can the agent send a contract without asking?
By default the agent's send goes straight to the signers. To check first, ask it to create envelopes with approval required. You'll get an email to approve each one, and API keys can never approve.
Do I need a paid plan?
No. The MCP server and the API are on every plan. Free covers 3 documents a month.
Where are the files?
The agent can download the signed PDF and the audit certificate into your project when the envelope completes.

Send your next document with Trustline

Free for 3 documents a month. An audit certificate and the API, MCP server and CLI on every plan.