
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.
概覽
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 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Com,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
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
Credentials
Create an API credential in the SignDocs dashboard (app.signdocs.com.br → API) and expose it as environment variables:
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.
Connect an AI client
Claude Desktop (claude_desktop_config.json):
Claude Code:
Tools
⚠️ 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 notessigndocs://policy-profiles— validpolicyProfilevalues and CUSTOM stepssigndocs://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).
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 theclient_credentialsexchange 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.
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.
Development
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版本歷史
1- v0.11.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分