AI agents
AI agents · Gemini

E-signatures for Gemini: secure and reliable, in your terminal and your agents

Add wesign.now to Gemini CLI with one command, or to an agent you build with Google’s ADK. Gemini prepares the send, you say yes, your signers sign.

API on every planWorks today via API

Connect in three steps

  1. Step 1

    Get your key

    Create a free account, then a key under Settings → API. Export it in your shell as WESIGN_API_KEY.

  2. Step 2

    Add the server to Gemini CLI

    Run gemini mcp add with --transport http and the key as a header. Use --scope user: the default scope writes the server, key included, into the project folder.

  3. Step 3

    Send your first document

    Gemini CLI shows each tool call and waits for your confirmation. Leave trust off for this server, so no send goes out unseen.

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.

# --scope user keeps the key out of the project folder.
gemini mcp add --transport http --scope user \
  --header "Authorization: Bearer $WESIGN_API_KEY" \
  wesign https://www.wesign.now/api/mcp

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.

The Gemini API, without the CLI

Two routes for an agent that calls Gemini from your own code.

Remote MCP in the Gemini API

The Interactions API takes a remote MCP server as a tool of type mcp_server, with name, url and headers. Google calls our server from its side, over Streamable HTTP. Server names there take underscores, not hyphens.

Function calling over REST

Declare a function such as send_for_signature and make the REST call in your own code, with your key. Gemini decides when to call; the key never leaves your servers.

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

  • Gemini CLI speaks Streamable HTTP to the server through httpUrl and sends your headers on every request.
  • settings.json reads $WESIGN_API_KEY from your environment, so you can share the file without a key in it.
  • An ADK agent loads the tools with McpToolset, and tool_filter limits it to the tools you name.

Not available

  • Not in the Gemini app at gemini.google.com. Its Developer Mode connects MCP servers through OAuth, and our server takes an API key.
  • Not in Gemini Enterprise either: its custom MCP server setting offers OAuth 2.0 or no authentication.
  • No listing with Google and no partnership.
  • No test keys. Every send is real, so start with your own address.

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

Why --scope user?

Without it, gemini mcp add saves the server to .gemini/settings.json in the current folder, with the header as you typed it. In a repository that is one commit away from a leaked key. The user scope keeps it in your home directory.

Does Gemini ask before it sends?

Yes, unless you switched that off. Gemini CLI confirms a tool call from a server you have not trusted, and trust is false by default.

What are the tools called in Gemini CLI?

Each carries the server alias: mcp_wesign_whoami, mcp_wesign_send_for_signature. Keep underscores out of the alias itself: Gemini CLI’s docs warn that they confuse its policy engine.

Can I add it to a Gem?

We found no documented way to give a Gem a server that takes an API key. For your own code, use the ADK or the Gemini API as shown on this page.

Other agents

In the docs

Send your first document today.

Create a free account. Your signers need no account.

Gemini and Google are trademarks of their owners. wesign.now is not affiliated with or endorsed by them.