Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Atoti Intelligence SDK
This is part of the Atoti Intelligence SDK offer.Prerequisites
Before the MCP credentials page is available, ensure the following conditions are met:- The Atoti application has a valid AI license
- The
starter-ai-mcp-serverdependency is included in the project - The
atoti.mcp.credentials.enabledproperty is set totrue(see “How to enable the credentials page” below)
How to enable the credentials page
The credentials page is disabled by default. To enable it, add the following to the application configuration:ATOTI_MCP_CREDENTIALS_ENABLED=true.
When this property is absent or set to false, no beans for the credentials page load and the /mcp-credentials/** path is not handled.
Optional configuration
The following property controls the maximum token lifetime a user can request:| Property | Type | Default | Description |
|---|---|---|---|
atoti.mcp.credentials.max-lifetime | Duration | P365D | Upper bound on the requested expiration date. Requests beyond this limit return 400 Bad Request. |
How to generate a token
The MCP credentials page is available at/mcp-credentials once the property is enabled.
If the session is not authenticated, Spring Security redirects to /login/index.html?redirectUrl=/mcp-credentials and returns to the credentials page after a successful login.
To generate a token:
- Navigate to
/mcp-credentialsin a browser while signed in to the Atoti application. - Select an expiration preset: 7 days, 30 days, 60 days, 90 days, 1 year, or Custom date.
- For a custom date, select a date within the configured maximum lifetime.
- Click Generate token.
- Copy the displayed token immediately.
How to use the token with an MCP client
Pass the token as a bearer authorization header in the MCP client configuration. The following example shows how to configure Claude Desktop with a bearer token. Replace9090 with the application port and <jwt> with the generated token:
What the token contains
The token is a standard RS512-signed JWT. It contains the following claims:| Claim | Description |
|---|---|
sub | The authenticated user’s username |
iss | activeviam |
iat | Issued-at timestamp |
nbf | Not-before timestamp |
exp | Expiration timestamp matching the selected date |
jti | Unique token identifier |
authorities | The user’s roles at the time of minting |
Security considerations
- Tokens are not persisted. The server does not store tokens after issuing them. There is no server-side revocation list.
- Expiration is the only revocation mechanism. If a token must be invalidated before its expiration date, the only option is to rotate the RSA key used to sign tokens, which invalidates all existing tokens.
- Losing a token is not recoverable. Generate a new token from the credentials page.
- Token authorities are fixed at mint time. If the user’s roles change after the token is minted, the token still carries the original authorities until it expires.
- The page is opt-in. It is disabled by default to follow the principle of least privilege.
Related reading
- Atoti MCP server setup guide for initial server configuration
- How to connect with Claude for Claude Desktop configuration examples
- How to connect with Postman for testing with Postman