Connect Docusign to Claude Code

Track envelopes and signers, read templates and audit trails, and prepare, send or void envelopes for signature. Add Toolspoke to Claude Code once and it can use 14 Docusign actions. Your Docusign credential stays in Toolspoke, and you choose which actions Claude Code may call.

Set it up in Claude Code

Three steps, the first one once for every toolkit you will ever add.

  1. Add Toolspoke to Claude Code

    Run it in your project, then /mcp to sign in

    claude mcp add --transport http toolspoke https://toolspoke.com/mcp

    The sign-in opens in your browser, and Toolspoke asks you to approve it.

  2. Install Docusign and connect it

    Add Docusign to a project in your Toolspoke workspace.

    Sign in with Docusign. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.

    Account base URI
    The Account Base URI from Docusign Admin → Settings → Apps and Keys, under My Account Information, for example https://na3.docusign.net. Paste it without /restapi. It differs per account (each account lives on one data centre), so there is no default; get_user_info also returns it as base_uri.
    API account ID
    The API Account ID (a GUID, not the short account number) from Docusign Admin → Settings → Apps and Keys, under My Account Information. Every path in this connector is built from it.
  3. Choose what Claude Code may do

    All 14 actions start on. Switch off any of the 5 actions that change something in Docusign, and Claude Code gets a refusal if it tries.

What you can ask Claude Code for

A few of the Docusign actions that only read, so they are safe to try first.

  • Read the account itself, its name, plan, billing period and envelope allowance
  • Search envelopes whose status changed since a date, newest activity first by default
  • Read one envelope's status, subject, sender, timestamps and expiry
  • List the templates this user can use, with name, description, owner, folder and last-used date

What Claude Code can do in Docusign

9 actions read, 2 write and 3 delete or permanently change something.

Reads

  • Get user info

    The signed-in user's name and email, and every Docusign account they belong to with its account_id and base_uri. Use it to find the two values the other actions need, or to check which account is the default.

  • Get account

    Read the account itself, its name, plan, billing period and envelope allowance.

  • List envelopes

    Search envelopes whose status changed since a date, newest activity first by default. Docusign requires from_date unless envelope_ids is given, and returns at most 1000 per call; follow start_position for more. Returns subjects, senders and status, not document content.

  • Get envelope

    Read one envelope's status, subject, sender, timestamps and expiry. Add include=recipients,documents,tabs to get those in the same call.

  • List recipients

    List an envelope's recipients with each one's routing order and status, sent, delivered, signed, declined, with timestamps and any decline reason. include_tabs adds the values each signer entered, which is form data.

  • List envelope documents

    List the documents in an envelope, document ID, name, page count, order and type, including the certificate of completion (documentId certificate). Returns metadata only; the file bytes are not fetched.

  • List audit events

    The envelope's audit trail: every event, created, sent, viewed, signed, voided, with who, when and from which IP address. The same history as the certificate of completion.

  • List templates

    List the templates this user can use, with name, description, owner, folder and last-used date. The connection test, because it reads real account data under the signature scope.

  • Get template

    Read one template, its documents, recipient roles (the roleName values create_draft_from_template fills) and default email subject and message.

Writes

  • Create draft envelope

    Create a draft envelope from documents you supply. It is always saved as a draft (status created), nobody is emailed until send_envelope. Returns the envelopeId. Place signature fields with tabs on each signer, e.g. anchor tabs that find a string in the document.

  • Create draft from template

    Create a draft envelope from a template, filling its roles with real people. It is always saved as a draft (status created), nobody is emailed until send_envelope. Returns the envelopeId.

Deletes or permanently changes

  • Send envelope

    Send a draft envelope for signature. Classified destructive: Docusign emails the first signers at once, the envelope counts against the account's allowance, and the only way back is to void it, which the signers also see.

  • Send reminder

    Email the envelope again to every recipient who has not yet acted. Classified destructive because it sends mail to people outside the workspace.

  • Void envelope

    Void a sent envelope that is not yet complete, so nobody can sign it. Irreversible: every recipient is emailed the reason, and a voided envelope cannot be reopened, a new one has to be sent.

Docusign in Claude Code: questions

Does Claude Code see my Docusign credential?

No. The credential is stored encrypted in Toolspoke, and the gateway adds it to each call. Claude Code only ever talks to Toolspoke, and the dashboard shows the last four characters of the credential and nothing more.

Can I stop Claude Code from changing things in Docusign?

Yes. Each of the 14 actions can be switched off for a project. Turn off the 5 that change something and Claude Code can only read.

Will 14 actions crowd Claude Code's context?

No. Toolspoke shows Claude Code five bridge tools, plus a guide where a toolkit has one, and Claude Code searches for the Docusign action it needs when it needs it. Adding more toolkits does not add more tools to its list.

Can I add it once for every project?

Yes. Add --scope user to the command and Claude Code keeps Toolspoke in every project on this machine. Without it, the server is added to the project you ran the command in.

What does it cost?

Tool calls are free on every plan, and a Docusign call does not run in a sandbox, so it bills nothing.

Try Docusign in Claude Code

Free to start, and tool calls cost nothing on any plan.