other
Docusign MCP Integration for Vercel AI SDK
Connect Docusign to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Docusign to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Docusign MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-docusign": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=docusign",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=docusign --write=deny Why Use KosmoKrator Here
Expose only Docusign instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Docusign Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Docusign integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__docusign__docusign_list_envelopes | docusign.docusign_list_envelopes | Read | List envelopes in the DocuSign account. Filter by status (sent, delivered, completed, signed, declined, voided), date range, or search text. Returns envelope summaries with IDs, subjects, statuses, and dates. |
integration__docusign__docusign_get_envelope | docusign.docusign_get_envelope | Read | Get detailed information about a DocuSign envelope including status, recipients, documents, and signing history. Use this to check if an envelope has been signed or to review its details. |
integration__docusign__docusign_create_envelope | docusign.docusign_create_envelope | Write | Create a new DocuSign envelope for electronic signature. You can create from a template (pass template_id) or from scratch with inline documents and recipients. Set status to "sent" to send immediately or "created" to save as a draft. |
integration__docusign__docusign_list_templates | docusign.docusign_list_templates | Read | List templates available in the DocuSign account. Templates define reusable envelope structures with pre-configured documents, recipients, and signing tabs. Use a template ID to create envelopes from a template. |
integration__docusign__docusign_get_template | docusign.docusign_get_template | Read | Get details for a DocuSign template including its documents, recipient roles, signing tabs, and email settings. Use this to understand a template before creating an envelope from it. |
integration__docusign__docusign_list_documents | docusign.docusign_list_documents | Read | List documents in a DocuSign envelope. Returns document IDs, names, types (content or summary), and page counts. Use document IDs to download individual documents. |
integration__docusign__docusign_get_document | docusign.docusign_get_document | Read | Download a document from a DocuSign envelope. Returns the document content as base64-encoded data. Use "combined" as the document_id to download all documents as a single combined PDF. |
integration__docusign__docusign_get_current_user | docusign.docusign_get_current_user | Read | Get information about the authenticated DocuSign user, including name, email, and associated accounts. Useful for verifying credentials and discovering account IDs. |