Com

br.com.signdocs由 signdocs.com.br 發布官方發布者v0.11.0更新於 Oct 24, 2026

Assinatura eletrônica no Brasil (ICP-Brasil): envie, assine e verifique com sua conta SignDocs.

已驗證Streamable HTTP可網頁執行效率與工作流商業與電商

概覽

AI 產生的概覽

SignDocs Brasil MCP 伺服器讓 AI 助理透過 SignDocs API 建立與管理巴西電子簽章工作階段、信封、文件與 Webhook。

可以做什麼
建立並追蹤單一簽署人的簽章工作階段,包括查詢狀態、取消與重送 OTP,並回傳可分享給簽署人的簽章連結。建立多簽署人信封、將簽署人加入信封,並取得合併蓋章的 PDF。上傳 PDF 至交易、取得下載連結、列出與檢視交易並取消交易。取得並驗證加密證據、驗證信封,以及偵測 PDF 中的簽章。註冊、列出、測試與刪除 Webhook,並讀取關於簽章流程、政策設定與 Webhook 事件的內建參考資源。
適用情境
當你希望助理端到端處理巴西電子簽章流程時使用:準備文件、收集單一或多位簽署人的簽章、查看狀態並驗證證據。建議先在沙箱環境測試,再切換到正式環境。
執行需求
可使用託管的遠端端點,或以 npx 在本機執行 npm 套件(需要 Node.js)。需要 SignDocs 帳戶憑證:在 SignDocs 主控台建立的 SIGNDOCS_CLIENT_ID 與 SIGNDOCS_CLIENT_SECRET,以及選用的 SIGNDOCS_ENVIRONMENT(hml 或 production,預設 hml)。遠端傳輸依工作階段使用 Bearer 權杖、Basic 用戶端憑證,或 X-SignDocs-Client-Id 與 X-SignDocs-Client-Secret 標頭進行驗證。需要連線至 SignDocs API 的網路存取。
安裝前請注意
用戶端密鑰是真實憑證,請勿放入共用設定或日誌。建立工作階段與信封具有法律約束力並消耗配額,取消工作階段或交易無法復原。部分工具帶有破壞性提示,但註解僅為提示,請檢查用戶端的自動核准設定。正式模式會建立真實簽章,請先在 hml 測試,該環境資料約一週後過期。文件內容與簽署人資料會傳送至 SignDocs 服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Com,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/br.com.signdocs%2Fmcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "com": {
      "type": "http",
      "url": "https://mcp.signdocs.com.br/mcp"
    }
  }
}

README

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

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

Credentials

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

VariableRequiredDefaultNotes
SIGNDOCS_CLIENT_IDyes—OAuth2 client id
SIGNDOCS_CLIENT_SECRETyes—OAuth2 client secret
SIGNDOCS_ENVIRONMENTnohmlhml (staging) or production
SIGNDOCS_BASE_URLnoderivedoverride the resolved base URL
SIGNDOCS_SCOPESnofull setspace-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):

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:

bash
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

ToolActionSafety
create_signing_sessionCreate single-signer session, returns signingUrl⚠️ binding + quota
get_signing_session_statusPoll session statusread
get_signing_sessionFull session bootstrapread
list_signing_sessionsList by statusread
cancel_signing_sessionCancel a session⚠️ irreversible
resend_signing_session_otpResend OTPwrite
create_envelopeMulti-signer envelope⚠️ binding + quota
get_envelopeEnvelope detailsread
add_session_to_envelopeAdd a signer, returns signingUrl⚠️ binding + quota
get_envelope_combined_stampCombined stamped PDF URLread
upload_documentAttach a PDF to a transactionwrite
download_documentPresigned download URLsread
list_transactionsSearch/list transactionsread
get_transactionTransaction detailsread
cancel_transactionCancel a transaction⚠️ irreversible
get_evidenceCryptographic evidenceread
verify_evidencePublic evidence verificationread
verify_envelopePublic envelope verificationread
verify_documentDetect signatures in a PDF⚠️ PROD-only + quota
register_webhook / list_webhooks / delete_webhook / test_webhookWebhook managementmixed

⚠️ 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

Remote HTTP transport (multi-tenant)

The 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).

bash
npm run start:http        # or: signdocs-mcp-http   (listens on PORT, default 3000)# or containerized:docker build -t signdocs-mcp . && docker run -p 3000:3000 signdocs-mcp

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):

json
{  "mcpServers": {    "signdocs-remote": {      "type": "http",      "url": "https://your-host.example/mcp",      "headers": {        "Authorization": "Bearer <signdocs_access_token>",        "X-SignDocs-Environment": "hml"      }    }  }}

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-api Lambda + API Gateway as a NestedStack is the intended production path.

AWS Lambda

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.

ts
import { createLambdaHandler } from '@signdocs-brasil/mcp-server/lambda';export const handler = createLambdaHandler({ defaultEnvironment: 'hml' });

Development

bash
npm installnpm 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: local stdio server, full tool catalog, env credentials.
  • v0.2 (this release): remote Streamable-HTTP transport with per-session, per-tenant auth (Bearer passthrough or Basic client-credentials) and OAuth Resource Server discovery. Tool layer is shared between both transports.
  • Next: deploy the HTTP transport onto external-api (Lambda + API Gateway NestedStack); optional edge JWT validation + shared-store sessions for horizontal scale.

來源:README.md,提交 8b4a0bf

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.11.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分