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
- Sign in to the JAAK Platform.
- Open the Electronic Signature section and go to Settings.
- 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:
| Field | Rule |
|---|---|
| Name | Free text. Maximum 100 characters. Use a name that identifies the agent, for example Demo sales agent. |
| Scopes | Select 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 panel | Scope | What it allows |
|---|---|---|
| Read templates | signa:templates:read | View templates. |
| Create and edit templates | signa:templates:write | Create templates from Markdown. |
| Send documents | signa:send | Create signature requests and send them. |
| Check documents | signa:read | View the status, list and download signed documents. |
| Validate CURP and RFC | kyc:validate | Validate 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:
| Toolset | Route |
|---|---|
| Send documents | https://<host-mcp>/mcp/signa-send |
| Check documents | https://<host-mcp>/mcp/signa-tracking |
| Templates | https://<host-mcp>/mcp/signa-templates |
| Validate CURP and RFC | https://<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:
| Column | Content |
|---|---|
| Name | The name given to the key. |
| Scopes | The scopes of the key. |
| Created | Creation date and time. |
| Expires | Expiration date and time. |
| Status | Current status of the key. |
| Actions | Revoke, 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
- In the key's row, click Revoke.
- 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.
| Action | Method and path |
|---|---|
| Create a key | POST /api/v1/mcp/api-keys |
| List keys | GET /api/v1/mcp/api-keys |
| Revoke a key | DELETE /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_daysmust be from 1 to 365.scopesmust contain only scopes from the table above.
Errors
| Response | Meaning | What to do |
|---|---|---|
401 on a call to the MCP server | The 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 verified | JAAK could not verify the key at that moment. | Retry in a few minutes. |
For more errors, see Connect agents with MCP.