mcp
v0.6.2MCP server for a Vumasign account: read templates and their pages, check values, and create draft envelopes that a person sends.
An MCP server for a Vumasign account. An agent can read your templates, their pages and the core vocabulary with your organisation’s own keys, check the values it means to fill in, and create draft envelopes, or discard a draft that is not wanted. A person reviews each draft in Vumasign and sends it. It never sends an envelope, never mints a signing URL, never names a field freely, never creates a template and never touches a webhook. There is no tool for any of them. The tools that change a template exist only when VUMASIGN_MCP_ALLOW_TEMPLATE_WRITES=1 is set.
Summary extracted from the README.
@vumasign/mcp
An MCP server for a Vumasign account. An agent can read your templates, their pages and the core vocabulary with your organisation’s own keys, check the values it means to fill in, and create draft envelopes, or discard a draft that is not wanted. A person reviews each draft in Vumasign and sends it.
It never sends an envelope, never mints a signing URL, never names a field freely, never creates a template and never touches a webhook. There is no tool for any of them.
The tools that change a template exist only when VUMASIGN_MCP_ALLOW_TEMPLATE_WRITES=1 is set. They
accept Vumasign’s own naming of a template and nothing of the agent’s.
Tools
| Tool | What it does |
|---|---|
list_templates |
List templates |
get_template |
Get a template |
get_vocabulary |
Get the vocabulary |
get_template_page |
Get one page of a template document |
get_template_document |
Get a whole template document |
get_template_field_map |
Get a template document with its fields numbered on it |
validate_values |
Check values against a template |
get_envelope |
Get an envelope |
create_envelope_draft |
Create a draft envelope |
discard_draft |
Discard a draft envelope |
get_naming_run |
Read a naming run |
get_template_people |
Get the people on a template |
Only with VUMASIGN_MCP_ALLOW_TEMPLATE_WRITES=1, and a live key that also names templates:name:
| Tool | What it does |
|---|---|
request_naming |
Ask Vumasign to name a template |
accept_naming |
Accept a naming run |
accept_person |
Accept Vumasign’s proposal for one person |
Parameters, examples and setup for each client are in the guide.
Pages as images
get_template_page, get_template_document and get_template_field_map return each page as a PNG
image the model can look at, drawn on your own machine from the PDF the API serves, with its size in
pixels and the arithmetic that puts a field’s rect on it. A whole document comes a few pages at a
time, and the answer says which first_page to ask for next. format: "pdf" returns the PDF
instead. The images need the Node version pdf.js requires; on an older Node, or a platform the
canvas library has no build for, for a page whose visible area is not the CropBox its fields are
measured against, for one that carries an image too large to draw safely, or for one that takes
too long to draw, the tools return the PDF and say why.
Use
Create a vsk_test_ key under Settings → API keys with templates:read, documents:read,
envelopes:read and envelopes:write, then add the server to your MCP client:
{
"mcpServers": {
"vumasign": {
"command": "npx",
"args": ["-y", "@vumasign/mcp"],
"env": { "VUMASIGN_API_KEY": "vsk_test_…" }
}
}
}
The server refuses to start on a vsk_live_ key unless VUMASIGN_MCP_ALLOW_LIVE=1 is also set.
The guide, with setup for Claude Code, Claude Desktop and Cursor and the full list of tools, is at docs.vumasign.com/guides/agents-and-mcp.
Develop
The source is maintained in Vumasign’s private repository, so this package names no repository. Questions and issues go through docs.vumasign.com.
The source is in src/ and the tests in test/. Inside the Vumasign repository the package resolves
its dependencies from the repository root, and the root npm test runs test/ too.
npm run typecheck
npm test
npm run build # writes dist/
Releasing is described in docs/deployment/mcp-package.md in the repository.
Licence
MIT. See LICENSE.