Last active 3 weeks ago
0
0
2
| 1 | #!/usr/bin/env python3 |
| 2 | """Bearer token for the Superset MCP server (https://superset.swiftdrive-tech.ru/mcp). |
| 3 | |
| 4 | Keycloak realm `infra`, public client `superset-mcp`, Device Authorization Grant. |
| 5 | First run opens a browser login (realm 2FA applies); after that the cached |
| 6 | refresh token renews silently until the Keycloak session ends. |
| 7 | |
| 8 | mcp-token.py print the access token |
| 9 | mcp-token.py --header print {"Authorization": "Bearer ..."} (Claude Code headersHelper) |
| 10 | mcp-token.py --logout drop the cached token |