{"_id":"@bossforce.ai/mcp-docusign","name":"@bossforce.ai/mcp-docusign","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@bossforce.ai/mcp-docusign","version":"0.1.0","type":"module","repository":{"type":"git","url":"git+https://github.com/bossforce-ai/bossforce-tools.git","directory":"mcps/documents-esign/docusign"},"publishConfig":{"access":"public"},"bin":{"bossforce-mcp-docusign":"dist/bin.js"},"dependencies":{"zod":"^4.4.3","@bossforce.ai/mcp-core":"0.3.0"},"devDependencies":{"@bossforce.ai/mcp-testkit":"0.0.0"},"scripts":{"build":"tsc -p tsconfig.json","test":"node --test \"dist/*.test.js\""},"_id":"@bossforce.ai/mcp-docusign@0.1.0","description":"MCP server for the DocuSign **eSignature REST API**. List and inspect envelopes and send documents for electronic signature. Authenticated with OAuth2 using the Authorization Code grant's refresh-token flow; the server exchanges a refresh token for short-","bugs":{"url":"https://github.com/bossforce-ai/bossforce-tools/issues"},"homepage":"https://github.com/bossforce-ai/bossforce-tools#readme","_integrity":"sha512-WOrRoj7/In0svRpnxCjekDzu1hv/dfavpKtVEqvlfo52h5E4iBvf50RIZ3UGDolURoulFo0L/UvHLeWJf00VKg==","_resolved":"C:\\Users\\user\\AppData\\Local\\Temp\\9182e1556be062f4f98037f5aa87b5e0\\bossforce.ai-mcp-docusign-0.1.0.tgz","_from":"file:bossforce.ai-mcp-docusign-0.1.0.tgz","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-WOrRoj7/In0svRpnxCjekDzu1hv/dfavpKtVEqvlfo52h5E4iBvf50RIZ3UGDolURoulFo0L/UvHLeWJf00VKg==","shasum":"2300f4d87e1775a525f15cb3a26a3ca16ad9fca8","tarball":"https://registry.npmjs.org/@bossforce.ai/mcp-docusign/-/mcp-docusign-0.1.0.tgz","fileCount":26,"unpackedSize":35372,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDI5n+xhaL629YHmOKiusC+eTUMakvj+TVY9F6W77SvSQIgcX0XybExJ4l8n6opZYD/6NjEfWzGWTlEsj4VGedyCuc="}]},"_npmUser":{"name":"bossforce.ai","email":"bossforce.ai@gmail.com"},"directories":{},"maintainers":[{"name":"bossforce.ai","email":"bossforce.ai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-docusign_0.1.0_1781237980108_0.8624675369135208"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-12T04:19:39.956Z","0.1.0":"2026-06-12T04:19:40.245Z","modified":"2026-06-12T04:19:40.424Z"},"maintainers":[{"name":"bossforce.ai","email":"bossforce.ai@gmail.com"}],"description":"MCP server for the DocuSign **eSignature REST API**. List and inspect envelopes and send documents for electronic signature. Authenticated with OAuth2 using the Authorization Code grant's refresh-token flow; the server exchanges a refresh token for short-","homepage":"https://github.com/bossforce-ai/bossforce-tools#readme","repository":{"type":"git","url":"git+https://github.com/bossforce-ai/bossforce-tools.git","directory":"mcps/documents-esign/docusign"},"bugs":{"url":"https://github.com/bossforce-ai/bossforce-tools/issues"},"readme":"# @bossforce.ai/mcp-docusign\n\nMCP server for the DocuSign **eSignature REST API**. List and inspect envelopes\nand send documents for electronic signature. Authenticated with OAuth2 using the\nAuthorization Code grant's refresh-token flow; the server exchanges a refresh\ntoken for short-lived access tokens and discovers the account's base URI\nautomatically.\n\n## Credentials\n\n| Env                      | How to obtain                                                                                                        |\n| ------------------------ | -------------------------------------------------------------------------------------------------------------------- |\n| `DOCUSIGN_CLIENT_ID`     | Integration key of your DocuSign app (provided by the platform as the OAuth `client_id`).                            |\n| `DOCUSIGN_CLIENT_SECRET` | Secret key of the integration (the OAuth `client_secret`).                                                           |\n| `DOCUSIGN_REFRESH_TOKEN` | Obtained automatically when you authorize access. Exchanged for access tokens.                                       |\n| `DOCUSIGN_ACCOUNT_ID`    | Optional account id (GUID). With `DOCUSIGN_BASE_URI`, skips the userinfo discovery call. Not secret.                 |\n| `DOCUSIGN_BASE_URI`      | Optional account base URI, e.g. `https://na4.docusign.net`. With `DOCUSIGN_ACCOUNT_ID`, skips discovery. Not secret. |\n\nThe credentials are read lazily, so the server boots and answers `tools/list`\nwithout them; calls fail with an `auth` error until they are set. On the first\ncall the client POSTs the refresh token to\n`https://account.docusign.com/oauth/token` (`grant_type=refresh_token`)\nauthenticating the app with an HTTP `Basic` header of\n`base64(integration_key:secret)`, caches the returned `access_token`, and\nre-fetches once on a `401`. Unless `DOCUSIGN_ACCOUNT_ID` and `DOCUSIGN_BASE_URI`\nare both supplied, it discovers the account via\n`GET https://account.docusign.com/oauth/userinfo` (the default account's\n`base_uri` and `account_id`). The eSignature API base is\n`{base_uri}/restapi/v2.1/accounts/{accountId}`.\n\n## Production gating\n\nDocuSign integrations start in the **demo** environment\n(`account-d.docusign.com`). To call production (`account.docusign.com`) your\nintegration must pass DocuSign's **go-live review** (API certification) and the\nplatform must be configured with production OAuth client credentials. Sending\nenvelopes consumes real envelope/transaction usage, which may require a paid\nDocuSign plan.\n\n## Tools\n\n| Tool                  | Arguments                                                  | Returns                                      |\n| --------------------- | ---------------------------------------------------------- | -------------------------------------------- |\n| `list_envelopes`      | `from_date`, `status?`, `count?`                           | `envelopes` array with status and timestamps |\n| `get_envelope`        | `envelope_id`                                              | the envelope's core fields                   |\n| `get_envelope_status` | `envelope_id`                                              | the envelope with its `recipients`           |\n| `send_envelope`       | `email_subject`, `email_blurb?`, `documents`, `recipients` | the created envelope id and status           |\n\n`list_envelopes` requires `from_date` (ISO 8601 with an explicit offset).\n`documents` are DocuSign document objects (base64 content, name, fileExtension,\ndocumentId) and `recipients` is a DocuSign recipients object (e.g. a `signers`\narray). Responses are DocuSign's native JSON payloads, returned as\n`structuredContent`.\n\n## Develop\n\n```bash\npnpm --filter @bossforce.ai/mcp-docusign build\npnpm --filter @bossforce.ai/mcp-docusign test\n```\n\nRegenerate the tools/list snapshot after an intentional signature change:\n\n```bash\nUPDATE_SNAPSHOTS=1 pnpm --filter @bossforce.ai/mcp-docusign test\n```\n","readmeFilename":"README.md","_rev":"1-e25657ef550966aa73f98a14d00cbbf6"}