SignDocs Brasil e-signature tools for AI agents β signing sessions, envelopes, verification.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by Mcp Server.
create_signing_sessionβ οΈ binding + quota
get_signing_session_statusread
get_signing_sessionread
list_signing_sessionsread
cancel_signing_sessionβ οΈ irreversible
resend_signing_session_otpwrite
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.
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 toproductiononly when you intend to create real, legally-binding signatures.
Claude Desktop (claude_desktop_config.json):
Claude Code:
| 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.
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.
The server exposes grounding resources the model can read on demand:
signdocs://quickstart β the minimal signing flow + safety notessigndocs://policy-profiles β valid policyProfile values and CUSTOM stepssigndocs://webhook-events β all subscribable event typesThe same tools are also served over Streamable HTTP so a single deployment can serve many AI agents/tenants β each authenticates per session with its own SignDocs credentials (no shared secret baked into the server).
Endpoint: POST /mcp (Streamable HTTP). Auth is required on the MCP
initialize request, via the Authorization header:
Authorization: Bearer <token> β a SignDocs OAuth2 access token (from
/oauth2/token), passed straight through to the API.Authorization: Basic base64(clientId:clientSecret) β the server runs the
client_credentials exchange for you.X-SignDocs-Client-Id + X-SignDocs-Client-Secret β the same client credentials
as two plain headers (no base64), for header-only clients that can't transform values.Pick the environment per session with X-SignDocs-Environment: hml|production
(defaults to the server's configured default).
The server behaves as an OAuth 2.0 Resource Server: it serves
GET /.well-known/oauth-protected-resource (RFC 9728, pointing at the SignDocs
authorization server) and answers an unauthenticated initialize with 401 +
WWW-Authenticate. The SignDocs API remains the authoritative token validator.
GET /healthz is an unauthenticated health probe.
Example client config (Bearer):
Server env vars: PORT, HOST, SIGNDOCS_ENVIRONMENT (default env),
MCP_PUBLIC_URL (for resource metadata behind a proxy), MCP_CORS_ORIGIN,
MCP_DNS_REBINDING_PROTECTION=true + MCP_ALLOWED_HOSTS / MCP_ALLOWED_ORIGINS
(recommended in production).
Sessions are held in process memory, so run a single instance or use sticky routing. For multi-instance/serverless, front it with sticky sessions or swap the session map for a shared store + EventStore (resumability). Deploying onto the existing
external-apiLambda + API Gateway as a NestedStack is the intended production path.
For serverless hosting, @signdocs-brasil/mcp-server/lambda exports
createLambdaHandler β an API Gateway HTTP API v2 handler that runs the MCP
transport statelessly (one server per invocation, no session store), with the
same Bearer/Basic auth. SignDocs hosts this on mcp-hml.signdocs.com.br /
mcp.signdocs.com.br.
external-api (Lambda + API Gateway
NestedStack); optional edge JWT validation + shared-store sessions for
horizontal scale.Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-server-12)<a href="https://allmcps.com/mcp/mcp-server-12"><img src="https://allmcps.com/api/badge/mcp-server-12?style=directory" alt="Mcp Server on AllMCPs" /></a>