MCP toolsets and tools
Beta
This feature is in beta. For now it is available only to some users. We will release it gradually to more accounts once testing ends. If you want to use it, ask your JAAK contact for access.
Description
The JAAK MCP server has toolsets. Each toolset has its own URL. A client connects only to the toolsets it needs.
Each tool needs a scope. The client's token or key must have that scope to use the tool.
In this guide, https://<host-mcp> is the address of the MCP server for your environment.
Toolsets
| URL | Tools | Scopes used |
|---|---|---|
https://<host-mcp>/mcp/signa-send | signa_create_submission, signa_add_signer, signa_send_for_signature, signa_send_template | signa:send |
https://<host-mcp>/mcp/signa-tracking | signa_get_submission_status, signa_list_submissions, signa_download_signed_doc | signa:read |
https://<host-mcp>/mcp/signa-templates | signa_list_templates, signa_get_template, signa_create_template_from_markdown | signa:templates:read, signa:templates:write |
https://<host-mcp>/mcp/kyc | kyc_validate_curp, kyc_validate_rfc | kyc:validate |
https://<host-mcp>/mcp | All the tools of the toolsets above | The scope of each tool |
The path https://<host-mcp>/mcp/v1/messages also exists. It is the previous path and has the same tools as /mcp.
Scopes filter the tools
The server filters the tools by the scopes of the token:
tools/listshows only the tools whose scope the token has.- If the client calls a tool without its scope, the server rejects the call with the error
missing scope <scope>.
For this reason, choose one toolset per agent. The agent then sees only what it needs.
Template tools
These three tools are in the signa-templates toolset.
signa_list_templates
Lists the templates of the company. Scope: signa:templates:read.
| Field | Type | Description |
|---|---|---|
limit | number | Maximum number of items. Default 10. |
q | text | Optional. Searches the template name. |
Each item has id, name, source_type and data_keys. source_type is empty for PDF templates. In a tagged template (markdown or editor), data_keys lists the keys to send in templateValues.
signa_get_template
Returns one full template. Scope: signa:templates:read.
| Field | Type | Required | Description |
|---|---|---|---|
templateId | number | Yes | ID of the template. Get the IDs with signa_list_templates. |
The response has source_type, data_keys (each with key, label, type and required), signature_type, and the submitters, fields and documents with their roles and signature types.
signa_create_template_from_markdown
Creates a template from a Markdown text with tags. Scope: signa:templates:write.
| Field | Type | Required | Description |
|---|---|---|---|
name | text | Yes | Name of the template. |
markdown | text | Yes | Markdown text with the tags {{key}}, {{key|fecha}} and {{firma:ROLE}}. |
signatureType | text | No | Signature type of the template: simple, advanced, biometric, advanced_biometric, notarial or efirma_sat. |
roleSignatureTypes | object | No | Map from ROLE to a signature type. Each role must appear in a {{firma:ROLE}} tag. It can use at_send. See Signature type per signer. |
initials | object | No | Initials rule: {enabled, roles, skip_pages}. |
The tool stores the text. JAAK lists the keys and the roles, and generates a preview PDF. The tool calls POST /api/v1/templates/source. For the tags, see Templates with tags (mail merge).
Example call with fictitious arguments:
{
"name": "Demo service contract",
"markdown": "# Service contract\n\nBetween {{empresa.razon_social}} and {{cliente.nombre}}.\n\n{{firma:EL PRESTADOR}}\n\n{{firma:EL CLIENTE}}",
"roleSignatureTypes": { "EL PRESTADOR": "efirma_sat", "EL CLIENTE": "at_send" }
}
Send a template
signa_send_template
Creates a signature request from a template and sends the invitations. Scope: signa:send. Calls POST /api/v1/submissions.
| Field | Type | Required | Description |
|---|---|---|---|
templateId | number | Yes | ID of the template. |
templateValues | object | No | One value per data key. Example: {"empresa.razon_social": "Empresa Demo SA de CV"}. Dates use the format YYYY-MM-DD. |
submitters | list | Yes | Signers. Each one has role, name, email, phone (optional) and signature_type (optional). |
sendEmail | boolean | No | Sends the invitation email to each signer. Default true. |
- The
roleof each signer must match a{{firma:ROLE}}tag of the template. - If the template asks for a signature type at send time (
at_send), the signer must includesignature_type. - If the value of a key is missing, the server responds with an error that names the key.
For all the send rules, see Send with template values by API.
Submission and tracking tools
| Tool | Scope | Use |
|---|---|---|
signa_create_submission | signa:send | Creates a request without sending it. |
signa_add_signer | signa:send | Adds a signer to a request. |
signa_send_for_signature | signa:send | Sends the request to the signers. |
signa_get_submission_status | signa:read | Gets the status of a request. |
signa_list_submissions | signa:read | Lists the requests. |
signa_download_signed_doc | signa:read | Downloads the signed document. |
KYC tools
| Tool | Scope | Use |
|---|---|---|
kyc_validate_curp | kyc:validate | Validates a CURP. |
kyc_validate_rfc | kyc:validate | Validates an RFC. |
Next steps
- MCP server OAuth flow: Google sign-in and token refresh.
- MCP API keys: how to create a key with the scopes of each toolset.
- Connect agents with MCP: Claude Code connection and errors.