Documentation Index
Fetch the complete documentation index at: https://docs.mage.ai/llms.txt
Use this file to discover all available pages before exploring further.
Interactive login
- Your Mage Pro cluster URL (e.g.
https://app.mage.ai) - Password
~/.mage-agent/config.json and fetches remote skill files from the cluster.
Non-interactive login
Pass all values as flags to skip prompts — useful in CI or scripted environments:Credential file
Credentials are stored at~/.mage-agent/config.json with 600 permissions (owner read/write only):
Re-authenticating
If you seeAUTH_EXPIRED errors, your session token has expired. Run mage-agent login again to get a fresh token.
How authentication is used
All MCP tool calls and sync operations send the OAuth token as a bearer credential to your cluster. You can override the default API key by adding anapi_key field to the config file: