# Build e-signature and clickwrap flows through MCP

> Connect Claude, ChatGPT, Cursor or Codex to the Esign Comply MCP server. Your agent registers documents, runs conformance checks and verifies records.

Source: https://esigncomply.com/mcp

MCP server

The Esign Comply MCP server lets your AI agent set up and run your e-signature and clickwrap integration: read the docs, register documents, create profiles, run conformance checks, read and verify records, register your domain and go live. You do one thing first: create the account and accept the terms.

[Get an API key](https://esigncomply.com/signup) · [Read the docs](https://esigncomply.com/docs/mcp)

Last updated November 23, 2026

Server URL (Streamable HTTP)

```
https://esigncomply.com/api/mcp
```

Claude Code

```
claude mcp add --transport http esigncomply \
  https://esigncomply.com/api/mcp
```

Every other client is below: Claude, ChatGPT, Cursor, Codex, VS Code and Windsurf.

## How do you connect your AI tool to the Esign Comply MCP server?

Add one URL, `https://esigncomply.com/api/mcp`, to your AI tool and sign in. The server is hosted and speaks Streamable HTTP, so there is nothing to install. Pick your tool for the exact steps.

**Claude**

Add the server as a custom connector. Claude signs you in with OAuth.

### Sign in with OAuth

1. Open the Connectors directory at `https://claude.ai/customize/connectors`. In the desktop app, select **Customize**, then **Connectors**.
2. Select **Add**, then **Add custom connector**.
3. Enter a name and `https://esigncomply.com/api/mcp` as the remote MCP server URL, then click **Continue**.
4. Keep the authentication settings Claude marks **Detected**, then click **Add**.
5. If the connector shows **Connect**, click it. Sign in to Esign Comply and approve the connection.

[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Esign%20Comply&connectorUrl=https%3A%2F%2Fesigncomply.com%2Fapi%2Fmcp) · Opens the Add custom connector dialog with the name and the URL filled in. You review them and confirm.

In a Claude organization, an Owner adds the connector once under **Organization settings > Connectors**: **Add**, then **Custom**, then **Web** if Claude asks for the type. Each member then clicks **Connect** on their own connectors.

Steps checked against the vendor's own documentation on November 23, 2026: [Claude docs: Add a connector that isn't in the directory](https://claude.com/docs/connectors/custom/add-unlisted), [Claude docs: Directory connectors vs custom connectors](https://claude.com/docs/connectors/building/directory-vs-custom).

**Claude Code**

One command adds the server. Sign in with `/mcp`, or send an agent token in a header.

### Sign in with OAuth

1. Run the command in your project.
2. In Claude Code, run `/mcp` and follow the steps in your browser. From a shell, `claude mcp login esigncomply` does the same.
3. Sign in to Esign Comply in the browser window that opens and approve the connection.

Terminal

```
claude mcp add --transport http esigncomply https://esigncomply.com/api/mcp
```

### With an agent token

1. Create an agent token under Agent access in the Esign Comply dashboard. Export it as `ESIGNCOMPLY_AGENT_TOKEN` in your shell.
2. Add the server to `.mcp.json` at the project root. Claude Code expands `${VAR}` in `headers`, so the token stays out of the file.
3. With an `Authorization` header configured, Claude Code uses it as the credential and does not fall back to OAuth.

`.mcp.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "type": "http",
      "url": "https://esigncomply.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${ESIGNCOMPLY_AGENT_TOKEN}"
      }
    }
  }
}
```

Steps checked against the vendor's own documentation on November 23, 2026: [Claude Code docs: Connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp).

**ChatGPT**

Add the server as a custom MCP server in ChatGPT on the web. ChatGPT signs you in with OAuth.

### Sign in with OAuth

1. In ChatGPT on the web, go to **Plugins**.
2. Select the plus button, then **Add custom MCP server**.
3. Enter a name. Under **Connection**, enter `https://esigncomply.com/api/mcp` as the server URL.
4. For authentication, choose **OAuth**.
5. Review the risk warning, tick **I understand and want to continue**, then select **Create as a plugin**.
6. Sign in to Esign Comply and approve the connection.

ChatGPT connects with OAuth. It does not send an agent token or an API key.

Steps checked against the vendor's own documentation on November 23, 2026: [OpenAI Help Center: Connecting custom MCP servers in ChatGPT](https://help.openai.com/en/articles/12584461-connecting-custom-mcp-servers-in-chatgpt), [OpenAI developer docs: Add custom MCP server](https://developers.openai.com/api/docs/guides/custom-mcp-server).

**Cursor**

Add the server to `mcp.json`. Cursor signs you in with OAuth, or sends an agent token in a header.

### Sign in with OAuth

1. Create `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` in your home directory for every project.
2. Cursor supports OAuth for servers that require it. Sign in to Esign Comply when Cursor asks and approve the connection.

`.cursor/mcp.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "url": "https://esigncomply.com/api/mcp"
    }
  }
}
```

### With an agent token

1. Create an agent token under Agent access in the Esign Comply dashboard. Export it as `ESIGNCOMPLY_AGENT_TOKEN`.
2. Add a header. Cursor resolves `${env:NAME}` in `headers`, so the token stays out of the file.

`.cursor/mcp.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "url": "https://esigncomply.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:ESIGNCOMPLY_AGENT_TOKEN}"
      }
    }
  }
}
```

Add to Cursor · Opens Cursor with the server's name and URL filled in.

Steps checked against the vendor's own documentation on November 23, 2026: [Cursor docs: Model Context Protocol](https://cursor.com/docs/context/mcp), [Cursor docs: MCP install links](https://cursor.com/docs/context/mcp/install-links).

**Codex**

Add the server from the Codex CLI, or in `config.toml`. The Codex CLI, the IDE extension and the ChatGPT desktop app share that file.

### Sign in with OAuth

1. Add the server, then sign in.
2. Sign in to Esign Comply in the browser window that opens and approve the connection.

Terminal

```
codex mcp add esigncomply --url https://esigncomply.com/api/mcp
codex mcp login esigncomply
```

### With an agent token

1. Create an agent token under Agent access in the Esign Comply dashboard. Export it as `ESIGNCOMPLY_AGENT_TOKEN`.
2. Add the server to `~/.codex/config.toml`. `bearer_token_env_var` names the variable Codex sends as the bearer token.

`~/.codex/config.toml`

```toml
[mcp_servers.esigncomply]
url = "https://esigncomply.com/api/mcp"
bearer_token_env_var = "ESIGNCOMPLY_AGENT_TOKEN"
```

Steps checked against the vendor's own documentation on November 23, 2026: [Codex docs: Model Context Protocol](https://learn.chatgpt.com/docs/extend/mcp), [Codex docs: Developer commands](https://learn.chatgpt.com/docs/developer-commands).

**VS Code**

Add the server to `.mcp.json` at the workspace root. VS Code prompts you to sign in, or sends an agent token in a header.

### Sign in with OAuth

1. Create `.mcp.json` at the workspace root. For every workspace, use `~/.copilot/mcp-config.json` instead.
2. Complete the sign-in when VS Code prompts for it: sign in to Esign Comply and approve the connection.

`.mcp.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "type": "http",
      "url": "https://esigncomply.com/api/mcp",
      "tools": [
        "*"
      ]
    }
  }
}
```

### With an agent token

1. Create an agent token under Agent access in the Esign Comply dashboard. Export it as `ESIGNCOMPLY_AGENT_TOKEN`.
2. Add a header. In this format `${NAME}` references an environment variable, so the token stays out of the file.

`.mcp.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "type": "http",
      "url": "https://esigncomply.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${ESIGNCOMPLY_AGENT_TOKEN}"
      },
      "tools": [
        "*"
      ]
    }
  }
}
```

Steps checked against the vendor's own documentation on November 23, 2026: [VS Code docs: MCP configuration reference](https://code.visualstudio.com/docs/copilot/reference/mcp-configuration).

**Windsurf**

Windsurf became Devin Desktop on June 2, 2026. These are the commands and file names its documentation gives today.

### Sign in with OAuth

1. Add the server, then sign in.
2. Sign in to Esign Comply in the browser window that opens and approve the connection.

Terminal

```
devin mcp add esigncomply https://esigncomply.com/api/mcp
devin mcp login esigncomply
```

`.devin/mcp_config.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "url": "https://esigncomply.com/api/mcp",
      "transport": "http"
    }
  }
}
```

### With an agent token

1. Create an agent token under Agent access in the Esign Comply dashboard.
2. Add the server with a header to `.devin/mcp_config.local.json`. That file is the local scope and is kept out of git, so the token is not committed.

`.devin/mcp_config.local.json`

```json
{
  "mcpServers": {
    "esigncomply": {
      "url": "https://esigncomply.com/api/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer esc_agent_..."
      }
    }
  }
}
```

Steps checked against the vendor's own documentation on November 23, 2026: [Devin Desktop docs: Devin Local customizations](https://docs.devin.ai/desktop/cascade/mcp), [Devin CLI docs: MCP configuration](https://docs.devin.ai/cli/extensibility/mcp/configuration), [Devin Desktop FAQ](https://docs.devin.ai/desktop/devin-desktop-faq).

Another tool? Devin, Lovable, v0, Bolt, Replit, Grok and Grok Bot have their steps on [their own pages](https://esigncomply.com/build#tools). Any client that speaks MCP over Streamable HTTP connects the same way: the server URL, then OAuth.

## What can you ask your agent to do with the Esign Comply MCP server?

Copy a prompt and paste it into your AI tool once the server is connected. Under each prompt are the tools that carry it out, so you can see what the agent will call.

1. Tell me where my Esign Comply account stands and what to do next.

   Uses get_account

2. Add the Esign Comply rules block to this project's instruction file.

   Uses get_project_rules

3. Add a sign-up clickwrap for my terms and privacy notice and record each acceptance.

   Uses get_project_rules, generate_integration_prompt, create_document, publish_document_version, read_doc

4. Generate the integration prompt for Next.js with the US federal and California packs.

   Uses generate_integration_prompt

5. Build an NDA signing screen with a typed-name signature.

   Uses generate_integration_prompt, create_profile, create_signing_session, read_doc

6. Find what the docs say about confirming a record on my server.

   Uses search_docs, read_doc

7. Run the conformance check on my test signatures and fix what fails.

   Uses run_conformance_check, get_conformance_run

8. Publish a new version of my terms as a material change and tell me whether user_123 has to accept again.

   Uses list_documents, get_document, publish_document_version, get_signer_status

9. Show me the record for user_123 and verify its seal.

   Uses list_records, get_record, verify_record

10. Check my usage against my plan limit.

    Uses get_usage

11. Register my domain and tell me which DNS record to add.

    Uses register_domain, verify_domain

12. Take my account live on the Free plan and tell me what you need from me.

    Uses get_account, go_live

## Which tools does the Esign Comply MCP server have?

25 tools in 9 groups. A connection you approve by signing in gets 24 of them: the one that returns an API key exists on agent-token connections only. This list is printed from the server's own registry, so it is always what the server has.

2 tools

### Account and next step

Where the account stands, what to do next, the plan limit and what is left of it.

- `get_account` · reads · read permission

  Read where the account stands and the one next step.

- `get_usage` · reads · read permission

  Read live signatures used against the plan's limit, and the test allowance.

4 tools

### Documentation and rules

Search and read the documentation, fetch the rules block for your project's instruction file, and generate the integration prompt.

- `search_docs` · reads · read permission

  Search the Esign Comply documentation and the agent guides.

- `read_doc` · reads · read permission

  Read one documentation page, or one section of it, as Markdown.

- `get_project_rules` · reads · read permission

  Fetch the rules block that goes into your project's instruction file.

- `generate_integration_prompt` · writes · build permission

  Generate one integration prompt for a use case, regions, signer type and stack.

4 tools

### Documents and versions

Register a document and publish an immutable version of it. Every record pins the exact version by hash.

- `list_documents` · reads · read permission

  List the documents registered in the account.

- `get_document` · reads · read permission

  Read one document and every version published for it.

- `create_document` · writes · build permission

  Register a document, such as your terms or an NDA.

- `publish_document_version` · changes, confirm first · build permission

  Publish an immutable version of a document from Markdown, HTML or plain text.

2 tools

### Profiles

The settings a signing flow runs under: jurisdictions, signer type, signing method and assurance level.

- `list_profiles` · reads · read permission

  List the profiles signing flows run under.

- `create_profile` · writes · build permission

  Create a profile: jurisdictions, signer type, method and assurance level.

1 tool

### Signing sessions

Create a test session to see exactly which steps and strings your signing screen must show.

- `create_signing_session` · writes · build permission

  Create a test session and read what the signing screen must show.

4 tools

### Records and verification

Find a record, read its status and receipt, verify its seal, and see which documents a signer still has to accept.

- `list_records` · reads · read permission

  Find records by signer, document, status or date.

- `get_record` · reads · read permission

  Read one record: status, documents, hash, receipt and conformance results.

- `verify_record` · reads · read permission

  Check a record against its seal: receipt signature, hash, ledger entry and timestamp.

- `get_signer_status` · reads · read permission

  See which documents one signer has accepted and which are outstanding.

4 tools

### Conformance checks

Run the check over your test signatures, read each finding and its fix, and choose what a failed rule does in live mode.

- `run_conformance_check` · writes · build permission

  Run the conformance check over recent test signatures and get each finding with its fix.

- `get_conformance_run` · reads · read permission

  Read a stored conformance run and its findings.

- `get_conformance_setting` · reads · read permission

  Read what happens when a live signature fails a rule: notify or block.

- `set_conformance_setting` · changes, confirm first · account permission

  Choose notify or block for live signatures that fail a rule.

3 tools

### Domain and going live

Register the domain, get the DNS record that verifies it, and take the account live on the Free plan.

- `register_domain` · changes, confirm first · account permission

  Register the domain your signing pages run on and get its DNS record.

- `verify_domain` · writes · account permission

  Check now whether the domain's verification record is published.

- `go_live` · changes, confirm first · account permission

  Save the organization's details and take the account live on the Free plan.

1 tool

### API keys

Create an API key for your server. Agent-token connections only: an OAuth connection never carries a secret.

- `create_api_key` · writes · account permission · agent token only

  Create a test or live API key for your server. Agent-token connections only.

Every tool states whether it reads or changes, and your AI tool uses that to decide when to ask you first. Each connection may make 120 calls a minute, and a batch counts as one call for each message in it. The server also offers the two setup prompts as MCP prompts and every documentation page as an MCP resource.

## What will an agent never do through the Esign Comply MCP server?

Some steps are yours, and the server has no tool for them. These are the rules for agents from [llms.txt](https://esigncomply.com/llms.txt), as the server holds to them.

### It never accepts terms for you

You create the account and tick the acceptance box yourself. No tool accepts an agreement, and going live stops with a message for you when one is missing.

### It never signs for a signer

No tool ticks an acceptance box, types a name or completes a signing act. The rules it follows tell it never to pre-check a control or submit for the user in the code it writes.

### It keeps keys on the server

A connection you approve by signing in never receives an API key: you create keys in the dashboard. The rules block tells the agent to read the key from the server environment and never put it in client code, a commit or a log.

### It confirms every record on the server

The rules block and the integration prompt have your server read each record before your app creates the account, takes the payment or shows Signed.

### It stays out of billing, your team and sign-in security

There is no tool for plans, checkout, team members, roles, second factors or agent tokens. Those pages stay yours, in the dashboard.

## How does sign-in to the Esign Comply MCP server work?

Your AI tool opens a sign-in page on esigncomply.com. You sign in, see what the tool is asking for and approve. The connection then acts as you, with your role, in one organization.

It lasts 90 days at most. You see every connection under Agent access in the dashboard and revoke it there in one click: its next call is refused. Every change it makes is in your audit log.

The server asks your tool for the least first: reading. A tool that goes on to build, or to change the account, asks you for that permission, and you see exactly what it asks for. If you have a second factor, you present it before you approve. You get an email each time a connection is created.

Editors and command-line tools can skip the sign-in page and send an agent token instead. You create the token under Agent access, it is shown once, and it carries all three permissions.

[MCP server docs](https://esigncomply.com/docs/mcp) · [Guide for AI agents](https://esigncomply.com/agents)

The three permissions on the approval screen

- **Read.** Account state, documents, profiles, records, check results, usage and the documentation.
- **Build.** Documents, versions, profiles, test signing sessions, the integration prompt and conformance checks.
- **Account.** The domain, the organization's details, going live and the conformance setting.

Protocol revisions served on the one URL: 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26.

## Which AI tools have their own Esign Comply setup page?

14 of them. Each page has the prompt to paste, where the rules block and the secret key go in that tool, and how that tool connects to the MCP server.

- [Cursor](https://esigncomply.com/build/cursor)
- [Claude Code](https://esigncomply.com/build/claude-code)
- [Codex](https://esigncomply.com/build/codex)
- [Windsurf](https://esigncomply.com/build/windsurf)
- [GitHub Copilot](https://esigncomply.com/build/github-copilot)
- [Devin](https://esigncomply.com/build/devin)
- [Lovable](https://esigncomply.com/build/lovable)
- [v0](https://esigncomply.com/build/v0)
- [Bolt](https://esigncomply.com/build/bolt)
- [Replit](https://esigncomply.com/build/replit)
- [ChatGPT](https://esigncomply.com/build/chatgpt)
- [Grok](https://esigncomply.com/build/grok)
- [Grok Bot](https://esigncomply.com/build/grokbot)
- [Muse](https://esigncomply.com/build/muse)

[The guide for AI agents](https://esigncomply.com/agents) · [The prompt generator](https://esigncomply.com/product/prompt-generator) · [Build your own signing flow](https://esigncomply.com/build) · [The quickstart](https://esigncomply.com/docs/quickstart)

## Questions about the Esign Comply MCP server

### Is the Esign Comply MCP server hosted or local?

Hosted. It runs at https://esigncomply.com/api/mcp over Streamable HTTP, so there is nothing to install or keep running. Your AI tool connects to that one URL.

### How does authentication work on the MCP server?

With OAuth 2.1 or an agent token. Claude, ChatGPT and most editors open a sign-in page where you approve the connection, and editors and command-line tools can send an agent token instead. Either way the connection acts as you, with your role, for at most 90 days, and you can revoke it under Agent access at any moment.

[Read the MCP server docs](https://esigncomply.com/docs/mcp)

### What can an agent not do through the MCP server?

It cannot accept legal terms, change sign-in security, manage team members, change the plan or create agent tokens. There is no tool for any of them, so those steps stay with you in the dashboard. It also has no tool that completes a signing act for a signer.

### Can the agent see my API keys?

Not over OAuth. A connection you approve by signing in never receives an API key or any other secret: you create keys in the dashboard. A connection that sends an agent token can create a key and receives it once, because you gave that token to a coding agent to set up your project.

### Does the MCP server cost extra?

No. The MCP server is included in every plan, Free too. Test signatures your agent records while it builds count against the test allowance, never against your live signatures.

[See the plans](https://esigncomply.com/pricing)

### Which MCP clients are supported?

Any client that speaks MCP over Streamable HTTP. This page has the steps for Claude, Claude Code, ChatGPT, Cursor, Codex, VS Code with GitHub Copilot and Windsurf, each checked against that tool's own documentation, and the tool pages cover Devin, Lovable, v0, Bolt, Replit, Grok and Grok Bot.

[Pick your AI tool](https://esigncomply.com/build#tools)

### Do I find the server in a connector directory?

No. You add it by its URL: as a custom connector in Claude and as a custom MCP server in ChatGPT. The steps on this page take about a minute.

### Does it work with older MCP clients?

Yes. The one endpoint serves the 2026-07-28 revision of the protocol and the 2025 revisions with the initialize handshake. It is stateless, so there is no session to keep alive.

## Connect your agent. Leave the record to us.

[Get an API key](https://esigncomply.com/signup) · [Read the docs](https://esigncomply.com/docs/mcp)

Free plan: 10 live signatures a month and a full test mode. No card required.

---

Every page on esigncomply.com has a Markdown version at the same URL plus `.md` (the home page is `https://esigncomply.com/index.md`). https://esigncomply.com/llms.txt lists them.

---

Esign Comply is the e-signature API and clickwrap API for developers who build their own signing flow in their own UI: it supplies the ceremony rules as a generated prompt for AI coding tools, records events in direct browser ceremonies, and seals independent, verifiable evidence.
