API key
The API key authenticates CLI and MCP access to the panel. Use it with
am-cloud platform commands or the MCP server.
Generate a key
- Go to Settings → API key.
- Click Generate key.
- Copy and save the key immediately — it starts with
amk_and is shown only once. Generate a new key to rotate.
Use the key
Set the AM_API_KEY environment variable on the machine running am-cloud:
export AM_API_KEY=amk_…
Or pass it as a flag:
am-cloud platform --panel https://automaintainer.intrane.fr --api-key amk_… status
For the MCP server, configure it in your client's MCP settings:
{
"mcpServers": {
"automaintainer": {
"command": "am-cloud",
"args": ["mcp"],
"env": {
"AM_PANEL": "https://automaintainer.intrane.fr",
"AM_API_KEY": "amk_…"
}
}
}
}
Security
- Keys start with
amk_(distinct from worker license keys). - The key is masked in all output — never printed in logs.
- Generate a new key to invalidate the old one. There is no way to retrieve a lost key.
Related
- am-cloud CLI —
platformsubcommand reference - MCP server — drive AM as native agent tools
- Security & data