MCP API keys

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

An MCP API key gives an AI agent access to the MCP server. An administrator creates it on the MCP API keys page of the Electronic Signature platform. Each key has a name, scopes and a validity period.

Use one key per agent. This way you can revoke one agent without affecting the others.

Who can create keys

Only users with the Owner, Administrator or Manager role can create, list and revoke keys.

Open the page

  1. Sign in to the JAAK Platform.
  2. Open the Electronic Signature section and go to Settings.
  3. Open API keys (MCP).

The exact menu name can vary by panel version. The page path ends in /signa/settings/api-keys.

Create a key

Click New key and fill in the form:

FieldRule
NameFree text. Maximum 100 characters. Use a name that identifies the agent, for example Demo sales agent.
ScopesSelect at least one scope. See the table below.
Validity (days)Whole number from 1 to 365. The default value is 90.

Available scopes:

Label in the panelScopeWhat it allows
Read templatessigna:templates:readView templates.
Create and edit templatessigna:templates:writeCreate templates from Markdown.
Send documentssigna:sendCreate signature requests and send them.
Check documentssigna:readView the status, list and download signed documents.
Validate CURP and RFCkyc:validateValidate CURP and RFC.

After you create the key, the panel shows the value only once. Copy the key and store it in a safe place, for example in an environment variable.

The key is shown once

If you lose the key, it cannot be recovered. Revoke the key and create another one.

Example key (fictitious):

jk_live_xxx

Connect an agent from the page

The page shows four routes, one per toolset:

ToolsetRoute
Send documentshttps://<host-mcp>/mcp/signa-send
Check documentshttps://<host-mcp>/mcp/signa-tracking
Templateshttps://<host-mcp>/mcp/signa-templates
Validate CURP and RFChttps://<host-mcp>/mcp/kyc

Use the route that the agent needs. Each route shows only its own tools. See MCP toolsets and tools.

The agent sends the key in the Authorization header:

Authorization: ApiKey jk_live_xxx

Authorization: Bearer jk_live_xxx is also accepted.

Key list

The Company MCP keys table shows each key with these columns:

ColumnContent
NameThe name given to the key.
ScopesThe scopes of the key.
CreatedCreation date and time.
ExpiresExpiration date and time.
StatusCurrent status of the key.
ActionsRevoke, for active keys.

Google sign-ins also appear in this list. Their name starts with Google: and the application name. See MCP server OAuth flow.

Revoke a key

  1. In the key's row, click Revoke.
  2. Confirm the action.

A revoked key stops working:

  • On the server that receives the revocation, immediately.
  • On the other servers, in less than one minute.

Revoking a key does not affect other keys or other agents.

API to create and revoke keys

The same function is available in the API. Use a session token of a user with the Owner, Administrator or Manager role.

ActionMethod and path
Create a keyPOST /api/v1/mcp/api-keys
List keysGET /api/v1/mcp/api-keys
Revoke a keyDELETE /api/v1/mcp/api-keys/{id}

Create example:

curl -X POST https://<host-api>/api/v1/mcp/api-keys \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Demo sales agent",
    "scopes": ["signa:templates:read", "signa:send", "signa:read"],
    "expires_in_days": 90
  }'
  • expires_in_days must be from 1 to 365.
  • scopes must contain only scopes from the table above.

Errors

ResponseMeaningWhat to do
401 on a call to the MCP serverThe key is missing, invalid, expired or revoked.Check the key or create a new one.
403 with missing scope <scope>The key does not have the scope of the tool.Create a key with that scope.
503 with MCP API key could not be verifiedJAAK could not verify the key at that moment.Retry in a few minutes.

For more errors, see Connect agents with MCP.

Next steps