Skip to main content
Glama
signdocsbrasil

SignDocs Brasil MCP Server

Official

SignDocs Brasil — MCP Server

A Model Context Protocol server for the SignDocs Brasil e-signature API. It lets MCP-capable AI clients (Claude Desktop, Claude Code, Cursor, …) create signing sessions, manage multi-signer envelopes, upload/download documents, verify signatures, and manage webhooks — the same action catalog as the official n8n, Zapier, and Make.com integrations.

It is a thin adapter over the official @signdocs-brasil/api SDK, which owns OAuth2 token exchange, caching, retries, and error handling.

Install

npm install -g @signdocs-brasil/mcp-server   # or run on demand with npx

Related MCP server: SignaTrust MCP Server

Credentials

Create an API credential in the SignDocs dashboard (app.signdocs.com.br → API) and expose it as environment variables:

Variable

Required

Default

Notes

SIGNDOCS_CLIENT_ID

yes

OAuth2 client id

SIGNDOCS_CLIENT_SECRET

yes

OAuth2 client secret

SIGNDOCS_ENVIRONMENT

no

hml

hml (staging) or production

SIGNDOCS_BASE_URL

no

derived

override the resolved base URL

SIGNDOCS_SCOPES

no

full set

space-separated scope override

Start in hml. HML data expires after ~7 days and is safe for testing. Switch to production only when you intend to create real, legally-binding signatures.

Connect an AI client

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "signdocs": {
      "command": "npx",
      "args": ["-y", "@signdocs-brasil/mcp-server"],
      "env": {
        "SIGNDOCS_CLIENT_ID": "your_client_id",
        "SIGNDOCS_CLIENT_SECRET": "your_client_secret",
        "SIGNDOCS_ENVIRONMENT": "hml"
      }
    }
  }
}

Claude Code:

claude mcp add signdocs \
  -e SIGNDOCS_CLIENT_ID=your_client_id \
  -e SIGNDOCS_CLIENT_SECRET=your_client_secret \
  -e SIGNDOCS_ENVIRONMENT=hml \
  -- npx -y @signdocs-brasil/mcp-server

Tools

Tool

Action

Safety

create_signing_session

Create single-signer session, returns signingUrl

⚠️ binding + quota

get_signing_session_status

Poll session status

read

get_signing_session

Full session bootstrap

read

list_signing_sessions

List by status

read

cancel_signing_session

Cancel a session

⚠️ irreversible

resend_signing_session_otp

Resend OTP

write

create_envelope

Multi-signer envelope

⚠️ binding + quota

get_envelope

Envelope details

read

add_session_to_envelope

Add a signer, returns signingUrl

⚠️ binding + quota

get_envelope_combined_stamp

Combined stamped PDF URL

read

upload_document

Attach a PDF to a transaction

write

download_document

Presigned download URLs

read

list_transactions

Search/list transactions

read

get_transaction

Transaction details

read

cancel_transaction

Cancel a transaction

⚠️ irreversible

get_evidence

Cryptographic evidence

read

verify_evidence

Public evidence verification

read

verify_envelope

Public envelope verification

read

verify_document

Detect signatures in a PDF

⚠️ PROD-only + quota

register_webhook / list_webhooks / delete_webhook / test_webhook

Webhook management

mixed

⚠️ tools carry destructiveHint annotations and a warning in their description so compliant clients prompt the human before invoking them. Annotations are only hints — review your client's auto-approval settings.

Not yet exposed

Trust sessions (/v1/trust-sessions) and resend-invite are not in @signdocs-brasil/api v1.6.1 yet; they'll be added when the SDK supports them. Digital ICP-Brasil A1 signing runs through the lower-level transaction/advance flow rather than a hosted-session profile.

Resources

The server exposes grounding resources the model can read on demand:

  • signdocs://quickstart — the minimal signing flow + safety notes

  • signdocs://policy-profiles — valid policyProfile values and CUSTOM steps

  • signdocs://webhook-events — all subscribable event types

Development

npm install
npm run build      # tsc → dist/
npm test           # vitest (pure unit tests, no network)
npm run inspect    # build + launch MCP Inspector against the stdio server

Roadmap

  • v0.1 (this release): local stdio server, full tool catalog, env credentials.

  • Phase 2: remote Streamable-HTTP transport with per-tenant OAuth (the tool layer is already transport-agnostic — see src/http/server.ts).

A
license - permissive license
-
quality - not tested
-
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/signdocsbrasil/signdocs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server