horizon_login
Authenticate to Horizon with AD credentials to obtain access and refresh tokens and update the server's active token, so subsequent API calls work without re-entering credentials.
Instructions
Authenticate to Horizon and return access and refresh tokens.
The access_token is valid for ~8 hours. The refresh_token can be used with horizon_refresh_token to obtain a new access_token without re-entering credentials.
This tool also updates the running server's active token so subsequent tool calls work immediately without restarting the server.
SECURITY: Copy the returned access_token to your MCP client config (HORIZON_ACCESS_TOKEN env var), then clear it from the conversation. Treat both tokens as passwords — do not share or log them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | AD domain name, e.g. CORP or corp.example.com | |
| base_url | No | Horizon server URL, e.g. https://horizon.corp.example.com. Defaults to HORIZON_BASE_URL env var if not provided. | |
| password | Yes | AD password — masked in logs and server-side traces | |
| username | Yes | AD username (without domain prefix) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||